generated from CMU-Vis-2021/a3-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (99 loc) · 1.51 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
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
113
114
115
116
117
h2 {
color: black;
}
path {
stroke: white;
stroke-width: 0.5px;
fill: black;
}
.state {
stroke-width: 1;
stroke: #ffffff;
}
.state:hover {
fill: lightblue;
cursor: pointer;
}
.slider {
-webkit-appearance: none;
width: 350px;
height: 15px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
.slider:hover {
opacity: 1;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
background: darkblue;
cursor: pointer;
}
.slider::-moz-range-thumb {
width: 20px;
height: 20px;
background: #04AA6D;
cursor: pointer;
}
body {
font-family: Arial, sans-serif;
padding: 10px;
/* display: flex; */
/* justify-content: left; */
/* align-items: left; */
/* flex-direction: column; */
}
p{
color: #777777;
font-size: 14px;
font-weight: 400;
line-height: 1.5;
}
h4{
font-weight: 600;
}
h5{
font-weight: 400;
}
div.tooltip {
position: absolute;
text-align: left;
width: 120px;
min-height: 30px;
padding: 8px 12px;
font: 12px sans-serif;
background:white;
border: 0px;
border-radius: 5px;
pointer-events: none;
}
#title, #gender{
font-family: Arial, sans-serif;
font-size: 15px;
}
text.label{
font-size: 12px;
width: 200px;
}
.legend {
padding-top: 60px;
padding-left: 10px;
float: left;
}
.axis text {
font: 12px sans-serif;
}
.axis line, .axis path {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.bar{
fill:#5f89ad;
}