-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (103 loc) · 1.93 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
*{
padding: 0;
margin: 0;
font-family: "Poppins", sans-serif;
}
.main_box{
background-image: url(https://wallpapers.com/images/featured/hd-photography-background-tcae37ar7goef06h.jpg);
background-size: cover;
height: 100vh;
}
.btn_one i{
color: white;
font-size: 30px;
font-weight: 700;
position: absolute;
left: 16px;
line-height: 60px;
transition: all 0.3s linear;
}
.sidebar_menu{
position: fixed;
left: -300px;
height: 100vh;
width: 300px;
background-color: rgb(255, 255, 255, 0.6);
box-shadow: 0 0 6px rgb(0, 0, 0);
transition: all 0.3s linear;
}
.sidebar_menu .logo{
position: absolute;
width: 100%;
line-height: 60px;
box-shadow: 0 2px 4px rgb(0, 0, 0);
height: 60px;
}
.sidebar_menu .logo a{
position: absolute;
left: 50px;
color: black;
font-size: larger;
font-weight: bolder;
text-decoration: none;
}
.btn_two i{
color: black;
font-size: 25px;
font-weight: 700;
position: absolute;
left: 275px;
line-height: 60px;
cursor: pointer;
transition: all 0.3s linear;
}
.menu{
position: absolute;
width: 100%;
top: 80px;
}
.menu li{
margin-top: 6px;
padding: 14px 20px;
}
.menu a,i{
text-decoration: none;
color: black;
font-size: 20pxs;
}
.menu i{
padding-right: 16px;
}
.social-media{
color: black;
position: absolute;
left: 25%;
bottom: 50px;
}
.social-media i{
padding-right: 16px;
opacity: 0.5;
}
#check{
display: none;
}
.menu li:hover{
box-shadow: 0 0 6px rgb(0, 0, 0);
}
.btn_one i:hover{
font-size: 40px;
cursor: pointer;
}
.btn_two i:hover{
font-size: 30px;
}
.social-media i:hover{
opacity: 1;
transform: scale(1.1);
}
#check:checked ~ .sidebar_menu{
left: 0;
}
#check:checked ~ .btn_one i{
display: none;
}