Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 /* | 1 /* |
Thomas Greiner
2018/02/16 16:19:15
It is difficult to distinguish styles that are com
| |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-present eyeo GmbH | 3 * Copyright (C) 2006-present eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
16 */ | 16 */ |
Thomas Greiner
2018/02/16 16:19:15
Detail: What happened to the whitespaces here?
| |
17 | 17 |
18 @font-face { | 18 @font-face |
19 font-family: 'Source Sans Pro'; | 19 { |
20 font-style: normal; | 20 font-family: "Source Sans Pro"; |
21 font-weight: 300; | |
22 font-stretch: normal; | |
23 src: local ("Ø"), | |
juliandoucette
2017/10/08 13:18:12
NIT: What the?
martin
2017/10/16 09:09:09
My reaction exactly. It was like this in the origi
saroyanm
2017/10/16 10:22:59
It's used to force not using local font, I think t
| |
24 url(fonts/SourceSansPro-Light.woff) format("otf"); | |
25 } | |
26 | |
27 @font-face { | |
28 font-family: 'Source Sans Pro'; | |
29 font-style: normal; | 21 font-style: normal; |
30 font-weight: 400; | 22 font-weight: 400; |
31 font-stretch: normal; | 23 font-stretch: normal; |
32 src: local ("Ø"), | 24 src: local ("Ø"), |
33 url(fonts/SourceSansPro-Regular.woff) format("woff"); | 25 url(fonts/SourceSansPro-Regular.woff) format("woff"); |
34 } | 26 } |
35 | 27 |
36 @font-face { | 28 @font-face |
37 font-family: 'Source Sans Pro'; | 29 { |
38 font-style: normal; | 30 font-family: "Source Sans Pro"; |
31 font-style: bold; | |
39 font-weight: 700; | 32 font-weight: 700; |
40 font-stretch: normal; | 33 font-stretch: normal; |
41 src: local ("Ø"), | 34 src: local ("Ø"), |
42 url(fonts/SourceSansPro-bold.woff) format("woff"); | 35 url(fonts/SourceSansPro-bold.woff) format("woff"); |
43 } | 36 } |
44 | 37 |
45 | 38 html |
46 body { | 39 { |
47 font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif; | 40 font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; |
48 font-size: 16px; | 41 } |
juliandoucette
2017/10/08 13:18:11
NIT: I prefer to set document wide styles on the r
martin
2017/10/16 14:36:00
Done.
| |
49 background-color: white; | 42 |
juliandoucette
2017/10/08 13:18:11
NIT/Reminder: "CSS color values should be specifie
martin
2017/10/16 09:09:09
Done.
| |
43 body | |
44 { | |
50 margin: 0; | 45 margin: 0; |
51 padding: 0; | 46 padding: 0; |
52 } | 47 } |
53 | 48 |
54 .container { | 49 .ta-centre |
55 width: 100%; | 50 { |
56 max-width: 100%; | 51 text-align: center; |
57 margin: 0px auto; | 52 } |
58 padding: 0px 1em; | 53 |
59 } | 54 #content { |
60 | 55 margin-bottom: 3em; |
61 header { | 56 } |
juliandoucette
2017/10/08 13:18:11
NOTE: Padding inside the .content body causes this
| |
57 | |
58 @media (max-width: 992px) | |
59 { | |
60 #content .one-third | |
61 { | |
62 padding: 3em 2em; | |
63 border-bottom: 1px solid #d3d3d3; | |
64 } | |
65 #content .one-third:last-child { | |
66 border-bottom: none; | |
67 } | |
68 } | |
69 | |
70 /****************************************************************************** | |
71 * .content | |
72 *****************************************************************************/ | |
Thomas Greiner
2018/02/16 16:19:17
Detail: Missing whitespace at beginning of line ca
| |
73 | |
74 .content h1, | |
75 .content h2, | |
76 .content h3, | |
77 .content h4, | |
78 .content h5 | |
79 { | |
80 font-weight: bold; | |
Thomas Greiner
2018/02/16 16:19:19
We consistently use number values for the font wei
| |
81 margin: 32px 0px; | |
Thomas Greiner
2018/02/16 16:19:19
Coding style: "Omit unit specification after “0” v
| |
82 margin: 2rem 0rem; | |
83 } | |
84 | |
85 .content h1 { font-size: 1.8em; } | |
86 .content h2 { font-size: 1.4em; } | |
87 .content h3 { font-size: 1.3em; } | |
88 .content h4 { font-size: 1.2em; } | |
89 .content h5 { font-size: 1.1em; } | |
90 | |
91 @media(min-width: 768px) | |
92 { | |
93 .content h1 { font-size: 2.4em; } | |
94 .content h2 { font-size: 1.6em; } | |
95 } | |
96 | |
97 .content a, | |
98 .content a:visited | |
99 { | |
100 color: #C70D2C; | |
101 } | |
102 | |
103 /******************************************************************************* | |
104 * #navbar | |
105 ******************************************************************************/ | |
106 | |
107 #navbar | |
108 { | |
109 min-height: 4em; | |
110 background-color: #c70d2c; | |
111 } | |
112 | |
113 @media(max-width: 991px) | |
114 { | |
115 #navbar | |
116 { | |
117 overflow: auto; | |
118 } | |
119 } | |
120 | |
121 #navbar li | |
122 { | |
123 list-style-type: none; | |
124 } | |
125 | |
126 #navbar .container | |
127 { | |
128 padding-left: 0; | |
129 padding-right: 0; | |
130 } | |
131 | |
132 /* #navbar #navbar-logo | |
133 ******************************************************************************/ | |
134 | |
135 #navbar-logo | |
136 { | |
137 /* padding is visible in hover background-color change */ | |
138 padding: 0em 1em; | |
139 color: #fff; | |
140 } | |
141 | |
142 #navbar-logo:hover, | |
143 #navbar-logo:active, | |
144 #navbar-logo:focus | |
145 { | |
146 background-color: #AE0013; | |
147 text-decoration: none; | |
148 } | |
149 | |
150 #navbar-logo, | |
151 #navbar-logo > * | |
152 { | |
153 float: left; | |
154 } | |
155 | |
156 [dir="rtl"] #navbar-logo, | |
157 [dir="rtl"] #navbar-logo > * | |
158 { | |
159 float: right; | |
160 } | |
161 | |
162 #navbar-logo img | |
163 { | |
164 height: 4em; | |
165 padding: 0.5em 0em; | |
166 margin: 0em 1em 0em 0em; | |
167 } | |
168 | |
169 [dir="rtl"] #navbar-logo > img | |
170 { | |
171 margin: 0em 0em 0em 1em; | |
172 } | |
173 | |
174 #navbar-logo > span | |
175 { | |
176 /* full-height: 2.91 * 1.375 = ~4em */ | |
177 line-height: 2.91em; | |
178 font-size: 1.375em; | |
179 } | |
180 | |
181 /* #navbar #navbar-menu-toggle | |
182 ******************************************************************************/ | |
183 | |
184 #navbar-menu-toggle | |
185 { | |
186 float: right; | |
187 padding: 1em; | |
188 } | |
189 | |
190 [dir="rtl"] #navbar-menu-toggle | |
191 { | |
192 float: left; | |
193 } | |
194 | |
195 /* show on mobile */ | |
196 #navbar-menu-toggle, | |
197 #navbar-menu-toggle > img | |
198 { | |
199 display: block; | |
200 } | |
201 | |
202 /* hide on desktop */ | |
203 @media(min-width: 992px) | |
204 { | |
205 #navbar-menu-toggle | |
206 { | |
207 display: none; | |
208 } | |
209 } | |
210 | |
211 #navbar-menu-toggle > img | |
212 { | |
213 /* plus 2em padding = 4em */ | |
214 height: 2em; | |
215 } | |
216 | |
217 #navbar-menu-toggle:hover, | |
218 #navbar-menu-toggle:active, | |
219 #navbar-menu-toggle:focus | |
220 { | |
221 background-color: #AE0013; | |
222 } | |
223 | |
224 /* #navbar #navbar-menu | |
225 ******************************************************************************/ | |
226 | |
227 #navbar-menu a | |
228 { | |
229 display: block; | |
230 color: #fff; | |
231 text-decoration: none; | |
232 } | |
233 | |
234 /* #navbar #navbar-menu #navbar-locale-menu | |
235 ******************************************************************************/ | |
236 | |
237 /* caret */ | |
238 #navbar-locale-selected:after | |
239 { | |
240 display: inline-block; | |
241 width: 0; | |
242 height: 0; | |
243 margin: 0em 0em 0em 0.255em; | |
244 vertical-align: .255em; | |
Thomas Greiner
2018/02/16 16:19:16
Coding style: "Don't omit the optional leading 0 f
| |
245 content: ""; | |
246 border-top: .3em solid; | |
247 border-right: .3em solid transparent; | |
248 border-left: .3em solid transparent; | |
249 } | |
250 | |
251 [dir="rtl"] #navbar-locale-selected:after | |
252 { | |
253 margin: 0em 0.255em 0em 0em; | |
254 } | |
255 | |
256 #navbar-locale-menu | |
257 { | |
258 display: none; | |
259 } | |
260 | |
261 #navbar-locale-menu.visible | |
262 { | |
263 display: block; | |
264 } | |
265 | |
266 #navbar-locale-menu > li > a | |
267 { | |
268 padding: 0.75em 1em; | |
269 } | |
270 | |
271 #navbar-locale-menu > li > a:hover, | |
272 #navbar-locale-menu > li > a:active, | |
273 #navbar-locale-menu > li > a:focus | |
274 { | |
275 background-color: #434343; | |
276 } | |
277 | |
278 /* #navbar #navbar-menu (desktop) | |
279 ******************************************************************************/ | |
280 | |
281 @media(min-width: 992px) | |
282 { | |
283 #navbar-menu | |
284 { | |
285 float: right; | |
286 } | |
287 | |
288 [dir="rtl"] #navbar-menu | |
289 { | |
290 float: left; | |
291 } | |
292 | |
293 #navbar-menu > li, | |
294 #navbar-menu > li > a | |
295 { | |
296 display: inline-block; | |
297 } | |
298 | |
299 #navbar-menu > li > a | |
300 { | |
301 padding: 0em 1em; | |
302 line-height: 4em; | |
303 } | |
304 | |
305 #navbar-menu > li > a:hover, | |
306 #navbar-menu > li > a:active, | |
307 #navbar-menu > li > a:focus | |
308 { | |
309 background-color: #AE0013; | |
310 } | |
311 | |
312 /* #navbar #navbar-menu #navbar-locale-menu | |
Thomas Greiner
2018/02/16 16:19:20
You don't include this section of the navbar so le
| |
313 ****************************************************************************/ | |
314 | |
315 #navbar-locale-menubar | |
316 { | |
317 position: relative; | |
318 } | |
319 | |
320 #navbar-locale-menu | |
321 { | |
322 position: absolute; | |
323 min-width: 16em; | |
324 max-height: 20em; | |
325 max-height: 50vh; | |
326 top: 100%; | |
327 right: 0px; | |
328 overflow: auto; | |
329 z-index: 9001; | |
330 background-color: #292929; | |
331 } | |
332 | |
333 [dir="rtl"] #navbar-locale-menu | |
334 { | |
335 right: auto; | |
336 left: 0px; | |
337 } | |
338 } | |
339 | |
340 /* #navbar #navbar-menu (mobile) | |
341 ******************************************************************************/ | |
342 | |
343 @media(max-width: 991px) | |
344 { | |
345 #navbar-menu | |
346 { | |
347 display: none; | |
348 float: left; | |
Thomas Greiner
2018/02/16 16:19:18
I don't see a rule for reversing this for right-to
| |
349 clear: both; | |
350 width: 100%; | |
351 background-color: #292929; | |
352 } | |
353 | |
354 #navbar-menu.visible | |
355 { | |
356 display: block; | |
357 } | |
358 | |
359 #navbar-menu li a | |
360 { | |
361 padding: 0.75em 1em; | |
362 } | |
363 | |
364 #navbar-menu li a:hover, | |
365 #navbar-menu li a:active, | |
366 #navbar-menu li a:focus | |
367 { | |
368 background-color: #434343; | |
369 } | |
370 } | |
371 | |
372 /****************************************************************************** | |
373 * Main Page Content | |
374 *****************************************************************************/ | |
375 | |
376 #installation-status-header | |
377 { | |
62 text-align: center; | 378 text-align: center; |
63 background: #f9f9f9; | 379 background: #f9f9f9; |
Thomas Greiner
2018/02/16 16:19:20
Detail: Do you actually want to override other bac
| |
64 padding: 4em 0; | 380 padding: 4em 0; |
65 margin-bottom: 4em; | 381 margin-bottom: 4em; |
66 } | 382 } |
67 | 383 |
68 @media (min-width: 768px) { | 384 #installation-status-header > h1 { |
69 .container { | 385 text-transform: uppercase; |
70 width: 720px; | 386 } |
71 } | 387 |
72 } | 388 .section-header > h2 |
73 | 389 { |
74 @media (min-width: 992px) { | 390 margin: 1em 0 0; |
juliandoucette
2017/10/08 13:18:11
NIT: This doesn't make sense.
- You are setting a
| |
75 .container { | 391 } |
76 width: 1200px; | 392 |
77 } | 393 .button-primary |
78 } | 394 { |
79 | |
80 @media (max-width: 1194px) { | |
81 .container { | |
82 width: 80%; | |
83 text-align: center; | |
84 } | |
85 } | |
86 | |
87 @media (max-width: 474px) { | |
88 .container { | |
89 width: 100%; | |
juliandoucette
2017/10/08 13:18:11
NIT: This kills the padding left/right because htm
| |
90 } | |
91 } | |
92 | |
93 .button-primary { | |
juliandoucette
2017/10/08 13:18:11
NIT/Suggest: Make this button full-width on small
| |
94 display: inline-block; | 395 display: inline-block; |
95 text-decoration: none; | 396 text-decoration: none; |
96 text-transform: uppercase; | 397 text-transform: uppercase; |
97 color: white !important; | 398 color: #fff !important; |
juliandoucette
2017/10/08 13:18:11
NIT: This important is unnecessary?
|
Thomas Greiner
2018/02/16 16:19:17
What's the reason for using `!important` here?
|
98 text-align: center; | 399 text-align: center; |
99 width: 100%; | 400 width: 100%; |
100 border-radius: 6px; | 401 border-radius: 6px; |
402 padding: 1em 0; | |
403 background: #C70D2C; | |
404 } | |
405 | |
406 .store-buttons | |
407 { | |
408 width: 100%; | |
409 display: flex; | |
410 align-items: center; | |
411 justify-content: center; | |
412 } | |
413 | |
414 .store-button | |
415 { | |
416 display: block; | |
417 width: 180px; | |
418 height: 58px; | |
419 border-radius: 6px; | |
420 background: #000; | |
421 } | |
422 | |
423 .store-button > img | |
424 { | |
101 height: 54px; | 425 height: 54px; |
juliandoucette
2017/10/08 13:18:12
NIT: px [height, width, line-height] kinda defeats
martin
2017/10/16 14:36:00
Done.
| |
102 line-height: 54px; | 426 } |
103 background: #C70D2C; | 427 |
104 } | 428 .applestore-button |
105 | 429 { |
106 @media (max-width: 1194px) { | |
107 .button-primary { | |
108 width: 50%; | |
juliandoucette
2017/10/08 13:18:11
NIT: This gets pretty awkward around 336px.
| |
109 } | |
110 } | |
111 | |
112 .store-buttons { | |
113 height: 54px; | |
114 width: 100%; | |
115 } | |
116 | |
117 .store-button { | |
118 display: block; | |
119 height: 54px; | |
120 width: 180px; | |
121 } | |
122 | |
123 .applestore-button { | |
124 background: url("./icons/first-run/appstore-bg.svg"); | |
125 float: left; | |
126 margin-right: 1em; | 430 margin-right: 1em; |
127 } | 431 } |
128 | 432 |
129 .googleplay-button { | 433 [dir="rtl"] .appstore-button |
130 background: url("./icons/first-run/googleplay-bg.svg"); | 434 { |
131 float: left; | 435 margin-right: 0; |
132 } | 436 margin-left: 1em; |
133 | 437 } |
134 @media (max-width: 1194px) { | 438 |
135 .store-buttons { | 439 @media (max-width: 1280px) |
136 text-align: center; | 440 { |
137 } | 441 .store-buttons |
138 .store-button { | 442 { |
139 display: inline-block; | 443 flex-direction: column; |
juliandoucette
2017/10/08 13:18:11
NIT: These buttons are not horizontally aligned on
| |
140 float: none; | 444 } |
141 } | 445 |
142 } | 446 .store-button |
143 | 447 { |
144 @media (max-width: 1207px) { | 448 width: 100%; |
145 .applestore-button { | 449 } |
146 margin-right: .5em; | 450 .applestore-button |
Thomas Greiner
2018/02/16 16:19:16
Coding style: "Separate rules by new lines."
See
| |
147 } | 451 { |
148 } | 452 margin: 0 0 1em; |
149 | 453 } |
150 h1 { | 454 } |
juliandoucette
2017/10/08 13:18:11
NIT: This doesn't fit on the screen ~320 Firefox
| |
455 | |
456 #installation-status-header > h1 | |
457 { | |
151 font-size: 3em; | 458 font-size: 3em; |
152 margin: 0; | 459 margin: 0; |
153 } | 460 } |
154 | 461 |
155 h2 { | 462 |
156 font-size: 2em; | 463 /******************************************************************************* |
157 } | 464 * #footer |
158 | 465 ******************************************************************************/ |
159 p { | 466 |
160 margin: 0 0 1em 0; | 467 #footer |
161 font-size: 1.25em; | 468 { |
juliandoucette
2017/10/08 13:18:12
NIT: I see that you followed Paul's stytleguide ~e
| |
162 font-weight: 300; | 469 overflow: auto; |
juliandoucette
2017/10/08 13:18:11
NIT: We agreed (privately - sorry) to use 400 inst
| |
163 line-height: 150%; | 470 margin-top: 2em; |
164 } | 471 padding: 2em 0em; |
165 | 472 color: #ececec; |
166 p > a { | 473 background-color: #292929; |
167 color: #C70D2C; | 474 font-size: 0.9em; |
168 text-decoration: none; | 475 } |
169 font-size: 1em; | 476 |
juliandoucette
2017/10/08 13:18:12
NIT: This doesn't actually do anything because em
| |
170 font-weight: 400; | 477 /* #footer body |
171 } | 478 ******************************************************************************/ |
172 | 479 |
173 p > a:hover { | 480 #footer h5 |
481 { | |
482 margin-top: 1em; | |
483 margin-bottom: 1.5em; | |
484 } | |
485 | |
486 #footer h5:after | |
Thomas Greiner
2018/02/16 16:19:16
Detail: The standard way to write this is `#footer
| |
487 { | |
488 content: ""; | |
489 display: block; | |
490 width: 1.25em; | |
491 height: 0.125em; | |
492 margin-top: 0.5em; | |
493 background-color: #ececec; | |
494 } | |
495 | |
496 #footer ul | |
497 { | |
498 padding: 0em; | |
499 list-style-type: none; | |
500 } | |
501 | |
502 #footer a | |
503 { | |
504 color: #ececec; | |
505 } | |
506 | |
507 #footer a:hover, | |
508 #footer a:active, | |
509 #footer a:focus | |
510 { | |
511 color: #fff; | |
174 text-decoration: underline; | 512 text-decoration: underline; |
175 } | 513 } |
176 | 514 |
177 /******************************************************************************* | 515 /* #footer #social-list |
178 * Grid component | 516 ******************************************************************************/ |
juliandoucette
2017/10/08 13:18:11
Now that I think about it, you could include all o
| |
179 ******************************************************************************/ | 517 |
180 /** | 518 #social-list ul |
181 * - .row contains one or more .column(s) | 519 { |
182 * - .row clears .column(s) | 520 /* negative margin canceled out by li margin below */ |
183 * - .row negates the left & right padding of it's left-most & right-most | 521 margin: 0em -0.375em; |
184 * .column(s) while preserving consistent padding between .column(s) | 522 } |
185 */ | 523 |
186 .row { | 524 #social-list li |
187 margin: 0px -1em; } | 525 { |
188 | 526 float: left; |
189 .row:after { | 527 margin: 0em 0.375em; |
190 display: block; | 528 } |
191 clear: both; | 529 |
192 content: ""; } | 530 [dir="rtl"] #social-list li |
193 | 531 { |
194 /** | 532 float: right; |
195 * - .column is 100% width by default | 533 } |
196 * - Modifier classes are applied to .column to change it's width | 534 |
197 * - Modifier classes behave differently on different device widths | 535 #social-list img |
198 */ | 536 { |
199 .column { | 537 height: 2em; |
200 position: relative; | 538 } |
201 width: 100%; | 539 |
202 min-height: 1px; | 540 @media(min-width: 1200px) |
203 padding: 1em; | 541 { |
204 box-sizing: border-box; | 542 #social-list img |
205 } | 543 { |
206 | 544 height: 3em; |
207 /* - .column(s) within .row .reverse appear in reverse order | 545 } |
208 * - .column(s) within [dir=rtl] appear in reverse order respectively | 546 } |
209 */ | 547 |
210 .column, | 548 /* #footer #footer-legal |
211 [dir="rtl"] .reverse .column { | 549 ******************************************************************************/ |
212 float: left; } | 550 |
213 | 551 #footer-legal |
214 .reverse .column, | 552 { |
215 [dir="rtl"] .column { | 553 margin-top: 1em; |
216 float: right; } | 554 } |
217 | 555 |
218 @media (min-width: 768px) { | 556 @media(min-width: 1200px) |
219 .one-half, | 557 { |
220 .one-fourth { | 558 #footer-legal |
221 width: 50%; } } | 559 { |
222 | 560 margin-top: 2em; |
223 @media (min-width: 992px) { | 561 } |
224 .one-third { | 562 } |
225 width: 33.333333%; } | 563 |
226 .two-thirds { | 564 /* #footer #footer-legal #legal-list |
227 width: 66.666667%; } } | 565 ******************************************************************************/ |
228 | 566 |
229 @media (min-width: 992px) { | 567 #legal-list li |
230 .one-fourth { | 568 { |
231 width: 25%; } | 569 float: left; |
232 .three-fourths { | 570 } |
233 width: 75%; } } | 571 |
234 | 572 [dir="rtl"] #legal-list li |
235 @media (max-width: 1194px) { | 573 { |
236 .one-third { | 574 float: right; |
237 width: 100%; | 575 } |
238 } | 576 |
239 } | 577 #legal-list li:after |
240 | 578 { |
241 @media (max-width: 1194px) { | 579 margin: 0em 0.375em; |
242 .column { | 580 } |
243 padding: 4em 0; | 581 |
244 border-bottom: 1px solid lightgrey; | 582 /* IE9+ only */ |
Thomas Greiner
2018/02/16 16:19:19
This is not relevant for us since we don't support
| |
245 } | 583 #legal-list li::after |
246 } | 584 { |
247 | 585 content: "|" |
248 | 586 } |
249 | 587 |
588 #legal-list li:last-of-type::after | |
589 { | |
590 content: none; | |
591 } | |
592 | |
593 /* float copyright and legal links left and right on ~desktop */ | |
594 @media(min-width: 1200px) | |
595 { | |
596 #copyright-notice | |
597 { | |
598 float: left; | |
599 } | |
600 | |
601 [dir="rtl"] #copyright-notice | |
602 { | |
603 float: right; | |
604 } | |
605 | |
606 #legal-list | |
607 { | |
608 float: right; | |
609 } | |
610 | |
611 [dir="rtl"] #legal-list | |
612 { | |
613 float: left; | |
614 } | |
615 } | |
616 | |
617 /* hide all footer links except #social-list on ~mobile */ | |
618 @media(max-width: 767px) | |
619 { | |
620 #footer .column | |
621 { | |
622 display: none; | |
623 } | |
624 | |
625 /* overriding display:none above */ | |
626 #footer #social-list | |
627 { | |
628 display: block; | |
629 } | |
630 } | |
LEFT | RIGHT |