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

Side by Side Diff: static/css/main.css

Issue 29558641: Issue 5740 - Implemented new abp.org footer styles (Closed) Base URL: https://bitbucket.org/adblockplus/adblockplus.org
Patch Set: Rebased away learn more and grid Created Oct. 6, 2017, 11:47 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « static/css/index-desktop.css ('k') | static/css/main-desktop.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /******************************************************************************* 1 /*******************************************************************************
2 * Base styles 2 * Base styles
3 ******************************************************************************/ 3 ******************************************************************************/
4 html { 4 html {
5 color: #212121; 5 color: #212121;
6 background-color: #fff; 6 background-color: #fff;
7 font-family: sans-serif; 7 font-family: sans-serif;
8 line-height: 1.5; } 8 line-height: 1.5; }
9 9
10 /** 10 /**
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 131 }
132 132
133 .sprite 133 .sprite
134 { 134 {
135 display: inline-block; 135 display: inline-block;
136 font-size: 0px; /* fix for IE6 height bug */ 136 font-size: 0px; /* fix for IE6 height bug */
137 background-image: url(../img/sprite-main.png); 137 background-image: url(../img/sprite-main.png);
138 background-repeat: no-repeat; 138 background-repeat: no-repeat;
139 } 139 }
140 140
141 nav ul
142 {
143 list-style: none;
144 margin: 0;
145 padding: 0;
146 }
147
148 nav a:link, nav a:visited
149 {
150 color: #7d7d7d;
151 text-decoration: none;
152 }
153
154 nav a:hover
155 {
156 text-decoration: underline;
157 }
158
159 header 141 header
160 { 142 {
161 display: block; 143 display: block;
162 position: relative; 144 position: relative;
163 background: white; 145 background: white;
164 border: 1px solid #d9d9d9; 146 border: 1px solid #d9d9d9;
165 border-top: none; 147 border-top: none;
166 box-shadow: 1px 1px 0 0 #d9d9d9; 148 box-shadow: 1px 1px 0 0 #d9d9d9;
167 z-index: 1; 149 z-index: 1;
168 } 150 }
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 .toc ul ul 244 .toc ul ul
263 { 245 {
264 padding-left: 40px; 246 padding-left: 40px;
265 } 247 }
266 248
267 .toc li 249 .toc li
268 { 250 {
269 margin: 4px 0; 251 margin: 4px 0;
270 } 252 }
271 253
272 #footer-main 254 #social-list ul
273 {
274 display: block;
275 background: white;
276 box-shadow: 0 -1px 0 0 #b5b4b0, 0 -2px 0 0 #e4e1dc;
277 padding: 0;
278 line-height: 1;
279 }
280
281 #footer-main nav h1, #footer-main nav li
282 {
283 color: #444444;
284 border-bottom: 1px solid #dedede;
285 }
286
287 #footer-main h1
288 {
289 font-size: 16px;
290 margin-top: 0;
291 margin-bottom: 15px;
292 }
293
294 #footer-main nav li
295 {
296 margin-bottom: 5px;
297 }
298
299 #social-list
300 { 255 {
301 list-style: none; 256 list-style: none;
302 padding: 0; 257 padding: 0;
303 margin: 0; 258 margin: 0;
304 } 259 }
305 260
306 .social-entry
307 {
308 display: inline-block;
309 margin: 0px 5px;
310 }
311
312 .social-entry a
313 {
314 width: 82px;
315 height: 82px;
316 -webkit-transition: opacity .5s ease;
317 -moz-transition: opacity .5s ease;
318 -ms-transition: opacity .5s ease;
319 -o-transition: opacity .5s ease;
320 transition: opacity .5s ease;
321 opacity: .6;
322 }
323
324 .social-entry a:hover
325 {
326 opacity: 1.0;
327 }
328
329 #social-facebook
330 {
331 background-position: 0px 0px;
332 }
333
334 #social-twitter
335 {
336 background-position: 0px -83px;
337 }
338
339 #social-gplus
340 {
341 background-position: -83px 0px;
342 }
343
344 div.animation[started="false"]:before 261 div.animation[started="false"]:before
345 { 262 {
346 content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPBAMAAADJ%2B Ih5AAAAFVBMVEUAgAAAgAD%2F%2F%2F%2Fr9uvY7Ni%2B376h0aGeNpcsAAAAAXRSTlNtc%2BXFgwAAA DVJREFUeF5dzVEKACAMAlC7QW6t%2F7r%2FIYOBEPr1GOgw2AHiduaHkwKXwBK4BYZdylrpy4K%2BP%2 Fu5C1CVKVSzAAAAAElFTkSuQmCC); 263 content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPBAMAAADJ%2B Ih5AAAAFVBMVEUAgAAAgAD%2F%2F%2F%2Fr9uvY7Ni%2B376h0aGeNpcsAAAAAXRSTlNtc%2BXFgwAAA DVJREFUeF5dzVEKACAMAlC7QW6t%2F7r%2FIYOBEPr1GOgw2AHiduaHkwKXwBK4BYZdylrpy4K%2BP%2 Fu5C1CVKVSzAAAAAElFTkSuQmCC);
347 padding-left: 0px; 264 padding-left: 0px;
348 padding-right: 3px; 265 padding-right: 3px;
349 } 266 }
350 267
351 html[dir="rtl"] div.animation[started="false"]:before 268 html[dir="rtl"] div.animation[started="false"]:before
352 { 269 {
353 padding-left: 3px; 270 padding-left: 3px;
(...skipping 21 matching lines...) Expand all
375 292
376 [dir="ltr"] .alert 293 [dir="ltr"] .alert
377 { 294 {
378 border-left: 5px solid #d14841; 295 border-left: 5px solid #d14841;
379 } 296 }
380 297
381 [dir="rtl"] .alert 298 [dir="rtl"] .alert
382 { 299 {
383 border-right: 5px solid #d14841; 300 border-right: 5px solid #d14841;
384 } 301 }
302
303 @media(max-width: 767px)
304 {
305 #site-footer .column
306 {
307 display: none;
308 }
309
310 #site-footer #social-list
311 {
312 display: block;
313 }
314
315 #site-footer #social-list ul
316 {
317 margin: 0em 1em;
318 }
319 }
320
321 #site-footer
322 {
323 margin-top: 2em;
324 padding: 2em 0em;
325 color: #ececec;
326 background-color: #292929;
327 overflow: auto;
328 }
329
330 #site-footer h5
juliandoucette 2017/10/06 12:57:58 Note: h5 will inherit color from #site-footer and
ire 2017/10/09 10:37:59 Acknowledged.
331 {
332 color: #ececec;
333 font-size: 22px;
334 margin: 16px 0px 40px 0px;
335 }
336
337 #site-footer h5::after
338 {
339 content: "";
340 display: block;
341 width: 30px;
juliandoucette 2017/10/06 12:58:01 Note: I used em for this width in the new implemen
ire 2017/10/09 10:38:00 Acknowledged.
342 height: 3px;
343 margin: 16px 0px 0px 0px;
344 border: none;
345 background-color: #ececec;
346 }
347
348 #site-footer p
juliandoucette 2017/10/06 12:57:58 Note: I will inherit this font-size from #site-foo
ire 2017/10/09 10:38:00 Acknowledged.
349 {
350 font-size: 18px;
351 }
352
353 #site-footer li
juliandoucette 2017/10/06 12:57:58 Note: I would like to inherit this style from rese
ire 2017/10/09 10:38:00 Acknowledged.
354 {
355 list-style-type: none;
356 }
357
358 #site-footer ul
359 {
360 padding: 0px;
361 }
362
363 #site-footer a
364 {
365 font-size: 18px;
juliandoucette 2017/10/06 12:57:59 Note: I will inherit this font-size from #site-foo
ire 2017/10/09 10:38:00 Acknowledged.
366 color: #ececec;
367 text-decoration: none;
368 }
369
370 #site-footer a:hover,
371 #site-footer a:active,
372 #site-footer a:focus
373 {
374 color: #fff;
juliandoucette 2017/10/06 12:57:59 Note: This is indistinguishable. But it's better t
ire 2017/10/09 10:37:59 I agree
375 text-decoration: underline;
376 }
377
378 #footer-legal
379 {
380 margin-top: 3em;
juliandoucette 2017/10/06 12:57:58 Note: This was improvised (Paul said that he made
ire 2017/10/09 10:38:00 Acknowledged.
381 }
382
383 #site-footer #copyright-notice,
384 #site-footer #copyright-notice a,
385 #legal-list a
386 {
387 font-size: 14px;
388 }
389
390 @media(min-width: 768px)
391 {
392 #site-footer #copyright-notice,
393 #site-footer #copyright-notice a,
394 #legal-list a
395 {
396 font-size: 16px;
397 }
398 }
399
400 #social-list li,
juliandoucette 2017/10/06 12:58:01 Note: I separated these because they are separate
401 #legal-list li
402 {
403 display: block;
404 float: left;
juliandoucette 2017/10/06 12:58:00 Note: I forgot to support rtl here. I'm not really
ire 2017/10/09 10:37:59 Acknowledged.
405 }
406
407 #social-list li
408 {
409 margin-right: 10px;
juliandoucette 2017/10/06 12:57:58 Note: This width wasn't specified, but it looks la
ire 2017/10/09 10:38:00 I don't think it is necessary. IMO the spacing is
juliandoucette 2017/10/11 13:12:05 Acknowledged.
410 }
411
412 [dir="rtl"] #social-list li
413 {
414 margin-left: 10px;
415 }
416
417 #social-list img
418 {
419 height: 40px;
juliandoucette 2017/10/06 12:58:00 Note: 50px was specified, but 50px made it too har
ire 2017/10/09 10:37:59 Acknowledged.
420 }
421
422 #legal-list li::after
423 {
424 margin: 0px 5px;
425 content: "|"
426 }
427
428 #legal-list li:last-of-type::after
juliandoucette 2017/10/06 12:58:00 Note: I'm being a little tricky here using ::after
ire 2017/10/09 10:37:59 Love it!
429 {
430 content: none;
431 }
432
433 @media(min-width: 1024px)
juliandoucette 2017/10/06 12:57:58 Note: I made this breakpoint larger [to match the
ire 2017/10/09 10:38:00 Acknowledged.
434 {
435 #copyright-notice
436 {
437 float: left;
438 }
439
440 [dir="rtl"] #copyright-notice
441 {
442 float: right;
443 }
444
445 #legal-list
446 {
447 float: right;
448 }
449
450 [dir="rtl"] #legal-list
451 {
452 float: left;
453 }
454 }
OLDNEW
« no previous file with comments | « static/css/index-desktop.css ('k') | static/css/main-desktop.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld