-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
102 lines (86 loc) · 1.68 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
:root {
--text-color: #deba91;
--background-color: #263343;
--accent-color: pink;
}
body {
margin: 0;
font-family: 'Source Sans 3';
}
a {
text-decoration: none;
color: var(--text-color);
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: var(--background-color);
padding: 8px 12px;
text-decoration: none;
color: white;
}
.navbar__logo {
font-size: 24px;
color: var(--text-color);
}
.navbar__logo i {
color: #d49466;
}
.navbar__menu {
display: flex;
list-style: none;
padding-left: 0;
}
.navbar__menu li {
padding: 8px 12px;
}
.navbar__menu li:hover {
background-color: #d49466;
border-radius: 12px;
}
.navbar__icons {
list-style: none;
color: white;
display: flex;
padding: 0;
}
.navbar__icons li {
padding: 8px 12px;
}
.navbar__toogleBtn {
display: none;
position: absolute;
right: 32px;
font-size: 24px;
color: #d49466;
}
@media screen and (max-width: 786px) {
.navbar {
flex-direction: column;
align-items: flex-start;
padding: 8px 24px;
}
.navbar__menu {
display: none;
flex-direction: column;
align-items: center;
width: 100%;
}
.navbar__menu li {
width: 100%;
text-align: center;
}
.navbar__icons {
display: none;
justify-content: center;
width: 100%;
}
.navbar__toogleBtn {
display: block;
}
.navbar__menu.active,
.navbar__icons.active {
display: flex;
}
}