-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (99 loc) · 1.75 KB
/
style.css
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
* {
margin: 0px;
padding: 0px;
font-family: "Poppins", sans-serif;
}
.main_box {
background-image: url(photo.jpg);
background-repeat: cover;
background-position: right;
height: 100vh;
}
#check {
display:none;
}
.sidebar_menu {
height: 100vh;
width: 400px;
background-color: rgba(255, 255, 255, 0.1);
position: fixed;
color: white;
box-shadow: 0 0 4px white;
left: -450px;
transition: all 0.5s linear;
}
.btn_one label {
position: absolute;
color: white;
font-size: 30px;
font-weight: 700;
left: 16px;
cursor: pointer;
transition: all 0.2s linear;
}
.btn_two label {
position: absolute;
left: 370px;
top: 14px;
color: grey;
font-size: 25px;
cursor: pointer;
transition: all 0.2s linear;
}
.sidebar_menu div a {
text-decoration: none;
color: white;
}
.menu {
position: absolute;
top: 80px;
width: 100%;
font-size: 20px;
}
.menu ul {
list-style-type: none;
}
.menu li {
margin-top: 6px;
line-height: 50px;
padding: 10px 15px;
}
.menu li i {
padding-right: 3px;
}
.social_media {
position: absolute;
text-align: center;
width: 100%;
bottom: 20px;
font-size: 25px;
}
.social_media i {
margin: 2px;
opacity: 0.4;
}
.sidebar_menu .logo {
position: absolute;
width: 100%;
text-align: center;
font-size: 30px;
font-weight: 600;
box-shadow: 0 0 2px white;
line-height: 80px;
}
.social_media i:hover {
opacity: 1;
transform: scale(1.3);
}
.menu li:hover {
box-shadow: 0 0 2px white;
}
.btn_two label:hover, .btn_one label:hover {
transform: scale(1.3);
}
#check:checked ~ .sidebar_menu {
left: 0px;
}
#check:checked ~ .btn_one {
display: none;
}