-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
174 lines (127 loc) · 2.34 KB
/
Copy pathstyle.css
File metadata and controls
174 lines (127 loc) · 2.34 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
.main_box {
position: relative;
height: 100vh;
background-image: url("photo.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/* Hide Checkbox */
#check {
display: none;
}
/* Open Menu Button */
.btn_one i {
color: white;
font-size: 30px;
font-weight: 700;
position: absolute;
left: 20px;
top: 15px;
cursor: pointer;
transition: all 0.3s linear;
z-index: 1000;
}
/* Sidebar */
.sidebar_menu {
position: fixed;
left: -300px;
top: 0;
width: 300px;
height: 100vh;
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(10px);
box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
transition: all 0.4s linear;
}
/* Logo */
.sidebar_menu .logo {
position: absolute;
width: 100%;
height: 70px;
line-height: 70px;
box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
}
.sidebar_menu .logo a {
position: absolute;
left: 25px;
color: white;
text-decoration: none;
font-size: 24px;
font-weight: 500;
}
/* Close Button */
.sidebar_menu .btn_two i {
color: grey;
font-size: 25px;
position: absolute;
right: 20px;
top: 20px;
cursor: pointer;
transition: all 0.3s linear;
}
/* Menu */
.sidebar_menu .menu {
position: absolute;
width: 100%;
top: 90px;
}
.sidebar_menu .menu li {
margin-top: 8px;
padding: 16px 25px;
transition: all 0.3s linear;
list-style: none;
}
.sidebar_menu .menu i {
color: white;
font-size: 20px;
padding-right: 12px;
}
.sidebar_menu .menu a {
color: white;
text-decoration: none;
font-size: 20px;
}
/* Hover Effect */
.sidebar_menu .menu li:hover {
border-left: 4px solid white;
box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}
.btn_one i:hover {
font-size: 34px;
}
.btn_two i:hover {
font-size: 30px;
}
/* Social Media */
.sidebar_menu .social_media {
position: absolute;
left: 50%;
bottom: 40px;
transform: translateX(-50%);
}
.sidebar_menu .social_media i {
color: white;
opacity: 0.5;
padding: 0 6px;
font-size: 20px;
transition: all 0.3s linear;
}
.sidebar_menu .social_media i:hover {
opacity: 1;
transform: scale(1.2);
}
/* Open Sidebar */
#check:checked ~ .sidebar_menu {
left: 0;
}
/* Hide Hamburger Icon */
#check:checked ~ .btn_one i {
opacity: 0;
}