-
Notifications
You must be signed in to change notification settings - Fork 5
/
sirtoy.css
113 lines (96 loc) · 1.51 KB
/
sirtoy.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
112
body {
font-family: Sans-Serif;
}
div#container {
border-style: solid;
border-width: 1px;
border-color: #eee;
margin: 10px;
}
div#counters {
font-size: 36px;
float: left;
height: 180px;
margin-top: 20px;
margin-bottom: 20px;
}
div#controls {
font-size: 36px;
float: right;
height: 180px;
margin: 20px;
text-align: right;
}
#p_SI, #p_IR {
width: 75px;
padding: 3px;
font-size: 32px;
border: 1px solid #aaa;
}
span#susceptible {
color: #0ff;
font-size: 14px;
}
span#infectious {
color: #ff0;
font-size: 14px;
}
span#recovered {
color: #f0f;
font-size: 14px;
}
span#count_S, span#count_I, span#count_R {
font-size: 48px;
font-weight: bold;
}
div#graph-layout {
height: 500px;
margin: 20px;
background: #fafafa;
border-style: solid;
border-width: 1px;
border-color: #eee;
clear: both;
position: relative;
}
div#epicurves {
width: 320px;
height: 180px;
background: #fff;
margin: 20px;
float: left;
}
circle.node {
stroke: #000;
stroke-width: 1.5px;
fill: #ff0;
}
line.link {
stroke: #333;
stroke-opacity: .75;
stroke-width: 1.5px;
}
div#graph-control {
position: absolute;
top: 0px;
width: 100%;
pointer-events: none;
}
span#start-text {
font-size: 28px;
text-align: left;
float: left;
color: #666;
padding: 10px;
}
button#reset-button {
float: right;
font-size: 28px;
color: #666;
pointer-events: all;
}
div#credits {
text-align: right;
font-size: 14px;
padding: 5px;
}