-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (73 loc) · 1.19 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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap');
header{
background: #22c8d4;
width: 100%;
height: 76px;
position: fixed;
top: 0;
left: 0;
z-index: 100;
border-bottom: 5px solid #22c8d4;
}
ul{
list-style: none;
}
li{
display: inline-block;
float: left;
padding: 10px;
}
a{
color: #fff;
text-decoration: none;
font-weight: bold;
}
a:hover{
text-decoration: underline;
color:black;
}
#logo{
margin: 20px;
float: left;
width: 200px;
height: 50px;
background: url(#) no-repeat center;
display: block;
}
nav{
float: right;
padding: 20px;
font-family: 'Open Sans', sans-serif;
}
#menu-icon{
background: url(menu-icon.png);
display: hidden;
width: 32px;
height: 32px;
}
@media only screen and (max-width: 640px) {
header {
position: absolute;
}
#menu-icon {
display: inline-block;
}
nav ul, nav:active ul {
display: none;
position: absolute;
padding: 20px;
background: #c5c5c5;
right: 10px;
top: 65px;
width: 35%;
}
nav:hover ul {
display: block;
}
nav li {
text-align: center;
width: 100%;
padding: 15px 0;
margin: 0;
}
}