-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
82 lines (70 loc) · 1.36 KB
/
styles.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
*{
margin: 0px;
padding: 0px;
}
input[type = "checkbox"], .hamburger{
display: none;
}
nav{
display: flex;
justify-content: space-between;
min-height: 60px;
align-items: center;
background: #212523;
padding-left: 20px;
padding-right: 20px;
}
nav .left-side .nav-links{
display: flex;
}
nav .left-side .nav-links a{
display: block;
padding: 20px;
color: white;
text-decoration: none;
}
nav .right-side h1{
color: white;
padding: 20px;
}
@media (max-width: 700px){
nav .left-side .nav-links{
display: none;
}
nav{
flex-direction: column-reverse;
align-items: flex-start;
padding-left: 0px;
padding-right: 0px;
}
nav .right-side{
display: flex;
align-items: center;
flex-direction: row-reverse;
width: 100%;
justify-content: space-between;
}
nav .right-side .hamburger{
display: block;
padding: 20px;
}
nav input[type = "checkbox"]{
display: block;
transform: scale(2);
position: absolute;
margin-left: 33px;
margin-top: -43px;
opacity: 0;
cursor: pointer;
}
nav input[type = "checkbox"]:checked ~ .nav-links{
display: block;
}
nav .right-side .hamburger span{
display: block;
height: 3px;
width: 25px;
margin: 6.5px;
background: white;
}
}