blob: 9dbf79781ff537911a2c90f62781d8c350ebd535 (
plain) (
blame)
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
|
nav {
font-weight: 300;
padding-top: 2vh;
padding-bottom: 4.5vh;
}
ul.nav-list {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: row;
justify-content: center;
gap: 4vh;
}
a.nav-link {
font-size: 2vh;
}
a.nav-link:hover {
color: #9ECD9D;
transition: ease-in-out 0.1s;
}
a.nav-link:active {
color: #609460;
}
@media (max-width: 768px) {
ul.nav-list {
flex-direction: column;
align-items: center;
gap: 2vh;
}
}
.nav-toggle {
background: transparent;
border: none;
cursor: pointer;
display: none;
}
.nav-toggle .hamburger {
width: 30px;
height: 2px;
background: white;
display: block;
position: relative;
}
.nav-toggle .hamburger::before, .nav-toggle .hamburger::after {
content: '';
background: white;
display: block;
position: absolute;
width: 100%;
height: 100%;
}
.nav-toggle .hamburger::before {
top: -10px;
}
.nav-toggle .hamburger::after {
bottom: -10px;
}
@media (max-width: 768px) {
.nav-toggle {
display: block;
padding: 20px;
}
ul.nav-list {
flex-direction: column;
align-items: center;
gap: 2vh;
display: none;
}
ul.nav-list.show {
display: flex;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.nav-list.show a.nav-link {
animation: fadeIn 0.5s ease-in-out forwards;
}
}
|