-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
111 lines (91 loc) · 1.35 KB
/
main.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
109
110
111
html, body { height: 100%; margin: 0; }
body {
font-family: sans-serif;
}
header {
padding-top: 5vw;
text-align: center;
}
main {
padding: 0 0.5rem;
}
section {
max-width: 40rem;
margin: 1rem auto;
padding: 1rem;
background-color: #ebebeb;
box-shadow: 0 0.1rem 0.2rem #bebebe;
}
form .row {
display: none;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
text-align: left;
}
form .row:first-child {
display: flex;
}
form button {
text-align: center;
}
input {
margin-left: 1rem;
}
input[type="number"] {
border: 1px solid gray;
padding: 1rem;
width: 5rem;
border-radius: 0.5rem;
font-size: 1rem;
}
button {
font-size: 1rem;
padding: 0.5rem 1rem;
}
footer {
font-size: 0.8rem;
color: gray;
margin-top: 2rem;
line-height: 1.2rem;
text-align: center;
}
footer h2 {
font-size: 1em;
font-weight: 700;
margin: 1em 0 0 0;
}
footer span {
white-space: nowrap;
}
footer span::after {
content:'\00a0\00B7';
}
footer span:last-child::after {
content:'';
}
#settings {
text-align: center;
}
#hint {
color: gray;
display: none;
font-size: 0.8em;
margin: 1em 0;
}
#footnote {
display: none;
}
#result {
text-align: center;
font-size: 2rem;
display: none;
}
#infected-now {
font-weight: bold;
}
#chart {
position: relative;
width: 100%;
height: 13rem;
}