-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Expand file tree
/
Copy pathstyle.css
More file actions
60 lines (52 loc) · 940 Bytes
/
style.css
File metadata and controls
60 lines (52 loc) · 940 Bytes
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
:root {
--color-blue: #00acdc;
}
body {
margin: 0;
font-family: Roboto, Arial, sans-serif;
font-weight: 500;
font-size: 12px;
letter-spacing: 0;
}
.header {
display: flex;
padding: 0 50px;
justify-content: space-between;
align-items: center;
}
.nav__link {
text-transform: uppercase;
color: inherit;
white-space: nowrap;
outline: none;
text-decoration: none;
font-size: 12px;
position: relative;
display: block;
line-height: 60px;
}
.nav__link:hover {
color: var(--color-blue);
}
.nav__list {
padding: 0;
list-style: none;
display: flex;
margin: 0;
}
.nav__item:not(:last-child) {
margin-right: 20px;
}
.nav__link.is-active {
color: var(--color-blue);
}
.is-active::after {
content: "";
background-color: var(--color-blue);
border-radius: 2px;
width: 100%;
height: 4px;
position: absolute;
bottom: 0;
left: 0;
}