-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (108 loc) · 2.1 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
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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
text-decoration: none;
list-style: none;
font-family: "ubuntu";
}
img {
width: 100%;
}
header {
height: 70px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 50px;
background: #0b2239;
}
header .header-left {
display: flex;
align-items: center;
}
header .header-left .logo {
width: 140px;
}
header .header-left nav {
margin-left: 50px;
}
header .header-left nav ul {
display: flex;
}
nav ul li a {
display: block;
color: #cfd9e0;
font-size: 18px;
padding: 5px 10px;
transition: 0.2s;
}
nav ul li a:hover,
nav ul li a.active {
color: #fff;
}
nav .login-signup {
display: none;
}
header .header-right {
display: flex;
align-items: center;
}
header .login-signup {
color: #cfd9e0;
font-weight: bold;
}
header .login-signup a {
display: inline-block;
color: #0b2239;
background: #4ad295;
padding: 5px 12px;
border-radius: 5px;
}
header .header-right .hamburger {
margin-left: 20px;
cursor: pointer;
display: none;
}
header .header-right .hamburger div {
width: 30px;
height: 2px;
margin: 6px 0;
background: #fff;
}
@media only screen and (max-width: 1000px) {
header {
padding: 0 20px;
}
header .header-right .hamburger {
display: block;
}
header .header-left nav {
margin: 0;
position: absolute;
top: -100%;
left: 0;
width: 100%;
height: fit-content;
background-color: #0b2239;
padding: 30px;
transition: 0.3s;
text-align: center;
z-index: -1;
}
header .header-left nav.active {
top: 70px;
}
header .header-left nav ul {
display: block;
}
}
@media only screen and (max-width: 500px) {
nav .login-signup {
display: block;
margin-top: 20px;
}
header .header-right .login-signup {
display: none;
}
}