-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
81 lines (71 loc) · 1.31 KB
/
index.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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: Verdana, sans-serif;
}
body{
position: relative;
}
.nav{
position: sticky;
top: 0;
box-shadow: 0px 0px 5px 5px rgba(0,0,0, 0.1);
display: flex;
justify-content: space-evenly;
align-items: center;
padding-top: 15px;
padding-bottom: 15px;
}
.nav-ul{
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
list-style: none;
}
.nav-ul > li > a{
text-decoration: none;
color: #000;
font-weight: 600;
}
#hamburger-button{
font-size: 20px;
display: none;
}
.hamburger-ul{
position: fixed;
top: 85px;
right: 0;
box-shadow: 0px 0px 5px 5px rgba(0,0,0, 0.1);
background-color: #fff;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 5px;
list-style: none;
width: 200px;
height: 200px;
visibility: hidden;
opacity: 0;
transition: all 0.5s;
}
.hamburger-ul > li > a{
text-decoration: none;
color: #000;
font-weight: 600;
}
@media (max-width: 800px) {
#hamburger-button{
display: block;
}
.nav-ul{
display: none;
}
.nav{
justify-content: space-between;
padding-right: 30px;
}
}