-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
65 lines (63 loc) · 1.13 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
/* Import font */
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
/* General styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", sans-serif;
background-color: #090909;
padding: 50px;
}
/* General styles end */
.container {
max-width: 960px;
margin: 0 auto;
padding: 15px;
}
.navbar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
background-color: #1f2327;
padding-block: 15px;
}
.navbar a {
text-decoration: none;
color: #fff;
}
.logo {
margin-right: 50px;
}
.list {
list-style: none;
display: flex;
gap: 25px;
}
#toggler,
.navbar label {
display: none;
}
@media screen and (max-width: 600px) {
.menu {
width: 100%;
max-height: 0;
overflow: hidden;
}
.list {
flex-direction: column;
align-items: center;
padding: 20px;
}
.navbar label {
display: inline-flex;
align-items: center;
cursor: pointer;
}
#toggler:checked ~ .menu {
max-height: 100%;
}
}