annotate weather_server/static/style.css @ 33:beedfa8eaa3f

Add grid lines to the graph. - Adds time gridlines on the hour and 15 minutes. - Adds temperature gridlines on 10, 5, and 1 degree intervals. - Increases chart range. - Changes from rounding temperature to floor()ing it.
author Paul Fisher <paul@pfish.zone>
date Sat, 12 Jun 2021 20:22:46 +0000
parents 7def5611895b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
1 html {
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
2 margin: 0;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
3 padding: 0;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
4 height: 100%;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
5 width: 100%;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
6
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
7 font-family: Roboto, sans-serif;
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
8 background: var(--root-background);
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
9 color: var(--root-color);
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
10
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
11 --root-background: #263238;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
12 --root-color: white;
13
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
13
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
14 --temp-background: #0d47a1;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
15 --temp-text: white;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
16 --dewpoint-background: #5472d3;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
17 --dewpoint-text: white;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
18 }
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
19
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
20 body {
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
21 margin: 0;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
22 padding: 0;
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
23 }
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
24
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
25 body.location {
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
26 display: flex;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
27 flex-flow: column nowrap;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
28 width: 100%;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
29 height: 100%;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
30 }
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
31
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
32 h1 {
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
33 /* Reset. */
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
34 margin: 0;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
35 padding: 0;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
36 font: inherit;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
37
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
38 flex: none;
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
39 background: var(--root-background);
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
40 color: var(--root-color);
10
6d59f038a58b improve some styles
Paul Fisher <paul@pfish.zone>
parents: 8
diff changeset
41 padding: 12px 24px;
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
42 font-size: 24px;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
43
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
44 display: flex;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
45 flex-direction: column;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
46 justify-content: center;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
47 }
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
48
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
49 h1 a {
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
50 color: inherit;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
51 }
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
52
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
53 h1 span {
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
54 display: block;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
55 }
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
56
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
57 .location p {
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
58 margin: 0;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
59 padding: 0;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
60 font: inherit;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
61 flex: auto;
19
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
62 line-height: 1;
13
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
63 }
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
64
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
65 .location.plain p {
17
fdb874e0b270 graph: Update style and do HiDPI properly.
Paul Fisher <paul@pfish.zone>
parents: 13
diff changeset
66 box-sizing: border-box;
fdb874e0b270 graph: Update style and do HiDPI properly.
Paul Fisher <paul@pfish.zone>
parents: 13
diff changeset
67 flex: 1;
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
68 position: relative;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
69 display: flex;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
70 flex-direction: column;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
71 align-items: baseline;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
72 padding: 24px;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
73 }
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
74
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
75 .location.plain p.important .key {
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
76 display: block;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
77 opacity: 75%;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
78 font-size: 18px;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
79 }
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
80
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
81 .location.plain p.important .value {
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
82 margin-top: 0;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
83 font-size: 150px;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
84 display: flex;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
85 flex-flow: row nowrap;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
86 }
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
87
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
88 .location.plain p.important .value .unit {
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
89 font-size: 33%;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
90 font-weight: bold;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
91 opacity: 66%;
10
6d59f038a58b improve some styles
Paul Fisher <paul@pfish.zone>
parents: 8
diff changeset
92 padding-top: 0.25em;
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
93 }
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
94
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
95 .location.fancy p.important {
13
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
96 position: relative;
17
fdb874e0b270 graph: Update style and do HiDPI properly.
Paul Fisher <paul@pfish.zone>
parents: 13
diff changeset
97 flex: 1;
19
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
98 height: 200px;
13
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
99 }
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
100
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
101 .location.fancy p.important canvas {
13
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
102 display: block;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
103 position: absolute;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
104 top: 0;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
105 right: 0;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
106 bottom: 0;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
107 left: 0;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
108 width: 100%;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
109 height: 100%;
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
110 }
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
111
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
112 .location.fancy p.important .key {
19
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
113 display: block;
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
114 position: absolute;
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
115 top: 24px;
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
116 left: 24px;
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
117 margin: -4px;
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
118 padding: 4px;
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
119 background-color: inherit;
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
120
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
121 font-size: 18px;
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
122 opacity: 75%;
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
123 }
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
124
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
125 .location.fancy p.important .value {
19
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
126 display: none;
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
127 }
47987502bf4c Add graph, make it public, and bump the version.
Paul Fisher <paul@pfish.zone>
parents: 17
diff changeset
128
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
129 .location #temp {
13
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
130 background: var(--temp-background);
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
131 color: var(--temp-text);
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
132 }
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
133
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
134 .location #dewpoint {
13
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
135 background: var(--dewpoint-background);
4eaa9d69c4e2 Extremely basic version of the graph drawer.
Paul Fisher <paul@pfish.zone>
parents: 10
diff changeset
136 color: var(--dewpoint-text);
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
137 }
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
138
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
139 .location #timestamp {
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
140 flex: none;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
141 background: #263238;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
142 color: white;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
143 height: 48px;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
144 padding: 0 24px;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
145
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
146 display: flex;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
147 flex-direction: column;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
148 justify-content: center;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
149 }
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
150
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
151 .location #timestamp > span {
8
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
152 display: block;
d54155a199d8 Improve template; add stylesheet.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
153 }
26
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
154
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
155 .home a {
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
156 color: inherit;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
157 }
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
158
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
159 .home ul, .home li {
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
160 list-style: none;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
161 margin: 0;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
162 padding: 0;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
163 }
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
164
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
165 .home li:nth-child(odd) {
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
166 background: var(--temp-background);
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
167 color: var(--temp-text);
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
168 }
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
169
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
170 .home li:nth-child(even) {
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
171 background: var(--dewpoint-background);
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
172 color: var(--dewpoint-text);
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
173 }
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
174
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
175 .home li a {
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
176 display: block;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
177 justify-content: space-between;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
178 padding: 15px 24px;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
179 font-size: 18px;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
180 display: flex;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
181 flex-flow: row wrap;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
182 }
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
183
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
184 .home li a b {
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
185 display: block;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
186 }
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
187
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
188 .home li a span {
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
189 display: block;
7def5611895b Add support for an index page displaying all locations.
Paul Fisher <paul@pfish.zone>
parents: 19
diff changeset
190 }