-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstyle.css
121 lines (100 loc) · 1.58 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/* RESET */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
a {
text-decoration: none;
color: inherit;
}
ul {
list-style: none;
}
/* BASE STYLES */
body {
background-color: #e8f0f7;
font-family: 'Inter', sans-serif;
min-height: 5000px;
padding-top: 60px;
}
/* NORMAL STYLES */
.header {
background-color: rgb(19, 22, 26);
position: fixed;
width: 100%;
top: 0;
}
.header__content {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 60px;
max-width: 1200px;
padding: 0 30px;
margin: 0 auto;
}
.logo {
}
.logo__img {
height: 20px;
display: block;
}
.nav {
}
.nav__list {
display: flex;
column-gap: 40px;
}
.nav__item {
}
.nav__link {
color: rgba(255, 255, 255, 0.75);
font-size: 15px;
transition: all 0.4s;
position: relative;
}
.nav__link:hover,
.nav__link:focus {
color: rgba(255, 255, 255, 1);
}
.nav__link::after {
content: '';
height: 2px;
width: 100%;
background-color: rgb(0, 183, 255);
position: absolute;
left: 0;
bottom: -8px;
transition: all 0.2s;
opacity: 0;
pointer-events: none;
}
.nav__link:hover::after {
opacity: 1;
}
.btn {
color: #fff;
background-color: #0071e3;
padding: 7px 18px;
border-radius: 1000px;
text-transform: uppercase;
font-size: 12px;
font-weight: 500;
transition: all 0.2s;
}
.btn:hover {
background-color: rgb(28, 128, 228);
}
/* MEDIA QUERIES */
@media (max-width: 650px) {
.header__content {
flex-direction: column;
align-items: center;
padding: 25px 0;
row-gap: 18px;
}
.nav__list {
column-gap: 20px;
}
}