-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
72 lines (61 loc) · 1.18 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.navbar {
background-color: purple;
height: 80px;
width: 100%;
color: white;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.navbar h1 {
padding-left: 35px;
}
.navbar #navbar-icon i {
display: none;
}
.navbar ul {
list-style: none;
padding-right: 25px;
}
.navbar ul li {
display: inline;
padding-right: 15px;
font-size: 18px;
}
.navbar ul li a {
text-decoration: none;
color: white;
}
.navbar ul li a:hover {
color:lightskyblue;
}
@media (max-width: 940px) {
.navbar #navbar-icon i {
font-size: 30px;
padding: 0 30px;
display: block;
cursor: pointer;
}
.navbar ul {
background-color: darkgray;
height: 100vh;
width: 100%;
padding: 30px;
text-align: center;
position: fixed;
top: 80px;
left: -100%;
transition: ease 0.5s;
}
.navbar ul li {
display: block;
padding: 20px;
font-size: 25px;
}
}