-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresponsiveNavigation.css
More file actions
81 lines (69 loc) · 1.28 KB
/
Copy pathresponsiveNavigation.css
File metadata and controls
81 lines (69 loc) · 1.28 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
html,
body {
margin: 0;
padding: 0;
font-family: helvetica, arial, sans-serif;
line-height: 145%;
font-size: 20px;
box-sizing: border-box;
}
img {
max-width: 100%;
height: auto;
vertical-align: middle;
border: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
padding:0;
line-height: 250%;
}
.clear { clear: both; }
.nav {
border-bottom: 1px solid #eaeaeb;
text-align: right;
height: 5em;
line-height: 5em;
}
.menu { margin: 0 1.5rem 0 0; }
.menu a {
text-decoration: none;
color: grey;
margin: 5px 10px;
line-height: 5em;
}
.standout { color: orangered; }
.nav label {
margin: 0 2rem 0 0;
font-size: 1.5rem;
line-height: 4em;
display: none;
width: 1.25rem;
float: right;
}
#toggle { display: none; }
@media screen and (max-width: 500px) {
.nav label {
display: block;
cursor: pointer;
}
.menu {
text-align: center;
width: 100%;
display: none;
}
.menu a {
display: block;
line-height: 3em;
border-bottom: 1px solid #eaeaeb;
margin: 0;
}
#toggle:checked + .menu {
display: block;
}
}