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 on header Created Oct. 11, 2017, 12:14 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 { 2 {
3 font-family: Arial, sans; 3 font-family: Arial, sans;
4 font-size: 16px; 4 font-size: 16px;
5 } 5 }
6 6
7 body 7 body
8 { 8 {
9 margin: 0; 9 margin: 0;
10 line-height: 1.5; 10 line-height: 1.5;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 .toc ul ul 87 .toc ul ul
88 { 88 {
89 padding-left: 40px; 89 padding-left: 40px;
90 } 90 }
91 91
92 .toc li 92 .toc li
93 { 93 {
94 margin: 4px 0; 94 margin: 4px 0;
95 } 95 }
96 96
97 #footer-main 97 #social-list ul
98 {
99 display: block;
100 background: white;
101 box-shadow: 0 -1px 0 0 #b5b4b0, 0 -2px 0 0 #e4e1dc;
102 padding: 0;
103 line-height: 1;
104 }
105
106 #footer-main nav h1, #footer-main nav li
107 {
108 color: #444444;
109 border-bottom: 1px solid #dedede;
110 }
111
112 #footer-main h1
113 {
114 font-size: 16px;
115 margin-top: 0;
116 margin-bottom: 15px;
117 }
118
119 #footer-main nav li
120 {
121 margin-bottom: 5px;
122 }
123
124 #social-list
125 { 98 {
126 list-style: none; 99 list-style: none;
127 padding: 0; 100 padding: 0;
128 margin: 0; 101 margin: 0;
129 } 102 }
130 103
131 .social-entry
132 {
133 display: inline-block;
134 margin: 0px 5px;
135 }
136
137 .social-entry a
138 {
139 width: 82px;
140 height: 82px;
141 -webkit-transition: opacity .5s ease;
142 -moz-transition: opacity .5s ease;
143 -ms-transition: opacity .5s ease;
144 -o-transition: opacity .5s ease;
145 transition: opacity .5s ease;
146 opacity: .6;
147 }
148
149 .social-entry a:hover
150 {
151 opacity: 1.0;
152 }
153
154 #social-facebook
155 {
156 background-position: 0px 0px;
157 }
158
159 #social-twitter
160 {
161 background-position: 0px -83px;
162 }
163
164 #social-gplus
165 {
166 background-position: -83px 0px;
167 }
168
169 div.animation[started="false"]:before 104 div.animation[started="false"]:before
170 { 105 {
171 content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPBAMAAADJ%2B Ih5AAAAFVBMVEUAgAAAgAD%2F%2F%2F%2Fr9uvY7Ni%2B376h0aGeNpcsAAAAAXRSTlNtc%2BXFgwAAA DVJREFUeF5dzVEKACAMAlC7QW6t%2F7r%2FIYOBEPr1GOgw2AHiduaHkwKXwBK4BYZdylrpy4K%2BP%2 Fu5C1CVKVSzAAAAAElFTkSuQmCC); 106 content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPBAMAAADJ%2B Ih5AAAAFVBMVEUAgAAAgAD%2F%2F%2F%2Fr9uvY7Ni%2B376h0aGeNpcsAAAAAXRSTlNtc%2BXFgwAAA DVJREFUeF5dzVEKACAMAlC7QW6t%2F7r%2FIYOBEPr1GOgw2AHiduaHkwKXwBK4BYZdylrpy4K%2BP%2 Fu5C1CVKVSzAAAAAElFTkSuQmCC);
172 padding-left: 0px; 107 padding-left: 0px;
173 padding-right: 3px; 108 padding-right: 3px;
174 } 109 }
175 110
176 html[dir="rtl"] div.animation[started="false"]:before 111 html[dir="rtl"] div.animation[started="false"]:before
177 { 112 {
178 padding-left: 3px; 113 padding-left: 3px;
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 #navbar-menu li a 425 #navbar-menu li a
491 { 426 {
492 padding: 0.75em 1em; 427 padding: 0.75em 1em;
493 } 428 }
494 429
495 #navbar-menu li a:hover, 430 #navbar-menu li a:hover,
496 #navbar-menu li a:active, 431 #navbar-menu li a:active,
497 #navbar-menu li a:focus 432 #navbar-menu li a:focus
498 { 433 {
499 background-color: #434343; 434 background-color: #434343;
435
436 /*******************************************************************************
437 * #site-footer
438 ******************************************************************************/
439
440 #site-footer
441 {
442 overflow: auto;
443 margin-top: 2em;
444 padding-top: 2em;
445 padding-bottom: 2em;
446 color: #ececec;
447 background-color: #292929;
448 font-size: 0.9em;
449 }
450
451 /* #site-footer body
452 ******************************************************************************/
453
454 #site-footer h5
455 {
456 margin-top: 1em;
457 margin-bottom: 1.5em;
458 }
459
460 #site-footer h5::after
461 {
462 content: "";
463 display: block;
464 width: 1.25em;
465 height: 3px;
466 margin-top: 0.5em;
467 border: none;
468 background-color: #ececec;
469 }
470
471 #site-footer li
472 {
473 list-style-type: none;
474 }
475
476 #site-footer ul
477 {
478 padding: 0px;
479 }
480
481 #site-footer a
482 {
483 color: #ececec;
484 text-decoration: none;
485 }
486
487 #site-footer a:hover,
488 #site-footer a:active,
489 #site-footer a:focus
490 {
491 color: #fff;
492 text-decoration: underline;
493 }
494
495 /* #site-footer #social-list
496 ******************************************************************************/
497
498 #social-list li
499 {
500 display: block;
501 float: left;
502 }
503
504 [dir="rtl"] #social-list li
505 {
506 float: right;
507 }
508
509 #social-list li
510 {
511 margin-right: 0.5em;
512 }
513
514 [dir="rtl"] #social-list li
515 {
516 margin-left: 0.5em;
517 }
518
519 #social-list img
520 {
521 height: 3em;
522 }
523
524 /* smaller on tablet / small desktop only */
525 @media(min-width: 768px) and (max-width: 1200px)
526 {
527 #social-list img
528 {
529 height: 2em;
500 } 530 }
501 } 531 }
532
533 /* #site-footer #footer-legal
534 ******************************************************************************/
535
536 #footer-legal
537 {
538 overflow: auto;
539 margin-top: 2em;
540 }
541
542 /* #site-footer #footer-legal #legal-list
543 ******************************************************************************/
544
545 #legal-list li
546 {
547 display: block;
548 float: left;
549 }
550
551 [dir="rtl"] #legal-list li
552 {
553 float: right;
554 }
555
556 #legal-list li::after
557 {
558 margin-left: 0.25em;
559 margin-right: 0.25em;
560 content: "|"
561 }
562
563 #legal-list li:last-of-type::after
564 {
565 content: none;
566 }
567
568 /* float copyright and legal links left and right on ~desktop */
569 @media(min-width: 1200px)
570 {
571 #copyright-notice
572 {
573 float: left;
574 }
575
576 [dir="rtl"] #copyright-notice
577 {
578 float: right;
579 }
580
581 #legal-list
582 {
583 float: right;
584 }
585
586 [dir="rtl"] #legal-list
587 {
588 float: left;
589 }
590 }
591
592 /* hide all footer links except #social-list on ~mobile */
593 @media(max-width: 767px)
594 {
595 #site-footer .column
596 {
597 display: none;
598 }
599
600 /* overriding display:none above */
601 #site-footer #social-list
602 {
603 display: block;
604 }
605 }
OLDNEW

Powered by Google App Engine
This is Rietveld