-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnavbar.css
More file actions
100 lines (83 loc) · 1.37 KB
/
Copy pathnavbar.css
File metadata and controls
100 lines (83 loc) · 1.37 KB
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
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
font-family: Roboto, Helvetica, Arial, sans-serif;
}
.navbar {
font-size: 25px;
background: transparent;
}
.main-nav {
list-style-type: none;
display: none;
margin-top: 12px;
padding-right: 5%;
}
.nav-links,
.hacklogo {
text-decoration: none;
color: rgba(255, 255, 255, 0.7);
}
.main-nav li {
text-align: center;
margin: 15px auto;
}
.hacklogo {
display: inline-block;
font-family: Poppins;
font-size: 35px;
font-weight: 600;
margin-top: 20px;
margin-left: 5%;
}
.navbar-toggle {
position: absolute;
top: 27px;
right: 20px;
cursor: pointer;
color: rgba(255, 255, 255, 0.8);
font-size: 30px;
}
#chkToggle {
display: none;
}
#chkToggle:checked + ul.main-nav {
display: block;
}
@media screen and (min-width: 768px) {
.navbar {
display: flex;
justify-content: space-between;
padding-bottom: 0;
height: 70px;
align-items: center;
}
#chkToggle:checked + ul.main-nav {
display: flex;
}
.main-nav {
display: flex;
margin-right: 30px;
flex-direction: row;
justify-content: flex-end;
}
.main-nav li {
margin: 0;
}
.nav-links {
margin-left: 40px;
}
.hacklogo {
margin-top: 0;
}
.navbar-toggle {
display: none;
}
.hacklogo:hover,
.nav-links:hover {
color: rgba(255, 255, 255, 1);
}
}