-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (78 loc) · 1.44 KB
/
style.css
File metadata and controls
84 lines (78 loc) · 1.44 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
* {
margin: 0;
padding: 0;
}
.main_box {
background-image: url(photo.jpg);
height: 100vh;
background-size: cover;
}
.btn_one {
font-size: 30px;
font-weight: 700;
line-height: 60px;
color: white;
position: absolute;
left: 16px;
}
.sidebar_menu {
height: 100vh;
left: -300px;
width: 300px;
position: fixed;
background-color: rgb(255, 255, 255, 0.1);
box-shadow: 0 0 6px rgb(255, 255, 255, 0.5);
transition: all 0.3s linear;
}
.sidebar_menu .logo a{
text-decoration: none;
left: 50px;
color: white;
position: absolute;
font-size: 20px;
font-weight: 500;
}
.sidebar_menu .btn_two{
opacity: 0.8;
left: 250px;
font-size: 30px;
font-weight: 700;
line-height: 60px;
color: gray;
position: absolute;
cursor: pointer;
}
.menu{
top: 80px;
width: 100%;
position: absolute;
}
.sidebar_menu .menu li,a{
padding: 14px 20px;
text-decoration: none;
color: white;
}
.main_box .social_media{
bottom: 30px;
opacity: 0.5;
position: absolute;
}
#check{
display: none;
}
.sidebar_menu .menu li:hover{
box-shadow: 0 0 4px rgb(255, 255, 255,0.5);
transition: all 0.3s linear;
}
.btn_one li:hover,
.sidebar_menu .btn_two:hover{
font-size: 40px;
cursor: pointer;
box-shadow: 0 0 4px rgb(255, 255, 255,0.5);
}
#check:checked ~ .sidebar_menu{
left: 0;
}
#check:checked ~ .btn_one{
opacity: 0;
}