-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
139 lines (129 loc) · 1.93 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
@font-face {
font-family: johnston;
src: url(Johnston100.ttf);
}
@font-face {
font-family: johnston_bold;
src: url(Johnston100_bold.ttf);
}
body {
font-family: johnston;
/* background-color: bisque; */
}
h1,
h2,
label {
color: #000f9f;
margin: 0;
}
#landing {
position: fixed;
width: 100vw;
height: 100vh;
background-color: white;
top: 0;
left: 0;
padding-top: 8vw;
}
#landing h1,
#landing h2 {
width: 70%;
text-align: center;
margin: auto;
}
#roundel {
position: fixed;
width: 30vw;
left: 35vw;
bottom: 40px;
}
#load {
position: fixed;
background-color: #000f9f;
height: 29vw;
left: 35vw;
bottom: 45px;
}
#title {
font-size: 300%;
}
#timeText {
margin-bottom: 10px;
}
svg {
position: absolute;
left: 5vw;
bottom: 8vh;
/* background-color: white; */
border-radius: 5px;
z-index: -1;
}
tooltip {
position: absolute;
border: 2px solid black;
background-color: white;
border-radius: 5px;
padding: 5px;
/* min-width: 70px; */
z-index: 1;
}
.axis {
font: 16px johnston_bold;
color: #323e48;
}
#line_map {
position: absolute;
bottom: 2vh;
left: 8.5vw;
width: 81vw;
height: 5vh;
z-index: -1;
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
/* body {
background-color: blue;
} */
#line_map {
left: 9vw;
width: 80vw;
}
#roundel {
width: 40vw;
left: 30vw;
bottom: 50px;
}
#load {
height: 39vw;
left: 30vw;
bottom: 55px;
}
#landing {
padding-top: 10vw;
}
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
/* body {
background-color: red;
} */
#line_map {
left: 11.5vw;
width: 78vw;
}
#roundel {
width: 55vw;
left: 22.5vw;
}
#load {
height: 54vw;
left: 22.5vw;
}
}
@media screen and (min-width: 800px) {
.info h1,
.info h2 {
display: inline;
padding-right: 10px;
}
}