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: Addressed comments Created Oct. 11, 2017, 1:11 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
« 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 { 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
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;
500 } 435 }
501 } 436 }
437
438 /*******************************************************************************
439 * #footer
440 ******************************************************************************/
441
442 #footer
443 {
444 overflow: auto;
445 margin-top: 2em;
446 padding: 2em 0em;
447 color: #ececec;
448 background-color: #292929;
449 font-size: 0.9em;
450 }
451
452 /* #footer body
453 ******************************************************************************/
454
455 #footer h5
456 {
457 margin-top: 1em;
458 margin-bottom: 1.5em;
459 }
460
461 #footer h5:after
462 {
463 content: "";
464 display: block;
465 width: 1.25em;
466 height: 0.125em;
467 margin-top: 0.5em;
468 background-color: #ececec;
469 }
470
471 #footer ul
472 {
473 padding: 0em;
474 list-style-type: none;
475 }
476
477 #footer a
478 {
479 color: #ececec;
480 }
481
482 #footer a:hover,
483 #footer a:active,
484 #footer a:focus
485 {
486 color: #fff;
487 text-decoration: underline;
488 }
489
490 /* #footer #social-list
491 ******************************************************************************/
492
493 #social-list ul
494 {
495 /* negative margin canceled out by li margin below */
496 margin: 0em -0.375em;
497 }
498
499 #social-list li
500 {
501 float: left;
502 margin: 0em 0.375em;
503 }
504
505 [dir="rtl"] #social-list li
506 {
507 float: right;
508 }
509
510 #social-list img
511 {
512 height: 2em;
513 }
514
515 @media(min-width: 1200px)
516 {
517 #social-list img
518 {
519 height: 3em;
520 }
521 }
522
523 /* #footer #footer-legal
524 ******************************************************************************/
525
526 #footer-legal
527 {
528 margin-top: 1em;
529 }
530
531 @media(min-width: 1200px)
532 {
533 #footer-legal
534 {
535 margin-top: 2em;
536 }
537 }
538
539 /* #footer #footer-legal #legal-list
540 ******************************************************************************/
541
542 #legal-list li
543 {
544 float: left;
545 }
546
547 [dir="rtl"] #legal-list li
548 {
549 float: right;
550 }
551
552 #legal-list li:after
553 {
554 margin: 0em 0.375em;
555 }
556
557 /* IE9+ only */
558 #legal-list li::after
559 {
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 #footer .column
596 {
597 display: none;
598 }
599
600 /* overriding display:none above */
601 #footer #social-list
602 {
603 display: block;
604 }
605 }
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