generated from DS4200-S23-Class/project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
181 lines (152 loc) · 3.18 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/* Styles the body (setting font style) */
body {
font-family: Georgia;
}
/* Changes the color of text to be lightblue */
.blue {
color: #1c39bb;
}
/* Centers all elements with the class "centered" */
.centered {
text-align: center;
}
/* Flex container to make 2 columns */
.container {
display: flex;
flex-direction: row;
}
/* Style Child1 (contains legend and region filter for visualization 1) */
.child1{
width:20%;
}
/* Style Child2 (contains line chart and scatter plot) */
.child2{
width:80%;
text-align: center;
}
/* Style Child3 (contains year filter for linked charts) */
.child3{
width: 20%;
}
/* Style Child4 (contains linked bar chart and scatter plot) */
.child4{
display: flex;
text-align: center;
width: 80%;
}
/* Flex container to make 2 columns */
.lineAndScatter {
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
/* Style the lines chart above the map */
.line{
flex-direction: row;
flex-wrap: wrap;
width:45%;
justify-content: center;
}
/* Style scatter plot above the map */
.scatter{
flex-direction: row;
flex-wrap: wrap;
width:45%;
justify-content: center;
}
/* Flex container to make 2 columns */
.link {
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
/* Style link1 (contains a bar chart)*/
.link1{
flex-direction: row;
flex-wrap: wrap;
width:45%;
justify-content: center;
}
/* Style link2 (contains a scatter chart)*/
.link2{
flex-direction: row;
flex-wrap: wrap;
width:45%;
justify-content: center;
}
/* Adjusts the style of selected circles/areas */
.selected {
fill-opacity: 100%;
opacity: 100%;
stroke: indigo;
stroke-width: 3.5px;
}
/* Sets style of tooltip */
.tooltip {
position: absolute;
background-color: orange;
border: solid;
padding: 5px;
}
/* Style for axis labels */
.axes {
fill: black;
text-anchor: middle;
font-size: 12px;
}
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #87cefa;
}
/* Style the buttons that are used to open the tab content */
.tab button {
background-color: inherit;
float: right;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active {
background-color: #f0f8ff;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
}
/* Rotate western class marker to dodgerblue */
img.western {
filter: hue-rotate(60deg);
}
/* Rotate southeast class marker to red */
img.southeast {
filter: hue-rotate(120deg);
}
/* Rotate conn-river class marker to mediumslateblue */
img.conn-river {
filter: hue-rotate(180deg);
}
/* Rotate northeast class marker to cocoabrown */
img.northeast {
filter: hue-rotate(200deg);
}
/* Rotate central class marker to forestgreen */
img.central {
filter: hue-rotate(300deg);
}
/* Style the video dimensions on the webpage */
video {
width: 1280px;
height: 720px;
}