Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/skin/firstRun.css

Issue 11039060: first run page redesign (Closed)
Patch Set: codereview updates fixed and added hover effects and new arrows Created Aug. 14, 2013, 4:09 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <http://adblockplus.org/>, 2 * This file is part of Adblock Plus <http://adblockplus.org/>,
3 * Copyright (C) 2006-2013 Eyeo GmbH 3 * Copyright (C) 2006-2013 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 @font-face {
19 font-family: 'CreteRound';
20 font-style: normal;
21 src: url(fonts/CreteRound-Regular.otf);
22 src: local ('Ø'),
23 /*local ('Ø') forces using no local font called CreteRound*/
24 url(fonts/CreteRound-Regular.otf) format('otf');
25 }
26
27 @font-face {
28 font-family: 'CreteRound';
29 font-style: italic;
30 src: url(fonts/CreteRound-Italic.otf);
31 src: local ('Ø'),
32 /*local ('Ø') forces using no local font called CreteRound*/
33 url(fonts/CreteRound-Italic.otf) format('otf');
34 }
35
36 *
37 {
38 margin: 0;
39 padding: 0;
40 }
41
18 body 42 body
19 { 43 {
20 font-family: Arial, Helvetica, sans-serif; 44 font-family: Helvetica, Arial, sans-serif;
21 font-size: 14px; 45 font-size: 15px;
22 line-height: 140%; 46 line-height: 140%;
23 color: #000000; 47 color: #7f776b;
24 background-color: #f8f6f2; 48 background-color: #f8f6f2;
49 background-image: url(background-main.png);
50 }
51
52 a, a:link, a:visited
53 {
54 color: #5a84b3;
55 text-decoration: underline;
56 }
57
58 a:hover
59 {
60 text-decoration: none;
61 }
62
63 button
64 {
65 cursor: pointer;
66 }
67
68 li
69 {
70 list-style-type: none;
71 }
72
73 header
74 {
75 height: 200px;
25 background-image: url(background.png); 76 background-image: url(background.png);
77 background-repeat: repeat-x;
78 width: 100%;
79 padding: 40px 0 0 0;
80 }
81
82 header h1
83 {
84 font-size: 24px;
85 font-weight: normal;
26 margin: 0 auto; 86 margin: 0 auto;
27 padding: 0; 87 color: #57ab5b;
28 max-width: 900px; 88 text-align: center;
29 } 89 margin: 21px auto;
30 90 padding: 16px 0 14px 0;
31 a:link, a:visited 91 border: 1px #57ab5b;
32 { 92 border-style: dashed none;
33 color: #7d7d7d; 93 /* border parallel fix - 957px is the value
34 } 94 * closest to 960px(page width) which makes
35 95 * the dashed border parallel
36 button, .arrow 96 */
37 { 97 max-width: 957px;
98 }
99
100 strong
101 {
102 font-weight: 600;
103 }
104
105 h1,h2,h3
106 {
107 font-family: CreteRound, Helvetica, Arial, sans-serif;
108 }
109
110 h2
111 {
112 font-size: 26px;
113 font-weight: lighter;
114 color: #968d81;
115 line-height: 28px;
116 text-align: center;
117
118 }
119
120 h3
121 {
122 font-size: 22px;
123 color: #7F776B;
124 font-weight: normal;
125 margin: 0 0 10px 0;
126 line-height: 24px;
127 }
128
129 h4
130 {
131 font-size: 15px;
132 color: #7f776b;
133 font-weight: normal;
134 text-align: center;
135 text-decoration: underline;
136 }
137
138 section
139 {
140 margin: 0 auto;
141 margin-bottom: 30px;
142 max-width: 760px;
143 background-image: url(background.png);
144 padding: 40px 100px;
145 }
146
147 section > p
148 {
149 margin: 15px 0 0 0;
150 }
151
152
153 #logo
154 {
155 margin: 0 auto;
156 height: 100px;
157 width: 99px;
158 display: block;
159 background-image: url(abp-icon-big.png);
160 background-repeat: no-repeat;
161 }
162
163 #can-do-more
164 {
165 max-width: 960px;
166 padding: 40px 0px 0px 0px;
167 }
168
169 #can-do-more > h2
170 {
171 margin: 0 100px;
172 }
173
174 .fade-out
175 {
176 opacity: 0;
177 }
178
179 .fade-in
180 {
181 opacity: 1;
182 }
183
184 .hide
185 {
186 display: none;
187 }
188
189 .show
190 {
191 display: block;
192 }
193
194 #can-do-more-overview
195 {
196 max-width: 760px;
197 min-height: 140px;
198 margin: 30px 100px 0 100px;
199 font-size: 0px;
200 /* hides appearing spacings because of
201 * using display: inline-block*/
38 cursor: pointer; 202 cursor: pointer;
39 } 203 -moz-transition: opacity 0.5s ease-in-out;
40 204 transition: opacity 0.5s ease-in-out;
41 header, p 205 }
42 { 206
43 margin: 15px 0 5px; 207 #can-do-more-overview > li:hover
44 } 208 {
45 209 background-image: url("background-main.png");
46 #content 210 }
47 { 211
48 padding: 0 90px; 212 #can-do-more-overview > li
49 } 213 {
50 214 width: 230px;
51 header 215 height: 115px;
52 { 216 display: inline-block;
53 padding-left: 148px; 217 border-right: 1px dashed #c7c6c2;
54 background-image: url(abp-icon-big.png); 218 padding: 20px 10px 0 10px;
55 background-position: 0% 50%; 219 vertical-align: top;
220 -webkit-backface-visibility: hidden;
221 /* hides the 1px movement chrome bug
222 * which appears while transition.
223 */
224 }
225
226 #can-do-more-overview > li > div
227 {
228 width: 59px;
229 height: 59px;
230 display: block;
231 margin: 0 auto;
232 }
233
234 #can-do-more-overview > li > h4
235 {
236 margin: 15px 0 0 0;
237 }
238
239 #can-do-more #feature-first
240 {
241 border-left: 1px dashed #c7c6c2;
242 }
243
244 .feature-malware-image
245 {
246 background-image: url(features/malware.png);
56 background-repeat: no-repeat; 247 background-repeat: no-repeat;
57 min-height: 128px; 248 }
58 vertical-align: middle; 249
59 line-height: 1; 250 .feature-social-image
60 251 {
61 display: -webkit-box; 252 background-image: url(features/social.png);
62 -webkit-box-orient: vertical; 253 background-repeat: no-repeat;
63 -webkit-box-pack: center; 254 }
64 255
65 display: -moz-box; 256 .feature-tracking-image
66 -moz-box-orient: vertical; 257 {
67 -moz-box-pack: center; 258 background-image: url(features/tracking.png);
68 259 background-repeat: no-repeat;
69 display: -o-box; 260 }
70 -o-box-orient: vertical; 261
71 -o-box-pack: center; 262 #can-do-more-expanded
72 263 {
73 display: -ms-box; 264 margin: 30px 100px 0 100px;
74 -ms-box-orient: vertical; 265 -moz-transition: opacity 0.5s ease-in-out;
75 -ms-box-pack: center; 266 transition: opacity 0.5s ease-in-out;
76
77 display: box;
78 box-orient: vertical;
79 box-pack: center;
80 }
81
82 header h1
83 {
84 font-size: 40px;
85 font-weight: normal;
86 margin: 0;
87 }
88
89 #dataCorruptionWarning
90 {
91 font-size: 200%;
92 line-height: 140%;
93 margin: 20px;
94 padding: 20px;
95 border: 3px solid red;
96 border-radius: 10px;
97 } 267 }
98 268
99 #features 269 #features
100 { 270 {
101 display: block; 271 display: block;
102 border-spacing: 10px; 272 border-spacing: 10px;
103 margin: 0px; 273 margin: 0px;
104 padding: 0px; 274 padding: 0px;
105 padding-bottom: 120px;
106 white-space: nowrap;
107 }
108
109 #features-title
110 {
111 font-size: 22px;
112 color: #cc0000;
113 margin: 30px 0px 20px;
114 }
115
116 #features-title::after
117 {
118 content: ":";
119 } 275 }
120 276
121 .feature:not([hidden]) 277 .feature:not([hidden])
122 { 278 {
123 display: block; 279 display: block;
124 position: relative;
125 list-style-type: none; 280 list-style-type: none;
281 padding: 30px 0;
126 padding-bottom: 20px; 282 padding-bottom: 20px;
283 border-top: 1px dashed #c0bebb;
127 } 284 }
128 285
129 .feature-image, .feature-description 286 .feature-image, .feature-description
130 { 287 {
131 display: inline-block; 288 display: inline-block;
132 *display: inline; /* IE6 inline-block fix */ 289 *display: inline; /* IE6 inline-block fix */
133 *zoom: 1; 290 *zoom: 1;
134 vertical-align: top; 291 vertical-align: top;
135 } 292 }
136 293
137 .feature-description 294 .feature-description
138 { 295 {
139 width: 550px; 296 margin: 0px 0px 0 20px;
140 margin: 0px 10px; 297 max-width: 625px;
141 } 298 }
142 299
143 .feature-title 300 .feature-description-textblock
144 { 301 {
145 color: black; 302 max-width: 480px;
146 font-weight: bold; 303 margin: 0 40px 0 0;
147 font-size: 120%; 304 display: inline-block;
148 } 305 }
149 306
150 .feature-title::after 307 .feature-description-textblock > span
151 { 308 {
152 content: ":"; 309 margin: 15px 0 0 0;
153 }
154
155 .feature-text
156 {
157 margin: 7px 0px;
158 white-space: normal;
159 } 310 }
160 311
161 .feature-image 312 .feature-image
162 { 313 {
163 width: 57px; 314 width: 59px;
164 height: 57px; 315 height: 59px;
165 } 316 margin: 8px 0 10px 20px;
166 317 }
167 #feature-malware .feature-image 318
168 { 319 #activate-features
169 background-image: url(features/malware.png); 320 {
170 } 321 width: 100%;
171 322 background-image: url("background-candomore.png");
172 #feature-social .feature-image 323 margin: 30px 0 0 0;
173 { 324 padding: 14px 0 14px 0;
174 background-image: url(features/social.png);
175 }
176
177 #feature-tracking .feature-image
178 {
179 background-image: url(features/tracking.png);
180 }
181
182 .feature button
183 {
184 cursor: pointer; 325 cursor: pointer;
185 position: relative; 326 text-align: center;
186 top: 0px; 327 white-space: nowrap;
187 padding: 5px 10px; 328 }
188 *padding: 2px 3px; 329
189 font-weight: none; 330 #activate-features-label
190 font-size: inherit; 331 {
191 color: white; 332 display: inline-block;
192 text-shadow: 2px 2px 2px #327d14; 333 width: 86%;
193 border: none; 334 color: #fff;
194 border-radius: 3px; 335 font-size: 22px;
195 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422; 336 text-align: center;
196 background-color: #62c52b; 337 font-style: italic;
197 background: -webkit-linear-gradient(top, #62c52b, #4f9d22); 338 font-family: CreteRound, Helvetica, Arial, sans-serif;
198 background: -moz-linear-gradient(top, #62c52b, #4f9d22); 339 -moz-transition: opacity 0.5s ease-in-out;
199 background: -o-linear-gradient(top, #62c52b, #4f9d22); 340 transition: opacity 0.5s ease-in-out;
200 background: -ms-linear-gradient(top, #62c52b, #4f9d22); 341 }
201 background: linear-gradient(top, #62c52b, #4f9d22); 342
202 -webkit-transition: box-shadow 0.3s ease; 343 #activate-features-label:hover
203 -moz-transition: box-shadow 0.3s ease; 344 {
204 -o-transition: box-shadow 0.3s ease; 345 color: #1f6822;
205 -ms-transition: box-shadow 0.3s ease; 346 }
206 transition: box-shadow 0.3s ease; 347
207 } 348 #activate-features.overview .arrow
208 349 {
209 .feature button:hover 350 background-image: url("arrow-down.png");
210 { 351 }
211 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15; 352
212 } 353 #activate-features.expanded .arrow
213 354 {
214 .feature button:active 355 background-image: url("arrow-up.png");
215 {
216 top: 3px;
217 top: 0px\9;
218 box-shadow: 0px 0px 7px #486c15;
219 background-color: #4f9d22;
220 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22);
221 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22);
222 background: -o-linear-gradient(bottom, #62c52b, #4f9d22);
223 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22);
224 background: linear-gradient(bottom, #62c52b, #4f9d22);
225 -webkit-transition: none;
226 -moz-transition: none;
227 -o-transition: none;
228 -ms-transition: none;
229 transition: none;
230 *zoom: 1;
231 }
232
233 .feature button.disable
234 {
235 text-shadow: 2px 2px 2px #9d4f22;
236 box-shadow: 0 1px 0 0 #9d4f22, 0 2px 0 0 #999;
237 background-color: #c5622b;
238 background: -webkit-linear-gradient(top, #c5622b, #9d4f22);
239 background: -moz-linear-gradient(top, #c5622b, #9d4f22);
240 background: -o-linear-gradient(top, #c5622b, #9d4f22);
241 background: -ms-linear-gradient(top, #c5622b, #9d4f22);
242 background: linear-gradient(top, #c5622b, #9d4f22);
243 }
244
245 .feature button.disable:hover
246 {
247 box-shadow: 0px 2px 7px #9d4f22, 0 1px 0 0 #9d4f22;
248 }
249
250 .feature button.disable:active
251 {
252 top: 3px;
253 top: 0px\9;
254 box-shadow: 0px 0px 7px #9d4f22;
255 background-color: #9d4f22;
256 background: -webkit-linear-gradient(bottom, #c5622b, #9d4f22);
257 background: -moz-linear-gradient(bottom, #c5622b, #9d4f22);
258 background: -o-linear-gradient(bottom, #c5622b, #9d4f22);
259 background: -ms-linear-gradient(bottom, #c5622b, #9d4f22);
260 background: linear-gradient(bottom, #c5622b, #9d4f22);
261 -webkit-transition: none;
262 -moz-transition: none;
263 -o-transition: none;
264 -ms-transition: none;
265 transition: none;
266 *zoom: 1;
267 }
268
269 #shade
270 {
271 -webkit-transition: opacity 0.2s ease;
272 -moz-transition: opacity 0.2s ease;
273 -o-transition: opacity 0.2s ease;
274 -ms-transition: opacity 0.2s ease;
275 transition: opacity 0.2s ease;
276 opacity: 0.0;
277 position: fixed;
278 margin-left: 10px;
279 bottom: 70px;
280 z-index: 100;
281 } 356 }
282 357
283 .arrow 358 .arrow
284 { 359 {
285 width: 0; 360 width: 29px;
286 height: 0; 361 height: 22px;
287 border: 30px solid transparent; 362 vertical-align: bottom;
288 border-top-color: #000; 363 display: inline-block;
289 } 364 }
290 365
291 footer 366 #share
292 { 367 {
293 position: fixed; 368 background-image: url(background-share.png);
294 bottom: 0; 369 padding: 50px 100px 40px 100px;
295 left: 0; 370 max-width: 760px;
296 right: 0; 371 text-align: center;
297 padding: 70px 0 0; 372 font-family: CreteRound, Helvetica, Arial, sans-serif;
298 text-align: center; 373 }
299 background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 2 55, 1) 50px); 374
300 background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); 375 #share h2
301 background: -o-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1 ) 50px); 376 {
302 background: -ms-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); 377 color: #fff;
303 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5 0px); 378 margin: 0 0 30px 0;
304 } 379 }
305 380
306 footer h1 381 #share h2 > a
307 { 382 {
308 margin: 0; 383 color: #fff;
309 font-size: 18px; 384 }
310 color: #666; 385
311 position: fixed; 386 #share h2 > a:hover
312 bottom: 70px; 387 {
313 left: 0; 388 color: #2e5075;
314 right: 0; 389 }
315 -webkit-transition: opacity .3s ease; 390
316 -moz-transition: opacity .3s ease; 391 #share span
317 -o-transition: opacity .3s ease; 392 {
318 -ms-transition: opacity .3s ease; 393 color: #bed1e6;
319 transition: opacity .3s ease; 394 text-align: center;
320 opacity: 1; 395 line-height: 34px;
396 font-size: 22px;
397 display: block;
398 }
399
400 #donate:hover, #share-buttons a:hover
401 {
402 -moz-box-shadow: 0px 0px 0px 2px #8ca7c4;
403 -webkit-box-shadow: 0px 0px 0px 2px #8ca7c4;
404 box-shadow: 0px 0px 0px 2px #8ca7c4;
405 border-radius: 30px;
406 }
407
408 #donate-block span, #share-block span
409 {
410 margin: 13px 20px 10px 20px;
411 }
412
413 #donate-block, #share-block
414 {
415 min-width: 250px;
416 display: inline-block;
417 vertical-align: top;
418 padding: 20px 0 0 0;
419 }
420
421 #donate-block
422 {
423 border: 1px dashed #37506d;
424 border-style: none dashed;
425 width: 50%;
426 }
427
428 #share-block
429 {
430 border-right: 1px dashed #37506d;
431 width: 49%;
432 }
433
434 #share-buttons
435 {
436 margin: 6px 0 0 0;
437 min-height: 50px;
438 cursor: pointer;
439 display: inline-block;
440 vertical-align: top;
441 font-size: 0px;
442 line-height: 0px;
Thomas Greiner 2013/08/22 10:42:12 Please add an explanation.
443 }
444
445 #share-buttons > a
446 {
447 width: 50px;
448 height: 50px;
449 margin: 0 8px;
450 text-decoration: none;
451 display: inline-block;
452 }
453
454 #share-facebook
455 {
456 background-image: url(social/facebook.png);
457 background-repeat: no-repeat;
458 }
459
460 #share-twitter
461 {
462 background-image: url(social/twitter.png);
463 background-repeat: no-repeat;
464 }
465
466 #share-gplus
467 {
468 background-image: url(social/googleplus.png);
469 background-repeat: no-repeat;
470 }
471
472 #dataCorruptionWarning
473 {
474 font-size: 160%;
475 border: 3px dashed red;
476 text-align: center;
321 } 477 }
322 478
323 #social ul 479 #social ul
324 { 480 {
325 list-style: none; 481 list-style: none;
326 display: inline-block; 482 display: inline-block;
327 padding: 0; 483 padding: 0;
328 margin: 0; 484 margin: 0;
329 } 485 }
330 486
(...skipping 25 matching lines...) Expand all
356 bottom: 0px; 512 bottom: 0px;
357 } 513 }
358 514
359 .share-button 515 .share-button
360 { 516 {
361 display: inline-block; 517 display: inline-block;
362 width: 82px; 518 width: 82px;
363 height: 82px; 519 height: 82px;
364 } 520 }
365 521
366 #share-facebook
367 {
368 background-image: url(social/facebook.png);
369 }
370
371 #share-twitter
372 {
373 background-image: url(social/twitter.png);
374 }
375
376 #share-gplus
377 {
378 background-image: url(social/gplus.png);
379 }
380
381 #glass-pane, #share-popup 522 #glass-pane, #share-popup
382 { 523 {
383 visibility: hidden; 524 visibility: hidden;
384 opacity: 0; 525 opacity: 0;
385 -webkit-transition-property: opacity, visibility; 526 -webkit-transition-property: opacity, visibility;
386 -moz-transition-property: opacity, visibility; 527 -moz-transition-property: opacity, visibility;
387 -o-transition-property: opacity, visibility; 528 -o-transition-property: opacity, visibility;
388 -ms-transition-property: opacity, visibility; 529 -ms-transition-property: opacity, visibility;
389 transition-property: opacity, visibility; 530 transition-property: opacity, visibility;
390 } 531 }
391 532
392 #glass-pane 533 #glass-pane
393 { 534 {
394 position: fixed; 535 position: fixed;
395 top: 0; 536 top: 0;
396 right: 0; 537 right: 0;
397 bottom: 0; 538 bottom: 0;
398 left: 0; 539 left: 0;
399 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%; 540 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%;
400 z-index: 101; 541 z-index: 101;
401
402 -webkit-transition-duration: 0.2s; 542 -webkit-transition-duration: 0.2s;
403 -moz-transition-duration: 0.2s; 543 -moz-transition-duration: 0.2s;
404 -o-transition-duration: 0.2s; 544 -o-transition-duration: 0.2s;
405 -ms-transition-duration: 0.2s; 545 -ms-transition-duration: 0.2s;
406 transition-duration: 0.2s; 546 transition-duration: 0.2s;
407 } 547 }
408 548
409 #share-popup 549 #share-popup
410 { 550 {
411 position: absolute; 551 position: absolute;
(...skipping 18 matching lines...) Expand all
430 -webkit-transition-duration: 0.15s; 570 -webkit-transition-duration: 0.15s;
431 -moz-transition-duration: 0.15s; 571 -moz-transition-duration: 0.15s;
432 -o-transition-duration: 0.15s; 572 -o-transition-duration: 0.15s;
433 -ms-transition-duration: 0.15s; 573 -ms-transition-duration: 0.15s;
434 transition-duration: 0.15s; 574 transition-duration: 0.15s;
435 } 575 }
436 576
437 .toggle 577 .toggle
438 { 578 {
439 cursor: pointer; 579 cursor: pointer;
440 position: absolute; 580 position: relative;
441 display: inline-block; 581 display: inline-block;
442 top: 50%; 582 vertical-align: top;
443 height: 22px; 583 height: 22px;
444 margin: -21px 0px 7px 0px; 584 margin: 32px 0px 7px 0px;
445 border-radius: 9999px; 585 border-radius: 9999px;
446 box-shadow: 0 0 0 1px #999; 586 border: 1px solid #999;
447 overflow: hidden; 587 overflow: hidden;
448 -moz-user-select: none; 588 -moz-user-select: none;
449 -webkit-user-select: none; 589 -webkit-user-select: none;
450 user-select: none; 590 user-select: none;
451 } 591 }
452 592
593 .toggle:hover
594 {
595 -moz-box-shadow: 0px 0px 3px 0px #968d81;
596 -webkit-box-shadow: 0px 3px 0px 0px #968d81;
597 box-shadow: 0px 0px 3px 0px #968d81;
598 }
599
453 .toggle:active 600 .toggle:active
454 { 601 {
455 cursor: wait; 602 cursor: wait;
456 } 603 }
457 604
458 .toggle-on, .toggle-off 605 .toggle-on, .toggle-off
459 { 606 {
460 min-width: 42px; 607 min-width: 42px;
461 height: 100%; 608 height: 100%;
462 font-size: 11px; 609 font-size: 11px;
463 font-weight: 500; 610 font-weight: 500;
464 text-align: center; 611 text-align: center;
465 line-height: 25px; 612 line-height: 23px;
466 } 613 }
467 614
468 .toggle-on 615 .toggle-on
469 { 616 {
470 padding: 0px 30px 0px 10px; 617 padding: 0px 30px 0px 10px;
471 color: rgba(255,255,255, 0.8); 618 color: rgba(255,255,255, 0.8);
472 text-shadow: 1px 1px rgba(0,0,0,0.2); 619 text-shadow: 1px 1px rgba(0,0,0,0.2);
473 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); 620 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2);
474 background: rgb(69,163,31); 621 background: rgb(69,163,31);
475 } 622 }
(...skipping 28 matching lines...) Expand all
504 { 651 {
505 margin-top: -22px; 652 margin-top: -22px;
506 } 653 }
507 654
508 .off .toggle-blob 655 .off .toggle-blob
509 { 656 {
510 left: 0px; 657 left: 0px;
511 right: auto; 658 right: auto;
512 } 659 }
513 660
514 /* Adjust font size on smaller screens */ 661 #donate
515 @media (max-height: 800px) 662 {
516 { 663 height: 21px;
517 body 664 display: inline-block;
518 { 665 margin: 15px 0px 2px 0px;
519 font-size: 19px; 666 font-size: 16px;
520 } 667 color: #003366;
521 } 668 cursor: pointer;
522 669 font-weight: bold;
523 @media (max-height: 750px) 670 padding: 5px 18px;
524 { 671 text-decoration: none;
525 body 672 border-radius: 20px;
526 { 673 border: 1px solid #FF9933;
527 font-size: 17px; 674 overflow: hidden;
528 } 675 font-family: arial, sans-serif;
529 } 676 background-image: url(donate.png);
530 677 background-repeat: repeat-x;
531 @media (max-height: 700px) 678 }
532 {
533 body
534 {
535 font-size: 16px;
536 }
537 }
OLDNEW

Powered by Google App Engine
This is Rietveld