-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
77 lines (62 loc) · 985 Bytes
/
index.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
html {
height: 100%;
width: 100%;
font-family: sans-serif;
}
body {
margin: 0;
}
nav {
display: none;
}
a.navicon > img {
outline: 3px solid navy;
background-color: whitesmoke;
height: 12.5vw;
width: 12.5vw;
}
a.navicon:hover+nav, nav:hover {
display: block;
}
ul {
list-style: none inside;
margin: 0;
padding: 0;
}
ul.mainmenu > li {
font-size: 2.5em;
text-indent: 1em;
background-color: bisque;
}
ul::after {
clear: both;
content: "";
display: table;
}
div {
text-align: center;
}
#secondJoke, #thirdJoke {
margin-top: 100px;
}
#buttons {
margin-top: 100px;
}
@media only screen and (min-width: 600px) {
a.navicon {
display: none;
}
ul.mainmenu > li {
float: left;
width: 50%;
font-size: 1.5em;
text-align: center;
}
ul.mainmenu {
width: 100%;
}
nav {
width: 100%;
display: block;
}
}