-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathself.css
More file actions
136 lines (131 loc) · 2.4 KB
/
Copy pathself.css
File metadata and controls
136 lines (131 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
*{
box-sizing:border-box;
margin:0;
padding:0;
}
:root{
--maincolor:#343a40;
--color1:#007bff;
--color2:rgb 0,255,255;
--color3:#202429;
}
body{
font-family:"Poppins",sans-serif;
background:var(--color2);
}
.sidebar-wrapper{
width:20%;
/*max-width:300px;
min-width:300px;*/
height:90%;
background-color:var(--maincolor);
box-shadow:0 0 8px #000;
position:fixed;
top:5%;
left:2.5%;
transition:0.5s ease;
}
/*.sidebar-wrapper .sidebar{
width:20 0%;
}*/
.sidebar-wrapper .sidebar .avatar-wrapper{
width:100%;
height:200px;
display:flex;
justify-content:center;
align-items:center;
flex-direction:column;
color:#fff;
font-size:1.5rem;
background:url(".images/bg.jpg");
background-repeat:no-repeat;
background-size:cover;
position:relative;
z-index:10;
}
.sidebar-wrapper .sidebar .avatar-wrapper::after{
content:"";
width:100%;
height:100%;
position:absolute;
top:0;
left:0;
right:0;
background:rgba(0,0,0,0.6);
z-index:-11;
}
.sidebar-wrapper .sidebar .avatar-wrapper .avatar{
width:50%;
clip-path:circle();
box-shadow:0 0 8px #000;
}
.sidebar-wrapper .sidebar nav{
width:100%;
}
.sidebar-wrapper .sidebar nav .menu{
list-style:none;
}
.sidebar-wrapper .sidebar nav .menu li{
border-bottom:2px solid #151B54;
}
.sidebar-wrapper .sidebar nav .menu li a{
display:block;
text-decoration:none;
color:#fff;
text-transform:capitalize;
padding:20px;
/*transition:0s ease;*/
}
/*.sidebar-wrapper .sidebar nav .menu li a:hover{
background: -webkit-linear-gradient(45deg,var(--color1),var(-- color2));
}*/
.sidebar-wrapper .sidebar nav .menu li a i{
margin-right:15px;
}
/*.close{
cursor:pointer;
position:absolute;
top:2px;
right:10px;
}
.open{
cursor:pointer;
position:absolute;
top:2px;
left:10px;
color:#fff;
font-size:1.5rem;
}
#check{
display:none;
}
#check:checked~ .sidebar-wrapper{
left:0;
}
*/
.sidebar-wrap{
width:70%;
/*max-width:300px;
min-width:300px;*/
height:90%;
background-color:var(--maincolor);
box-shadow:0 0 8px #000;
position:fixed;
top:5%;
left:25%;
transition:0.5s ease;
}
.part{
width:600px;
margin:auto;
font-size:20px;
color:white;
text-align:justify;
height:0;
overflow:hidden;
font-family:sans-serif;
}
.part:target{
height:auto;
}