-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
76 lines (74 loc) · 1.23 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
.main-title{
padding-bottom: 10px;
margin:0;
max-width: 800px;
text-align:center;
font-size: 40px;
font-weight: 700;
}
.summary{
display: flex;
align-items: center;
flex-direction: row;
padding: 0 50px 0 50px;
}
.number{
margin-left : 20px;
display: inline-block;
vertical-align: top;
text-align: left;
}
.covid-simulator {
max-width: 800px;
}
canvas {
box-sizing: border-box;
width: 100%;
}
.canvas {
border: 1px solid gray;
}
.covid-status {
margin: 0;
padding: 0;
}
.covid-status li {
display: flex;
align-items: center;
margin: 0.5em 0;
}
.covid-status .label {
width: 100px;
}
.number .recovered .count{
color : #1f71ff;
font-weight:800;
}
.number .healthy .count{
color : #b3bccb;
font-weight:800;
}
.number .sick .count{
color : #dd002f;
font-weight:800;
}
.canvas-container {
position: relative;
}
.simulation-btn {
display: none;
position: absolute;
top: 50%;
left: 50%;
padding: 0.5em 1em;
border: 0;
border-radius: 50px;
font-size: 1rem;
color: white;
background: #333;
transform: translate(-50%, -50%);
cursor: pointer;
}
.stop .simulation-btn {
display: inline-block;
}