| 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 { | 2 { |
| 95 font-family: 'Source Sans Pro', sans-serif; | 3 font-family: Arial, sans; |
| 96 font-size: 16px; | 4 font-size: 16px; |
| 97 } | 5 } |
| 98 | 6 |
| 99 body | 7 body |
| 100 { | 8 { |
| 101 margin: 0; | 9 margin: 0; |
| 102 line-height: 1.5; | 10 line-height: 1.5; |
| 103 } | 11 } |
| 104 | 12 |
| 105 a img | 13 a img |
| (...skipping 23 matching lines...) Expand all Loading... |
| 129 border: 1px solid black; | 37 border: 1px solid black; |
| 130 overflow: auto; | 38 overflow: auto; |
| 131 } | 39 } |
| 132 | 40 |
| 133 .sprite | 41 .sprite |
| 134 { | 42 { |
| 135 display: inline-block; | 43 display: inline-block; |
| 136 font-size: 0px; /* fix for IE6 height bug */ | 44 font-size: 0px; /* fix for IE6 height bug */ |
| 137 background-image: url(../img/sprite-main.png); | 45 background-image: url(../img/sprite-main.png); |
| 138 background-repeat: no-repeat; | 46 background-repeat: no-repeat; |
| 139 } | |
| 140 | |
| 141 /******************************************************************************* | |
| 142 * #navbar | |
| 143 ******************************************************************************/ | |
| 144 | |
| 145 #navbar | |
| 146 { | |
| 147 height: 4em; | |
| 148 background-color: #c70d2c; | |
| 149 } | |
| 150 | |
| 151 #navbar ul | |
| 152 { | |
| 153 margin: 0em; | |
| 154 padding: 0em; | |
| 155 } | |
| 156 | |
| 157 #navbar li | |
| 158 { | |
| 159 list-style-type: none; | |
| 160 } | |
| 161 | |
| 162 #navbar .container | |
| 163 { | |
| 164 padding: 0em; | |
| 165 } | |
| 166 | |
| 167 @media(max-width: 1199px) | |
| 168 { | |
| 169 #navbar .container | |
| 170 { | |
| 171 width: 100%; | |
| 172 } | |
| 173 } | |
| 174 | |
| 175 /* #navbar #logo | |
| 176 ******************************************************************************/ | |
| 177 | |
| 178 #logo | |
| 179 { | |
| 180 padding-left: 1em; | |
| 181 padding-right: 1em; | |
| 182 color: #fff; | |
| 183 } | |
| 184 | |
| 185 #logo:hover, | |
| 186 #logo:active, | |
| 187 #logo:focus | |
| 188 { | |
| 189 background-color: #AE0013; | |
| 190 text-decoration: none; | |
| 191 } | |
| 192 | |
| 193 #logo, | |
| 194 #logo > * | |
| 195 { | |
| 196 display: block; | |
| 197 float: left; | |
| 198 } | |
| 199 | |
| 200 [dir="rtl"] #logo, | |
| 201 [dir="rtl"] #logo > * | |
| 202 { | |
| 203 float: right; | |
| 204 } | |
| 205 | |
| 206 #logo img | |
| 207 { | |
| 208 height: 3em; | |
| 209 padding-top: 0.5em; | |
| 210 padding-bottom: 0.5em; | |
| 211 margin-right: 1em; | |
| 212 } | |
| 213 | |
| 214 [dir="rtl"] #logo > img | |
| 215 { | |
| 216 margin-left: 1em; | |
| 217 } | |
| 218 | |
| 219 #logo > span | |
| 220 { | |
| 221 line-height: 2.909090em; | |
| 222 font-size: 1.375em; | |
| 223 } | |
| 224 | |
| 225 /* #navbar #menu-toggle | |
| 226 ******************************************************************************/ | |
| 227 | |
| 228 #menu-toggle | |
| 229 { | |
| 230 display: block; | |
| 231 } | |
| 232 | |
| 233 #menu-toggle, | |
| 234 #menu-toggle > img | |
| 235 { | |
| 236 float: right; | |
| 237 } | |
| 238 | |
| 239 [dir="rtl"] #menu-toggle, | |
| 240 [dir="rtl"] #menu-toggle > img | |
| 241 { | |
| 242 float: left; | |
| 243 } | |
| 244 | |
| 245 #menu-toggle > img | |
| 246 { | |
| 247 display: inline-block; | |
| 248 height: 2em; | |
| 249 padding: 1em 1em; | |
| 250 } | |
| 251 | |
| 252 #menu-toggle:hover, | |
| 253 #menu-toggle:active, | |
| 254 #menu-toggle:focus | |
| 255 { | |
| 256 background-color: #AE0013; | |
| 257 } | |
| 258 | |
| 259 @media(min-width: 992px) | |
| 260 { | |
| 261 #menu-toggle | |
| 262 { | |
| 263 display: none; | |
| 264 } | |
| 265 } | |
| 266 | |
| 267 /* #navbar #navbar-menu | |
| 268 ******************************************************************************/ | |
| 269 | |
| 270 #navbar-menu a | |
| 271 { | |
| 272 color: #fff; | |
| 273 text-decoration: none; | |
| 274 } | |
| 275 | |
| 276 /* #navbar #navbar-menu (desktop) | |
| 277 ******************************************************************************/ | |
| 278 | |
| 279 @media(min-width: 992px) | |
| 280 { | |
| 281 #navbar-menu | |
| 282 { | |
| 283 float: right; | |
| 284 } | |
| 285 | |
| 286 [dir="rtl"] #navbar-menu | |
| 287 { | |
| 288 float: left; | |
| 289 } | |
| 290 | |
| 291 #navbar-menu > li, | |
| 292 #navbar-menu > li > a | |
| 293 { | |
| 294 display: inline-block; | |
| 295 } | |
| 296 | |
| 297 #navbar-menu > li > a | |
| 298 { | |
| 299 padding-right: 1em; | |
| 300 padding-left: 1em; | |
| 301 line-height: 4em; | |
| 302 } | |
| 303 | |
| 304 #navbar-menu > li > a:hover, | |
| 305 #navbar-menu > li > a:active, | |
| 306 #navbar-menu > li > a:focus | |
| 307 { | |
| 308 background-color: #AE0013; | |
| 309 } | |
| 310 | |
| 311 /* #navbar #navbar-menu #locale-menu | |
| 312 ****************************************************************************/ | |
| 313 | |
| 314 #locale-menubar | |
| 315 { | |
| 316 position: relative; | |
| 317 } | |
| 318 | |
| 319 #locale-menu | |
| 320 { | |
| 321 position: absolute; | |
| 322 display: none; | |
| 323 min-width: 16em; | |
| 324 max-height: 20em; | |
| 325 max-height: 50vh; | |
| 326 top: 100%; | |
| 327 right: 0px; | |
| 328 overflow: auto; | |
| 329 z-index: 1000; | |
| 330 background-color: #292929; | |
| 331 } | |
| 332 | |
| 333 [dir="rtl"] #locale-menu | |
| 334 { | |
| 335 right: auto; | |
| 336 left: 0px; | |
| 337 } | |
| 338 | |
| 339 #locale-menu.visible | |
| 340 { | |
| 341 display: block; | |
| 342 } | |
| 343 | |
| 344 #locale-menu > li, | |
| 345 #locale-menu > li > a | |
| 346 { | |
| 347 display: block; | |
| 348 white-space: nowrap; | |
| 349 } | |
| 350 | |
| 351 #locale-menu > li > a | |
| 352 { | |
| 353 padding-left: 1em; | |
| 354 padding-right: 1em; | |
| 355 line-height: 3em; | |
| 356 text-decoration: none; | |
| 357 } | |
| 358 | |
| 359 #locale-menu > li > a:hover, | |
| 360 #locale-menu > li > a:active, | |
| 361 #locale-menu > li > a:focus | |
| 362 { | |
| 363 background-color: #434343; | |
| 364 } | |
| 365 | |
| 366 /* caret */ | |
| 367 #locale-selected::after | |
| 368 { | |
| 369 display: inline-block; | |
| 370 width: 0; | |
| 371 height: 0; | |
| 372 margin-left: .255em; | |
| 373 vertical-align: .255em; | |
| 374 content: ""; | |
| 375 border-top: .3em solid; | |
| 376 border-right: .3em solid transparent; | |
| 377 border-left: .3em solid transparent; | |
| 378 } | |
| 379 } | |
| 380 | |
| 381 /* #navbar #navbar-menu (mobile) | |
| 382 ******************************************************************************/ | |
| 383 | |
| 384 @media(max-width: 991px) | |
| 385 { | |
| 386 #navbar-menu | |
| 387 { | |
| 388 display: none; | |
| 389 float: left; | |
| 390 background-color: #292929; | |
| 391 } | |
| 392 | |
| 393 #navbar-menu.visible, | |
| 394 #navbar-menu li, | |
| 395 #navbar-menu li a | |
| 396 { | |
| 397 display: block; | |
| 398 } | |
| 399 | |
| 400 #navbar-menu li a | |
| 401 { | |
| 402 line-height: 3em; | |
| 403 padding-left: 1em; | |
| 404 padding-right: 1em; | |
| 405 } | |
| 406 | |
| 407 #navbar-menu li a:hover, | |
| 408 #navbar-menu li a:active, | |
| 409 #navbar-menu li a:focus | |
| 410 { | |
| 411 background-color: #434343; | |
| 412 } | |
| 413 | |
| 414 /* locales appear inline in mobile menu */ | |
| 415 #locale-menu li, | |
| 416 #locale-menu a | |
| 417 { | |
| 418 display: inline-block; | |
| 419 } | |
| 420 | |
| 421 /* selected locale does not appear in mobile menu */ | |
| 422 #navbar-menu #locale-selected | |
| 423 { | |
| 424 display: none; | |
| 425 } | |
| 426 } | |
| 427 | |
| 428 #content h1 | |
| 429 { | |
| 430 font-size: 30px; | |
| 431 } | |
| 432 | |
| 433 #content h2 | |
| 434 { | |
| 435 font-weight: bold; | |
| 436 font-size: 25px; | |
| 437 } | |
| 438 | |
| 439 #content h3 | |
| 440 { | |
| 441 font-size: 20px; | |
| 442 } | 47 } |
| 443 | 48 |
| 444 #adblock-browser-notification | 49 #adblock-browser-notification |
| 445 { | 50 { |
| 446 text-align: center; | 51 text-align: center; |
| 447 } | 52 } |
| 448 | 53 |
| 449 #adblock-browser-notification a | 54 #adblock-browser-notification a |
| 450 { | 55 { |
| 451 font-weight: bold; | 56 font-weight: bold; |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 | 200 |
| 596 [dir="ltr"] .alert | 201 [dir="ltr"] .alert |
| 597 { | 202 { |
| 598 border-left: 5px solid #d14841; | 203 border-left: 5px solid #d14841; |
| 599 } | 204 } |
| 600 | 205 |
| 601 [dir="rtl"] .alert | 206 [dir="rtl"] .alert |
| 602 { | 207 { |
| 603 border-right: 5px solid #d14841; | 208 border-right: 5px solid #d14841; |
| 604 } | 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 |