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

Delta Between Two Patch Sets: static/css/main.css

Issue 29720642: Noissue - Added .body-container to provide padding-top for body content and avoid navbar overlap (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Left Patch Set: Created March 12, 2018, 5:02 p.m.
Right Patch Set: Moved space to <body> Created March 13, 2018, 12:13 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « static/css/index.css ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 padding-top: 4em;
ire 2018/03/13 12:24:48 NIT: It could be useful to have a comment about wh
juliandoucette 2018/03/13 12:32:54 Acknowledged.
10 line-height: 1.5; 11 line-height: 1.5;
11 }
12
13 /** Provides padding necessary for fixed navbar */
14 .body-container
ire 2018/03/13 08:31:36 NIT: We could apply this style directly to the bod
juliandoucette 2018/03/13 12:14:03 Ack. I thought of that last night as I was going t
15 {
16 padding-top: 4em;
17 } 12 }
18 13
19 #content, 14 #content,
20 #blog 15 #blog
21 { 16 {
22 padding-bottom: 2em; 17 padding-bottom: 2em;
23 } 18 }
24 19
25 a img 20 a img
26 { 21 {
(...skipping 21 matching lines...) Expand all
48 padding: 1em; 43 padding: 1em;
49 overflow: auto; 44 overflow: auto;
50 } 45 }
51 46
52 .sprite 47 .sprite
53 { 48 {
54 display: inline-block; 49 display: inline-block;
55 font-size: 0px; /* fix for IE6 height bug */ 50 font-size: 0px; /* fix for IE6 height bug */
56 background-image: url(../img/sprite-main.png); 51 background-image: url(../img/sprite-main.png);
57 background-repeat: no-repeat; 52 background-repeat: no-repeat;
53 }
54
55 #adblock-browser-notification
56 {
57 text-align: center;
58 }
59
60 #adblock-browser-notification a
61 {
62 font-weight: bold;
63 }
64
65 #adblock-browser-notification img
66 {
67 vertical-align: bottom;
68 width: 25px;
69 height: 25px;
70 }
71
72 #adblock-browser-notification span
73 {
74 white-space: nowrap;
75 margin-left: 1em;
76 }
77
78 [dir="rtl"] #adblock-browser-notification span
79 {
80 margin-left: 0;
81 margin-right: 1em;
58 } 82 }
59 83
60 .toc 84 .toc
61 { 85 {
62 display: inline-block; 86 display: inline-block;
63 border: 1px solid #aaa; 87 border: 1px solid #aaa;
64 background: #fff; 88 background: #fff;
65 padding: 16px 20px; 89 padding: 16px 20px;
66 } 90 }
67 91
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 .content h2, 178 .content h2,
155 .content h3, 179 .content h3,
156 .content h4, 180 .content h4,
157 .content h5 181 .content h5
158 { 182 {
159 font-weight: bold; 183 font-weight: bold;
160 margin: 32px 0 16px 0; 184 margin: 32px 0 16px 0;
161 margin: 2rem 0 1rem 0; 185 margin: 2rem 0 1rem 0;
162 } 186 }
163 187
164 .content h1, 188 .content h1 { font-size: 1.8em; }
165 .content .h1 { font-size: 1.8em; }
166
167 .content h2 { font-size: 1.4em; } 189 .content h2 { font-size: 1.4em; }
168 .content h3 { font-size: 1.3em; } 190 .content h3 { font-size: 1.3em; }
169 .content h4 { font-size: 1.2em; } 191 .content h4 { font-size: 1.2em; }
170 .content h5 { font-size: 1.1em; } 192 .content h5 { font-size: 1.1em; }
171 193
172 @media(min-width: 768px) 194 @media(min-width: 768px)
173 { 195 {
174 .content h1 { font-size: 2.4em; } 196 .content h1 { font-size: 2.4em; }
175 .content h2 { font-size: 1.6em; } 197 .content h2 { font-size: 1.6em; }
176 } 198 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 box-shadow: inset 0 0 0 3px #005D80; 262 box-shadow: inset 0 0 0 3px #005D80;
241 } 263 }
242 264
243 /******************************************************************************* 265 /*******************************************************************************
244 * .fg-* utilities 266 * .fg-* utilities
245 ******************************************************************************/ 267 ******************************************************************************/
246 268
247 .fg-accent 269 .fg-accent
248 { 270 {
249 color: #077CA6; 271 color: #077CA6;
250 }
251
252 .bg-secondary
253 {
254 color: #000;
255 background-color: #F4F4F4;
256 } 272 }
257 273
258 /******************************************************************************* 274 /*******************************************************************************
259 * #navbar 275 * #navbar
260 ******************************************************************************/ 276 ******************************************************************************/
261 277
262 #navbar 278 #navbar
263 { 279 {
264 min-height: 4em; 280 min-height: 4em;
265 background-color: #c70d2c; 281 background-color: #c70d2c;
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 #footer .column 707 #footer .column
692 { 708 {
693 display: none; 709 display: none;
694 } 710 }
695 711
696 /* overriding display:none above */ 712 /* overriding display:none above */
697 #footer #social-list 713 #footer #social-list
698 { 714 {
699 display: block; 715 display: block;
700 } 716 }
701 }
702
703 /* Items
704 *****************************************************************************/
705
706 .item-group,
707 .item-body
708 {
709 margin-top: 1em;
710 margin-bottom: 1em;
711 }
712
713 .item
714 {
715 padding-top: 2em;
716 padding-bottom: 2em;
717 }
718
719 .item-heading
720 {
721 text-transform: uppercase;
722 } 717 }
723 718
724 /* Video 719 /* Video
725 ****************************************************************************/ 720 ****************************************************************************/
726 721
727 .video-parent 722 .video-parent
728 { 723 {
729 position: relative; 724 position: relative;
730 display: block; 725 display: block;
731 width: 100%; 726 width: 100%;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 left: 50%; 793 left: 50%;
799 width: 80px; 794 width: 80px;
800 margin-top: -60px; 795 margin-top: -60px;
801 margin-left: -40px; 796 margin-left: -40px;
802 } 797 }
803 798
804 .hide-disclaimer .video-play 799 .hide-disclaimer .video-play
805 { 800 {
806 margin-top: -40px; 801 margin-top: -40px;
807 } 802 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld