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

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

Issue 29564718: Issue 5742 - Added container and 4 column grid to adblockplus.org (Closed) Base URL: https://bitbucket.org/adblockplus/adblockplus.org
Left Patch Set: Created Oct. 4, 2017, 7:05 p.m.
Right Patch Set: Fixed border-box colon Created Oct. 5, 2017, 5:17 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 | « no previous file | static/css/main-desktop.css » ('j') | 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 * Base styles 2 * Base styles
juliandoucette 2017/10/04 19:13:52 Note: This will be automated ASAP.
ire 2017/10/04 22:17:10 Sorry, not sure what you mean. What will be automa
3 ******************************************************************************/ 3 ******************************************************************************/
4 html { 4 html {
ire 2017/10/04 22:17:10 The formatting doesn't follow our coding style.
ire 2017/10/09 09:34:51 I realised I forgot to follow up on this. Can you
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 /**
11 * Stretch content full-width 11 * Stretch content full-width
12 */ 12 */
13 .full-width { 13 .full-width {
14 display: block; 14 display: block;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 /* - .column(s) within .row .reverse appear in reverse order 63 /* - .column(s) within .row .reverse appear in reverse order
64 * - .column(s) within [dir=rtl] appear in reverse order respectively 64 * - .column(s) within [dir=rtl] appear in reverse order respectively
65 */ 65 */
66 .column, 66 .column,
67 [dir="rtl"] .reverse .column { 67 [dir="rtl"] .reverse .column {
68 float: left; } 68 float: left; }
69 69
70 .row, 70 .row,
71 .column { 71 .column {
72 box-sizing: border-box: } 72 box-sizing: border-box; }
73 73
74 .reverse .column, 74 .reverse .column,
75 [dir="rtl"] .column { 75 [dir="rtl"] .column {
76 float: right; } 76 float: right; }
77 77
78 @media (min-width: 768px) { 78 @media (min-width: 768px) {
79 .one-half, 79 .one-half,
80 .one-fourth { 80 .one-fourth {
81 width: 50%; } } 81 width: 50%; } }
82 82
83 @media (min-width: 1200px) { 83 @media (min-width: 1200px) {
juliandoucette 2017/10/04 19:13:52 Note: I customized this breakpoint and width to ma
ire 2017/10/04 22:17:10 Acknowledged.
84 .one-third { 84 .one-third {
85 width: 33.333333%; } 85 width: 33.333333%; }
86 .two-thirds { 86 .two-thirds {
87 width: 66.666667%; } 87 width: 66.666667%; }
88 .one-fourth { 88 .one-fourth {
89 width: 25%; } 89 width: 25%; }
90 .three-fourths { 90 .three-fourths {
91 width: 75%; } } 91 width: 75%; } }
92 92
93 * 93 *
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 width: 12px; 190 width: 12px;
191 height: 12px; 191 height: 12px;
192 background-position: -167px -13px; 192 background-position: -167px -13px;
193 } 193 }
194 194
195 .language-entry a 195 .language-entry a
196 { 196 {
197 display: block; 197 display: block;
198 } 198 }
199 199
200 #language .flag
201 {
202 width: 16px;
203 height: 11px;
204 max-height: 11px;
205 margin-right: 5px;
206 margin-left: 0px;
207 background-image: url(../img/sprite-flags.png);
208 vertical-align: middle;
209 }
210
211 html[dir="rtl"] #language .flag
212 {
213 margin-left: 5px;
214 margin-right: 0px;
215 }
216
217 #flag-ar
218 {
219 background-position: 0px 0px;
220 }
221
222 #flag-bg
223 {
224 background-position: -17px 0px;
225 }
226
227 #flag-de
228 {
229 background-position: -34px 0px;
230 }
231
232 #flag-en
233 {
234 background-position: -51px 0px;
235 }
236
237 #flag-es
238 {
239 background-position: -68px 0px;
240 }
241
242 #flag-sk
243 {
244 background-position: -85px 0px;
245 }
246
247 #flag-fr
248 {
249 background-position: 0px -12px;
250 }
251
252 #flag-el
253 {
254 background-position: -85px -12px;
255 }
256
257 #flag-he
258 {
259 background-position: -17px -12px;
260 }
261
262 #flag-it
263 {
264 background-position: -85px -24px;
265 }
266
267 #flag-hu
268 {
269 background-position: -34px -12px;
270 }
271
272 #flag-ko
273 {
274 background-position: -51px -12px;
275 }
276
277 #flag-ja
278 {
279 background-position: -102px 0px;
280 }
281
282 #flag-lt
283 {
284 background-position: -68px -12px;
285 }
286
287 #flag-nl
288 {
289 background-position: 0px -24px;
290 }
291
292 #flag-pl
293 {
294 background-position: -102px -12px;
295 }
296
297 #flag-pt_BR
298 {
299 background-position: -17px -24px;
300 }
301
302 #flag-pt_PT
303 {
304 background-position: -102px -24px;
305 }
306
307 #flag-ru
308 {
309 background-position: -34px -24px;
310 }
311
312 #flag-zh_CN
313 {
314 background-position: -51px -24px;
315 }
316
317 #flag-zh_TW
318 {
319 background-position: -68px -24px;
320 }
321
322 a[hreflang="de"]:not(:lang(de)):after,
323 a[hreflang="en"]:not(:lang(en)):after
324 {
325 display: inline-block;
326 width: 16px;
327 height: 11px;
328 background-image: url(../img/sprite-flags.png);
329 content: "";
330 margin-left: 2px;
331 }
332
333 a[hreflang="de"]:not(:lang(de)):after
334 {
335 background-position: -34px 0px;
336 }
337
338 a[hreflang="en"]:not(:lang(en)):after
339 {
340 background-position: -51px 0px;
341 }
342
343 #language-selector a:after
344 {
345 display: none;
346 }
347
348 #logo 200 #logo
349 { 201 {
350 position: absolute; 202 position: absolute;
351 width: 128px; 203 width: 128px;
352 height: 128px; 204 height: 128px;
353 background-position: -83px -83px; 205 background-position: -83px -83px;
354 } 206 }
355 207
356 #content h1 208 #content h1
357 { 209 {
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 375
524 [dir="ltr"] .alert 376 [dir="ltr"] .alert
525 { 377 {
526 border-left: 5px solid #d14841; 378 border-left: 5px solid #d14841;
527 } 379 }
528 380
529 [dir="rtl"] .alert 381 [dir="rtl"] .alert
530 { 382 {
531 border-right: 5px solid #d14841; 383 border-right: 5px solid #d14841;
532 } 384 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld