-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
69 lines (56 loc) · 835 Bytes
/
styles.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
body {
font-size: 20px;
line-height: 1.3;
max-width: 60ch;
margin-left: auto;
margin-right: auto;
padding-left: 1em;
padding-right: 1em;
}
input[type="button"] {
font-size: 2em;
}
input#start-ticking {
margin-right: 0.5em;
}
h1 {
margin-bottom: 0em;
}
header {
margin-bottom: 2em;
}
.author {
font-style: italic;
}
.slow-warning {
display: none;
}
.book-quotes {
font-size: 0.9em;
}
.book-quotes blockquote {
margin-top: 1.5em;
}
cite {
font-style: normal;
}
@media (max-width: 600px) {
body {
font-size: 18px;
}
input[type="button"] {
font-size: 1.5em;
}
.slow-warning {
/* show the warning when the window is small, which might indicate a slow mobile device */
display: block;
}
}
@media (max-width: 420px) {
body {
font-size: 16px;
}
input[type="button"] {
font-size: 1.2em;
}
}