-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlexstar.css
More file actions
279 lines (245 loc) · 4.5 KB
/
lexstar.css
File metadata and controls
279 lines (245 loc) · 4.5 KB
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
/*
* This is the Lexstar 7000 CSS file. It does CSS-like things to the running
* joke we have at Lexmark known as the Lexstar weather service.
*/
/**
* No borders, no padding. This will cover the entire screen.
*/
body
{
margin:0px;
border:0px;
padding:0px;
color:white;
font-family:arial;
}
a:link,
a:visited
{
color:white;
}
a:active
{
color:black;
}
/**
* The main map just splashes down behind everything. It needs to be focused
* somewhere near Lexington. JS will take care of exact centering.
*
* Note that Lexington, KY is at 2404px, 690px on the original map image. We
* ultimately want the display to be centered somewhat west of that so we can
* see when storm systems are coming. Of course, the window size will need to
* be accounted for when working out this centering, hence the JS requirement.
*/
#mainmap
{
/*
* We know the exact size of the map image (actually, we sort of depend on
* it staying this size). The jQuery draggable property will be working on
* this to move it around.
*/
width:3400px;
height:1600px;
/* background-image:url("http://radar.weather.gov/Conus/Loop/NatLoop.gif"); */
background-repeat:no-repeat;
position:fixed;
cursor:move;
}
.locationdot
{
height:16px;
width:16px;
position:absolute;
background-image:url("images/locationdot.png");
}
#dotlexington
{
left:2396px;
top:682px;
}
.locationtext
{
background-color:rgba(0,0,255,0.85);
position:absolute;
font-size:8pt;
color:white;
font-weight:bold;
left:20px;
top:0px;
padding:1px;
transition: opacity .5s linear;
-moz-transition: opacity .5s linear;
-webkit-transition: opacity .5s linear;
-o-transition: opacity .5s linear;
}
/**
* The infocontainer box just sort of sits there. JS buttons will reposition it
* if it seems to be in the way of something.
*/
#infocontainer
{
position:fixed;
width:392px;
background-color:rgba(0,0,255,0.85);
left:16px;
top:16px;
right:auto;
bottom:auto;
border:0px;
margin:0px;
padding:4px;
transition: opacity .5s linear;
-moz-transition: opacity .5s linear;
-webkit-transition: opacity .5s linear;
-o-transition: opacity .5s linear;
}
#topbar,
#bottombar
{
clear:both;
padding:4px;
}
#mainarea
{
border-top:2px solid white;
border-bottom:2px solid white;
padding:4px;
}
#mainblock
{
min-height:151px;
}
/*
* The status area shows up if we're loading data (or if there's an error). It
* needs really big ol' text. Big! BIG!
*/
#statusarea
{
font-size:xx-large;
text-align:center;
font-weight:bold;
}
/*
* The conditions should be hidden until we get data in. Likewise, the status
* will be hidden after we get data in.
*/
.datapage
{
display:none;
}
#cityname
{
text-align:left;
font-size:large;
font-weight:bold;
vertical-align:middle;
}
#timeaccessed
{
text-align:right;
font-size:small;
font-style:italic;
vertical-align:middle;
}
#leftside
{
display:inline-block;
text-align:center;
vertical-align:middle;
padding:16px;
max-width:112px;
}
#rightside
{
display:inline-block;
text-align:left;
vertical-align:middle;
padding:16px;
max-width:200px;
}
#forecast
{
display:inline-block;
vertical-align:middle;
padding:8px;
}
.forecastblock
{
width:80px;
display:inline-block;
margin:4px;
text-align:center;
vertical-align:top;
}
.conditionimage
{
display:inline-block;
width:48px;
height:48px;
margin:4px;
background-repeat:no-repeat;
}
.conditiondata
{
font-weight:bold;
}
.forecasttemperature
{
font-size:smaller;
}
.forecaststring
{
text-transform:capitalize;
}
.conditionblock
{
padding-top:4px;
padding-bottom:4px;
}
#conditiontext
{
font-size:larger;
}
#conditionwindgust
{
font-size:smaller;
text-indent:16px;
}
#optionbuttons
{
text-align:right;
border-top: 2px solid white;
}
.optionbutton
{
background-color:rgb(0,0,176);
display:inline-block;
color:white;
font-size:20px;
font-weight:bold;
text-align:center;
vertical-align:middle;
width:32px;
height:32px;
margin:4px 4px 0px 4px;
border-width:1px;
}
.forecasttoggle
{
font-size:16px;
width:auto;
}
#celsiustoggle
{
padding:4px;
}
#centerbutton
{
background-image:url("images/centermap.png");
}
#creditlink
{
font-size:smaller;
font-style:italic;
text-align:right;
}