forked from gdscjgec/gdscjgec.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.css
124 lines (104 loc) · 1.72 KB
/
header.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.navbar {
display: flex;
position: relative;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
background-color: #d9d9d9;
color: #031e36;
width:100%;
padding-left: 20px;
}
.navbar-links {
height: 100%;
}
.navbar-links ul {
float: right;
display: flex;
font-size: 1.2rem;
margin: 0 30px;
padding: 0;
}
.navbar-links li {
list-style: none;
padding: 0;
}
.navbar-links li a {
font-size: 20px;
display: block;
text-decoration: none;
color:#000000;
padding: 1.5rem;
}
.navbar-links li:hover {
border-bottom: 5px solid #4386f4;
}
.toggle-button {
position: absolute;
top: .75rem;
right: 1rem;
display: none;
flex-direction: column;
justify-content: space-between;
width: 30px;
height: 21px;
}
.toggle-button .bar {
height: 3px;
width: 100%;
background-color: #031e36;
border-radius: 10px;
}
@media (max-width: 470px){
.brand-title img{
padding-left: 0px;
margin-left: 0px;
width:40%;
}
.toggle-button {
margin-right: 1px;
display: flex;
}
.navbar{
width:100%;
}
.navbar-links ul {
width: 80%;
flex-direction: column;
}
}
@media (max-width: 904px){
.navbar {
padding-top: 10px;
padding-bottom: 5px;
flex-direction: column;
align-items: flex-start;
}
.toggle-button {
margin-top: 5px;
display: flex;
}
.navbar-links {
display: none;
width: 100%;
}
.navbar-links ul {
width: 100%;
flex-direction: column;
}
.navbar-links ul li {
text-align: center;
justify-content: space-between;
}
.navbar-links ul li a {
padding: .5rem 1rem;
}
.navbar-links.active {
display: flex;
}
}