LEFT | RIGHT |
1 /******************************************************************************* | |
2 * Base styles | |
3 ******************************************************************************/ | |
4 html { | |
5 color: #212121; | |
6 background-color: #fff; | |
7 font-family: sans-serif; | |
8 line-height: 1.5; } | |
9 | |
10 /** | |
11 * Stretch content full-width | |
12 */ | |
13 .full-width { | |
14 display: block; | |
15 width: 100%; | |
16 margin: 1em 0px; } | |
17 | |
18 /** | |
19 * Center content within a (responsive) fixed width | |
20 */ | |
21 .container { | |
22 width: auto; | |
23 max-width: 100%; | |
24 margin: 0px auto; | |
25 padding: 0px 1em; } | |
26 | |
27 @media (min-width: 768px) { | |
28 .container { | |
29 width: 720px; } } | |
30 | |
31 @media (min-width: 1200px) { | |
32 .container { | |
33 width: 1170px; } } | |
34 | |
35 /******************************************************************************* | |
36 * Grid component | |
37 ******************************************************************************/ | |
38 /** | |
39 * - .row contains one or more .column(s) | |
40 * - .row clears .column(s) | |
41 * - .row negates the left & right padding of it's left-most & right-most | |
42 * .column(s) while preserving consistent padding between .column(s) | |
43 */ | |
44 .row { | |
45 margin: 0px -1em; } | |
46 | |
47 .row:after { | |
48 display: block; | |
49 clear: both; | |
50 content: ""; } | |
51 | |
52 /** | |
53 * - .column is 100% width by default | |
54 * - Modifier classes are applied to .column to change it's width | |
55 * - Modifier classes behave differently on different device widths | |
56 */ | |
57 .column { | |
58 position: relative; | |
59 width: 100%; | |
60 min-height: 1px; | |
61 padding: 0px 1em; } | |
62 | |
63 /* - .column(s) within .row .reverse appear in reverse order | |
64 * - .column(s) within [dir=rtl] appear in reverse order respectively | |
65 */ | |
66 .column, | |
67 [dir="rtl"] .reverse .column { | |
68 float: left; } | |
69 | |
70 .row, | |
71 .column { | |
72 box-sizing: border-box; } | |
73 | |
74 .reverse .column, | |
75 [dir="rtl"] .column { | |
76 float: right; } | |
77 | |
78 @media (min-width: 768px) { | |
79 .one-half, | |
80 .one-fourth { | |
81 width: 50%; } } | |
82 | |
83 @media (min-width: 1200px) { | |
84 .one-third { | |
85 width: 33.333333%; } | |
86 .two-thirds { | |
87 width: 66.666667%; } | |
88 .one-fourth { | |
89 width: 25%; } | |
90 .three-fourths { | |
91 width: 75%; } } | |
92 | |
93 * | 1 * |
94 >>>>>>> destination | 2 { |
95 { | 3 font-family: Arial, sans; |
96 font-family: 'Source Sans Pro', sans-serif; | |
97 font-size: 16px; | 4 font-size: 16px; |
98 } | 5 } |
99 | 6 |
100 body | 7 body |
101 { | 8 { |
102 margin: 0; | 9 margin: 0; |
103 line-height: 1.5; | 10 line-height: 1.5; |
104 } | 11 } |
105 | 12 |
106 a img | 13 a img |
(...skipping 23 matching lines...) Expand all Loading... |
130 border: 1px solid black; | 37 border: 1px solid black; |
131 overflow: auto; | 38 overflow: auto; |
132 } | 39 } |
133 | 40 |
134 .sprite | 41 .sprite |
135 { | 42 { |
136 display: inline-block; | 43 display: inline-block; |
137 font-size: 0px; /* fix for IE6 height bug */ | 44 font-size: 0px; /* fix for IE6 height bug */ |
138 background-image: url(../img/sprite-main.png); | 45 background-image: url(../img/sprite-main.png); |
139 background-repeat: no-repeat; | 46 background-repeat: no-repeat; |
140 } | |
141 | |
142 /******************************************************************************* | |
143 * #navbar | |
144 ******************************************************************************/ | |
145 | |
146 #navbar | |
147 { | |
148 height: 4em; | |
149 background-color: #c70d2c; | |
150 } | |
151 | |
152 #navbar ul | |
153 { | |
154 margin: 0em; | |
155 padding: 0em; | |
156 } | |
157 | |
158 #navbar li | |
159 { | |
160 list-style-type: none; | |
161 } | |
162 | |
163 #navbar .container | |
164 { | |
165 padding: 0em; | |
166 } | |
167 | |
168 @media(max-width: 1199px) | |
169 { | |
170 #navbar .container | |
171 { | |
172 width: 100%; | |
173 } | |
174 } | |
175 | |
176 /* #navbar #logo | |
177 ******************************************************************************/ | |
178 | |
179 #logo | |
180 { | |
181 padding-left: 1em; | |
182 padding-right: 1em; | |
183 color: #fff; | |
184 } | |
185 | |
186 #logo:hover, | |
187 #logo:active, | |
188 #logo:focus | |
189 { | |
190 background-color: #AE0013; | |
191 text-decoration: none; | |
192 } | |
193 | |
194 #logo, | |
195 #logo > * | |
196 { | |
197 display: block; | |
198 float: left; | |
199 } | |
200 | |
201 [dir="rtl"] #logo, | |
202 [dir="rtl"] #logo > * | |
203 { | |
204 float: right; | |
205 } | |
206 | |
207 #logo img | |
208 { | |
209 height: 3em; | |
210 padding-top: 0.5em; | |
211 padding-bottom: 0.5em; | |
212 margin-right: 1em; | |
213 } | |
214 | |
215 [dir="rtl"] #logo > img | |
216 { | |
217 margin-left: 1em; | |
218 } | |
219 | |
220 #logo > span | |
221 { | |
222 line-height: 2.909090em; | |
223 font-size: 1.375em; | |
224 } | |
225 | |
226 /* #navbar #menu-toggle | |
227 ******************************************************************************/ | |
228 | |
229 #menu-toggle | |
230 { | |
231 display: block; | |
232 } | |
233 | |
234 #menu-toggle, | |
235 #menu-toggle > img | |
236 { | |
237 float: right; | |
238 } | |
239 | |
240 [dir="rtl"] #menu-toggle, | |
241 [dir="rtl"] #menu-toggle > img | |
242 { | |
243 float: left; | |
244 } | |
245 | |
246 #menu-toggle > img | |
247 { | |
248 display: inline-block; | |
249 height: 2em; | |
250 padding: 1em 1em; | |
251 } | |
252 | |
253 #menu-toggle:hover, | |
254 #menu-toggle:active, | |
255 #menu-toggle:focus | |
256 { | |
257 background-color: #AE0013; | |
258 } | |
259 | |
260 @media(min-width: 992px) | |
261 { | |
262 #menu-toggle | |
263 { | |
264 display: none; | |
265 } | |
266 } | |
267 | |
268 /* #navbar #navbar-menu | |
269 ******************************************************************************/ | |
270 | |
271 #navbar-menu a | |
272 { | |
273 color: #fff; | |
274 text-decoration: none; | |
275 } | |
276 | |
277 /* #navbar #navbar-menu (desktop) | |
278 ******************************************************************************/ | |
279 | |
280 @media(min-width: 992px) | |
281 { | |
282 #navbar-menu | |
283 { | |
284 float: right; | |
285 } | |
286 | |
287 [dir="rtl"] #navbar-menu | |
288 { | |
289 float: left; | |
290 } | |
291 | |
292 #navbar-menu > li, | |
293 #navbar-menu > li > a | |
294 { | |
295 display: inline-block; | |
296 } | |
297 | |
298 #navbar-menu > li > a | |
299 { | |
300 padding-right: 1em; | |
301 padding-left: 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 #locale-menu | |
313 ****************************************************************************/ | |
314 | |
315 #locale-menubar | |
316 { | |
317 position: relative; | |
318 } | |
319 | |
320 #locale-menu | |
321 { | |
322 position: absolute; | |
323 display: none; | |
324 min-width: 16em; | |
325 max-height: 20em; | |
326 max-height: 50vh; | |
327 top: 100%; | |
328 right: 0px; | |
329 overflow: auto; | |
330 z-index: 1000; | |
331 background-color: #292929; | |
332 } | |
333 | |
334 [dir="rtl"] #locale-menu | |
335 { | |
336 right: auto; | |
337 left: 0px; | |
338 } | |
339 | |
340 #locale-menu.visible | |
341 { | |
342 display: block; | |
343 } | |
344 | |
345 #locale-menu > li, | |
346 #locale-menu > li > a | |
347 { | |
348 display: block; | |
349 white-space: nowrap; | |
350 } | |
351 | |
352 #locale-menu > li > a | |
353 { | |
354 padding-left: 1em; | |
355 padding-right: 1em; | |
356 line-height: 3em; | |
357 text-decoration: none; | |
358 } | |
359 | |
360 #locale-menu > li > a:hover, | |
361 #locale-menu > li > a:active, | |
362 #locale-menu > li > a:focus | |
363 { | |
364 background-color: #434343; | |
365 } | |
366 | |
367 /* caret */ | |
368 #locale-selected::after | |
369 { | |
370 display: inline-block; | |
371 width: 0; | |
372 height: 0; | |
373 margin-left: .255em; | |
374 vertical-align: .255em; | |
375 content: ""; | |
376 border-top: .3em solid; | |
377 border-right: .3em solid transparent; | |
378 border-left: .3em solid transparent; | |
379 } | |
380 } | |
381 | |
382 /* #navbar #navbar-menu (mobile) | |
383 ******************************************************************************/ | |
384 | |
385 @media(max-width: 991px) | |
386 { | |
387 #navbar-menu | |
388 { | |
389 display: none; | |
390 float: left; | |
391 background-color: #292929; | |
392 } | |
393 | |
394 #navbar-menu.visible, | |
395 #navbar-menu li, | |
396 #navbar-menu li a | |
397 { | |
398 display: block; | |
399 } | |
400 | |
401 #navbar-menu li a | |
402 { | |
403 line-height: 3em; | |
404 padding-left: 1em; | |
405 padding-right: 1em; | |
406 } | |
407 | |
408 #navbar-menu li a:hover, | |
409 #navbar-menu li a:active, | |
410 #navbar-menu li a:focus | |
411 { | |
412 background-color: #434343; | |
413 } | |
414 | |
415 /* locales appear inline in mobile menu */ | |
416 #locale-menu li, | |
417 #locale-menu a | |
418 { | |
419 display: inline-block; | |
420 } | |
421 | |
422 /* selected locale does not appear in mobile menu */ | |
423 #navbar-menu #locale-selected | |
424 { | |
425 display: none; | |
426 } | |
427 } | |
428 | |
429 #content h1 | |
430 { | |
431 font-size: 30px; | |
432 } | |
433 | |
434 #content h2 | |
435 { | |
436 font-weight: bold; | |
437 font-size: 25px; | |
438 } | |
439 | |
440 #content h3 | |
441 { | |
442 font-size: 20px; | |
443 } | 47 } |
444 | 48 |
445 #adblock-browser-notification | 49 #adblock-browser-notification |
446 { | 50 { |
447 text-align: center; | 51 text-align: center; |
448 } | 52 } |
449 | 53 |
450 #adblock-browser-notification a | 54 #adblock-browser-notification a |
451 { | 55 { |
452 font-weight: bold; | 56 font-weight: bold; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
596 | 200 |
597 [dir="ltr"] .alert | 201 [dir="ltr"] .alert |
598 { | 202 { |
599 border-left: 5px solid #d14841; | 203 border-left: 5px solid #d14841; |
600 } | 204 } |
601 | 205 |
602 [dir="rtl"] .alert | 206 [dir="rtl"] .alert |
603 { | 207 { |
604 border-right: 5px solid #d14841; | 208 border-right: 5px solid #d14841; |
605 } | 209 } |
| 210 |
| 211 /****************************************************************************** |
| 212 * .content |
| 213 *****************************************************************************/ |
| 214 |
| 215 .content h1, |
| 216 .content h2, |
| 217 .content h3, |
| 218 .content h4, |
| 219 .content h5 |
| 220 { |
| 221 font-weight: bold; |
| 222 margin: 32px 0px; |
| 223 margin: 2rem 0rem; |
| 224 } |
| 225 |
| 226 .content h1 { font-size: 2.4em; } |
| 227 .content h2 { font-size: 1.6em; } |
| 228 .content h3 { font-size: 1.3em; } |
| 229 .content h4 { font-size: 1.2em; } |
| 230 .content h5 { font-size: 1.1em; } |
| 231 |
| 232 /******************************************************************************* |
| 233 * #navbar |
| 234 ******************************************************************************/ |
| 235 |
| 236 #navbar |
| 237 { |
| 238 height: 4em; |
| 239 background-color: #c70d2c; |
| 240 } |
| 241 |
| 242 #navbar li |
| 243 { |
| 244 list-style-type: none; |
| 245 } |
| 246 |
| 247 /* padding provided by navbar contents */ |
| 248 .navbar-container |
| 249 { |
| 250 width: 1170px; |
| 251 margin: 0 auto; |
| 252 } |
| 253 |
| 254 /* full-width under .container max-width */ |
| 255 @media(max-width: 1199px) |
| 256 { |
| 257 .navbar-container |
| 258 { |
| 259 width: 100%; |
| 260 } |
| 261 } |
| 262 |
| 263 /* #navbar #navbar-logo |
| 264 ******************************************************************************/ |
| 265 |
| 266 #navbar-logo |
| 267 { |
| 268 /* padding is visible in hover background-color change */ |
| 269 padding: 0em 1em; |
| 270 color: #fff; |
| 271 } |
| 272 |
| 273 #navbar-logo:hover, |
| 274 #navbar-logo:active, |
| 275 #navbar-logo:focus |
| 276 { |
| 277 background-color: #AE0013; |
| 278 text-decoration: none; |
| 279 } |
| 280 |
| 281 #navbar-logo, |
| 282 #navbar-logo > * |
| 283 { |
| 284 float: left; |
| 285 } |
| 286 |
| 287 [dir="rtl"] #navbar-logo, |
| 288 [dir="rtl"] #navbar-logo > * |
| 289 { |
| 290 float: right; |
| 291 } |
| 292 |
| 293 #navbar-logo img |
| 294 { |
| 295 height: 4em; |
| 296 padding: 0.5em 0em; |
| 297 margin: 0em 1em 0em 0em; |
| 298 } |
| 299 |
| 300 [dir="rtl"] #navbar-logo > img |
| 301 { |
| 302 margin: 0em 0em 0em 1em; |
| 303 } |
| 304 |
| 305 #navbar-logo > span |
| 306 { |
| 307 /* full-height: 2.91 * 1.375 = ~4em */ |
| 308 line-height: 2.91em; |
| 309 font-size: 1.375em; |
| 310 } |
| 311 |
| 312 /* #navbar #navbar-menu-toggle |
| 313 ******************************************************************************/ |
| 314 |
| 315 #navbar-menu-toggle |
| 316 { |
| 317 float: right; |
| 318 padding: 1em; |
| 319 } |
| 320 |
| 321 [dir="rtl"] #navbar-menu-toggle |
| 322 { |
| 323 float: left; |
| 324 } |
| 325 |
| 326 /* show on mobile */ |
| 327 #navbar-menu-toggle, |
| 328 #navbar-menu-toggle > img |
| 329 { |
| 330 display: block; |
| 331 } |
| 332 |
| 333 /* hide on desktop */ |
| 334 @media(min-width: 992px) |
| 335 { |
| 336 #navbar-menu-toggle |
| 337 { |
| 338 display: none; |
| 339 } |
| 340 } |
| 341 |
| 342 #navbar-menu-toggle > img |
| 343 { |
| 344 /* plus 2em padding = 4em */ |
| 345 height: 2em; |
| 346 } |
| 347 |
| 348 #navbar-menu-toggle:hover, |
| 349 #navbar-menu-toggle:active, |
| 350 #navbar-menu-toggle:focus |
| 351 { |
| 352 background-color: #AE0013; |
| 353 } |
| 354 |
| 355 /* #navbar #navbar-menu |
| 356 ******************************************************************************/ |
| 357 |
| 358 #navbar-menu a |
| 359 { |
| 360 display: block; |
| 361 color: #fff; |
| 362 text-decoration: none; |
| 363 } |
| 364 |
| 365 /* #navbar #navbar-menu #navbar-locale-menu |
| 366 ******************************************************************************/ |
| 367 |
| 368 /* caret */ |
| 369 #navbar-locale-selected:after |
| 370 { |
| 371 display: inline-block; |
| 372 width: 0; |
| 373 height: 0; |
| 374 margin: 0em 0em 0em 0.255em; |
| 375 vertical-align: .255em; |
| 376 content: ""; |
| 377 border-top: .3em solid; |
| 378 border-right: .3em solid transparent; |
| 379 border-left: .3em solid transparent; |
| 380 } |
| 381 |
| 382 [dir="rtl"] #navbar-locale-selected:after |
| 383 { |
| 384 margin: 0em 0.255em 0em 0em; |
| 385 } |
| 386 |
| 387 #navbar-locale-menu |
| 388 { |
| 389 display: none; |
| 390 } |
| 391 |
| 392 #navbar-locale-menu.visible |
| 393 { |
| 394 display: block; |
| 395 } |
| 396 |
| 397 #navbar-locale-menu > li > a |
| 398 { |
| 399 padding: 0.75em 1em; |
| 400 } |
| 401 |
| 402 #navbar-locale-menu > li > a:hover, |
| 403 #navbar-locale-menu > li > a:active, |
| 404 #navbar-locale-menu > li > a:focus |
| 405 { |
| 406 background-color: #434343; |
| 407 } |
| 408 |
| 409 /* #navbar #navbar-menu (desktop) |
| 410 ******************************************************************************/ |
| 411 |
| 412 @media(min-width: 992px) |
| 413 { |
| 414 #navbar-menu |
| 415 { |
| 416 float: right; |
| 417 } |
| 418 |
| 419 [dir="rtl"] #navbar-menu |
| 420 { |
| 421 float: left; |
| 422 } |
| 423 |
| 424 #navbar-menu > li, |
| 425 #navbar-menu > li > a |
| 426 { |
| 427 display: inline-block; |
| 428 } |
| 429 |
| 430 #navbar-menu > li > a |
| 431 { |
| 432 padding: 0em 1em; |
| 433 line-height: 4em; |
| 434 } |
| 435 |
| 436 #navbar-menu > li > a:hover, |
| 437 #navbar-menu > li > a:active, |
| 438 #navbar-menu > li > a:focus |
| 439 { |
| 440 background-color: #AE0013; |
| 441 } |
| 442 |
| 443 /* #navbar #navbar-menu #navbar-locale-menu |
| 444 ****************************************************************************/ |
| 445 |
| 446 #navbar-locale-menubar |
| 447 { |
| 448 position: relative; |
| 449 } |
| 450 |
| 451 #navbar-locale-menu |
| 452 { |
| 453 position: absolute; |
| 454 min-width: 16em; |
| 455 max-height: 20em; |
| 456 max-height: 50vh; |
| 457 top: 100%; |
| 458 right: 0px; |
| 459 overflow: auto; |
| 460 z-index: 9001; |
| 461 background-color: #292929; |
| 462 } |
| 463 |
| 464 [dir="rtl"] #navbar-locale-menu |
| 465 { |
| 466 right: auto; |
| 467 left: 0px; |
| 468 } |
| 469 } |
| 470 |
| 471 /* #navbar #navbar-menu (mobile) |
| 472 ******************************************************************************/ |
| 473 |
| 474 @media(max-width: 991px) |
| 475 { |
| 476 #navbar-menu |
| 477 { |
| 478 display: none; |
| 479 float: left; |
| 480 clear: both; |
| 481 width: 100%; |
| 482 background-color: #292929; |
| 483 } |
| 484 |
| 485 #navbar-menu.visible |
| 486 { |
| 487 display: block; |
| 488 } |
| 489 |
| 490 #navbar-menu li a |
| 491 { |
| 492 padding: 0.75em 1em; |
| 493 } |
| 494 |
| 495 #navbar-menu li a:hover, |
| 496 #navbar-menu li a:active, |
| 497 #navbar-menu li a:focus |
| 498 { |
| 499 background-color: #434343; |
| 500 } |
| 501 } |
LEFT | RIGHT |