fixed up the results page in a number of ways
[selectricity-live] / public / stylesheets / main.css
1 @charset "utf-8";
2
3 /* CSS Document */
4
5 /****************************************************************
6    Selectricity || selectricity.org
7    Design by Courtland Allen
8 *****************************************************************/
9
10 /* basics */
11  
12 body {
13         color: black;
14         background: white;
15         background: url(/images/bg_main.png) repeat-x top left;
16 }
17
18 h2 {
19         font-size: 24px !important;
20         margin: 0 0 1em 0 !important;
21 }
22
23 h3 {
24         font-size: 18px !important;
25         margin: 0 0 1em 0 !important;
26 }
27
28 .special {
29         background-color: #999999;
30         color: white;
31         text-align: center;
32         pading: 0 1em 0 1em;
33 }
34
35 label {
36     font-weight: bold;
37 }
38
39
40 /* Left column. Includes logo, poll information, and graph. */
41  
42 #left-side {
43         width: 270px;
44         float: left;
45         text-align: left;
46         margin-top: 33px;
47         font-size: 13px;
48 }
49
50 #left-side h1 {
51         height: 0px;
52         overflow: hidden;
53         padding-top: 189px;
54         background: url(/images/title_main.png) no-repeat top left;
55 }
56
57
58 #left-side-content {
59         color: #666666;
60         margin-top: 40px;
61         text-align: left;
62 }
63
64 #left-side-content p {
65         color: #666666;
66         padding-left: 2em;
67         margin: 2em 0 2em 0;
68 }
69
70 #left-side-content ol {
71         color: #666666;
72 }
73
74 .graph {
75   text-align: center;
76 }
77
78 /* Right column. Includes top-bar and main-box. */
79
80 #right-side {
81         width: 611px;
82         margin-top: 0px;
83         float: right;
84 }
85  
86 #top-bar {
87         float: right;
88         margin-right: 50px;
89         width: 231px;
90         text-align: center;
91         margin-bottom: 35px;
92 }
93
94 #top-bar a {
95         color: #dddddd;
96         font-size: 11px;
97 }
98
99 div#bar-left {
100         background-image: url(/images/top_bar_1.png);
101         width: 153px;
102         height: 37px;
103         padding-top: 8px;
104         float: left;
105         clear: left;
106 }
107
108 div#bar-right {
109         background-image: url(/images/top_bar_2.png);
110         width: 78px;
111         height: 37px;
112         padding-top: 8px;
113         float: left;
114         clear: right;
115 }
116
117 .green { color: #10a700; }
118
119 .left-aligned h4 {
120         float: left;
121         padding-top: 26px;
122         height: 0px;
123         overflow: hidden;
124         background: no-repeat top left;
125 }
126
127 .right-aligned h4 {
128         float: right;
129         padding-top: 26px;
130         height: 0px;
131         overflow: hidden;
132         background: no-repeat top right;
133 }
134
135 .left-aligned { text-align: left; }
136
137 .right-aligned { text-align: right; }
138
139 h5 {
140         color: #5c5c5c;
141         background-color: #d6d6d6;
142         height: 21px;
143         font-size: 16px;
144         padding: 5px 15px 0 15px;
145         margin-bottom: .75em;
146         overflow: hidden;
147 }
148
149 #title-header {
150     margin: -20px -20px 1em -20px;
151     height: 32px;
152     margin-bottom: 14px;
153         background-color: #e5e5e5;
154 }
155
156 .normal-header {
157     margin: 1.3em -20px 1.3em -20px;
158     height: 32px;
159         background-color: #e5e5e5;
160 }
161
162 .header {
163     display: block;
164     font-family: verdana,arial,helvetica,sans-serif;
165     font-size: 30px;
166     text-transform: uppercase;
167     text-align: center;
168     color: white;
169     background-color: #999999;
170     height: 32px;
171     float: left;
172     padding: 0px .75em 0px .75em;
173 }
174
175 .subheader {
176     float: left;
177     font-family: verdana,arial,helvetica,sans-serif;
178     font-size: 18px;
179     color: #666666;
180         background-color: #e5e5e5;
181     height: 26px;
182     padding: 6px 1em 0px 10px;
183
184
185 #main-box {
186         float: right;
187         width: 571px;
188         padding: 20px;
189         background: #f9f9f9;
190         border: 1px solid #b3b3b3;
191 }
192
193 #main-box p, #main-box blockquote, #main-box ul {
194     margin-bottom: 1em;
195 }
196
197 blockquote {
198     margin-left: 3em;
199 }
200
201
202 /* css related to error in forms */
203
204 #errorExplanation {
205   border: 2px solid #C00;
206   width: 260px;
207   margin-bottom: 20px;
208   background-color: #f0f0f0;
209 }
210
211 #errorExplanation h2 {
212   font-size: 1em !important;
213   text-align: left;
214   font-weight: bold;
215   padding: 5px 5px 5px 5px;
216   background-color: #c00;
217   color: #fff;
218 }
219
220 #errorExplanation p {
221   font-size: 1em;
222   color: #333;
223   margin-bottom: 0;
224   padding: 5px;
225 }
226
227 #errorExplanation ul li {
228   font-size: 1em;
229   list-style: square;
230 }
231
232 .fieldWithErrors {
233     display: inline;
234 }
235 .fieldWithErrors input, .fieldWithErrors select, .fieldWithErrors textarea {
236     background-color: #FFFBB3; 
237 }
238
239 #status {
240   width: 400px;
241   border: 1px solid #0000FF;
242   border-width: 1px;
243   padding: 7px;
244   padding-bottom: 12px;
245   margin-bottom: 20px;
246   background-color: #f0f0f0;
247 }
248
249 li.moveable {
250   background-color: #E5FFCC;
251   border:1px solid #4D801A;
252   cursor: move;
253   padding: 4px;
254   margin: 4px;
255 }
256
257 #sortable_list {
258   font-size: 24pt;
259   display: float;
260   float: left;
261 }
262
263 .result_table {
264  text-align: center;
265  margin-bottom: 1em;
266 }
267 .preftable {
268         font-family: verdana,arial,helvetica,sans-serif;
269         border-spacing: 0px;
270         border-width: 2px;
271         border-color: #999999;
272         border-style: solid;
273         caption-side: top;
274 }
275
276 .preftable th {
277         font-family: verdana,arial,helvetica,sans-serif;
278         border-width: 2px;
279         border-color: #999999;
280         border-style: solid;
281         text-align: center;
282         font-weight: bold;
283         padding: 5px 5px 5px 5px;
284         background-color: #999999;
285         color: #FFFFFF;
286 }
287
288 .preftable td {
289   border-collapse: collapse;
290   border-width: 1px;
291   border-color: #999999;
292   border-style: solid;
293   text-align: right;
294   padding-right: 5px;
295   padding-left: 5px;
296 }
297
298 .voterbox {
299   border-spacing: 0px;
300   border-width: 2px;
301   border-color: #4D801A;
302   border-style: solid;
303 }
304
305 .voterbox th {
306   border-width: 2px;
307   border-color: #73BF26;
308   border-style: solid;
309   text-align: center;
310   font-weight: bold;
311   padding: 5px 5px 5px 15px;
312   background-color: #73BF26;
313   color: #fff;
314 }
315
316 .voterbox td {
317   border-collapse: collapse;
318   border-width: 1px;
319   border-color: #4D801A;
320   border-style: solid;
321
322   text-align: right;
323   padding-right: 5px;
324   padding-left: 5px;
325 }
326
327 /* voterbox#election is used on user summary page */
328 .voterbox#election { border-color: #990d13; }
329
330 .voterbox#election th {
331          background-color: #dc0d13;
332          border-color: #dc0d13; 
333 }
334         
335 .voterbox#election td { border-color: #990d13;}
336
337 .rbmoreinfo hr {
338   width: 100%;
339   height: 10px;
340   color: #4D801A;
341 }
342 .rbmoreinfo h4 {
343   border: 0px;
344   font-style: italic;
345   text-align: center;
346   font-size: 0.9em;
347 }
348
349 .rbmoreinfo p {
350   font-size: 0.8em;
351   padding-left: 30px;
352   padding-right: 30px;
353   text-align: left;
354 }
355
356 .example {
357   width: 400px;
358   border-width: 2px;
359   border-style: solid;
360   border-color: #999999;
361   padding: 7px;
362   padding-bottom: 12px;
363   margin-bottom: 20px;
364   background-color: #f0f0f0;
365 }
366
367 .example h4 {
368   text-align: center;
369   font-weight: bold;
370   padding: 5px 5px 5px 15px;
371   font-size: 12px;
372   margin: -7px;
373   background-color: #999999;
374   color: #fff;
375   border-bottom: 0px;
376 }
377                                 
378 .example p {
379   margin-bottom: 0;
380   padding: 5px;
381 }
382
383
384 .warning {
385   width: 400px;
386   border-width: 2px;
387   border-style: solid;
388   border-color: #dc0d13;
389   padding: 7px;
390   padding-bottom: 12px;
391   margin-bottom: 20px;
392   background-color: #f0f0f0;
393 }
394
395 .warning h4 {
396   text-align:
397   center;
398   font-weight:
399   bold;
400   padding: 5px 5px 5px 15px;
401   font-size: 12px;
402   margin: -7px;
403   background-color: #dc0d13;
404   color: #fff;
405   border-bottom: 0px;
406 }
407
408 .warning p {
409   margin-bottom: 0;
410   padding: 5px;
411 }
412
413 #progress_bar ul li {
414   display: block;
415   list-style: default;
416 }
417
418 #progress_bar li.step_selected {
419   font-weight: bold;
420 }
421
422 #progress_bar li.step_unselected {
423   color: #CCCCCC;
424   font-weight: bold;
425 }
426
427 #progress_bar li.step_unselected {
428   color: #CCCCCC;
429   font-weight: bold;
430 }
431
432 #progress_bar li.step_unselected a {
433   text-decoration: none;
434 }
435
436 div.photo {
437  text-align: center;
438  margin-bottom: 1.5em;
439 }
440
441 div.photo img {
442  border: 1px black solid;
443 }
444
445 .winner_text {
446  text-align: center;
447 }
448
449 #winner_box {
450  border: 3px white solid;
451  background-color: #666666;
452  color: white; 
453  margin: 0.5em 0 1em 0;
454 }
455
456 .winner_text {
457  font-size: 1.2em;
458 }
459 #winner_box .winner_text {
460  font-size: 2em;
461 }
462
463 #winner_box p {
464  margin: 0;
465  padding: 0;
466 }

Benjamin Mako Hill || Want to submit a patch?