-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (93 loc) · 1.57 KB
/
style.css
File metadata and controls
108 lines (93 loc) · 1.57 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
/* user-select: none; */
font-family: 'Popins', sans-serif;
}
nav {
position: absolute;
top: 20%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #1b1b1b;
width: 400px;
line-height: 40px;
padding: 8px 25px;
border-radius: 5px;
}
nav label {
color: white;
font-size: 22px;
font-weight: 500;
display: block;
cursor: pointer;
}
.button span {
float: right;
line-height: 35px;
}
nav ul {
position: absolute;
background: #1b1b1b;
list-style: none;
top: 70px;
left: 0;
width: 100%;
border-radius: 5px;
display: none;
}
[id^=btn]:checked+ul {
display: block;
}
nav .menu::before {
position: absolute;
content: '';
height: 20px;
width: 20px;
background: #1b1b1b;
right: 20px;
top: -10px;
transform: rotate(45deg);
z-index: -1;
}
nav ul li {
line-height: 40px;
padding: 8px 20px;
cursor: pointer;
border-bottom: 1px solid rgba(0, 0, 0, 2);
}
nav ul li label {
font-size: 18px;
}
nav ul li a {
color: white;
text-decoration: none;
font-size: 18px;
display: block;
}
nav ul li a:hover,
nav ul li label:hover {
color: cyan;
}
nav ul ul {
position: static;
}
nav ul ul li {
line-height: 30px;
padding-left: 30px;
border-bottom: none;
}
nav ul ul li a {
color: #e6e6e6;
font-size: 17px;
}
nav ul li span {
font-size: 20px;
float: right;
margin-top: 10px;
padding: 0 10px;
}
input {
display: none;
}