OLD | NEW |
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 line-height: 1.5; | 10 line-height: 1.5; |
(...skipping 28 matching lines...) Expand all Loading... |
39 } | 39 } |
40 | 40 |
41 .sprite | 41 .sprite |
42 { | 42 { |
43 display: inline-block; | 43 display: inline-block; |
44 font-size: 0px; /* fix for IE6 height bug */ | 44 font-size: 0px; /* fix for IE6 height bug */ |
45 background-image: url(../img/sprite-main.png); | 45 background-image: url(../img/sprite-main.png); |
46 background-repeat: no-repeat; | 46 background-repeat: no-repeat; |
47 } | 47 } |
48 | 48 |
49 nav ul | |
50 { | |
51 list-style: none; | |
52 margin: 0; | |
53 padding: 0; | |
54 } | |
55 | |
56 nav a:link, nav a:visited | |
57 { | |
58 color: #7d7d7d; | |
59 text-decoration: none; | |
60 } | |
61 | |
62 nav a:hover | |
63 { | |
64 text-decoration: underline; | |
65 } | |
66 | |
67 header | |
68 { | |
69 display: block; | |
70 position: relative; | |
71 background: white; | |
72 border: 1px solid #d9d9d9; | |
73 border-top: none; | |
74 box-shadow: 1px 1px 0 0 #d9d9d9; | |
75 z-index: 1; | |
76 } | |
77 | |
78 header nav li | |
79 { | |
80 padding: 0px 5px; | |
81 } | |
82 | |
83 header nav li.selected | |
84 { | |
85 color: #db1313; | |
86 text-shadow: 1px 1px 1px #eee; | |
87 cursor: default; | |
88 } | |
89 | |
90 header nav li.install-link a | |
91 { | |
92 color: #048e48; | |
93 } | |
94 | |
95 header nav li.install-link .install-link-icon | |
96 { | |
97 display: inline-block; | |
98 width: 12px; | |
99 height: 12px; | |
100 background-position: -167px -13px; | |
101 } | |
102 | |
103 .language-entry a | |
104 { | |
105 display: block; | |
106 } | |
107 | |
108 #logo | |
109 { | |
110 position: absolute; | |
111 width: 128px; | |
112 height: 128px; | |
113 background-position: -83px -83px; | |
114 } | |
115 | |
116 #adblock-browser-notification | 49 #adblock-browser-notification |
117 { | 50 { |
118 text-align: center; | 51 text-align: center; |
119 } | 52 } |
120 | 53 |
121 #adblock-browser-notification a | 54 #adblock-browser-notification a |
122 { | 55 { |
123 font-weight: bold; | 56 font-weight: bold; |
124 } | 57 } |
125 | 58 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 margin: 4px 0; | 94 margin: 4px 0; |
162 } | 95 } |
163 | 96 |
164 #footer-main | 97 #footer-main |
165 { | 98 { |
166 display: block; | 99 display: block; |
167 background: white; | 100 background: white; |
168 box-shadow: 0 -1px 0 0 #b5b4b0, 0 -2px 0 0 #e4e1dc; | 101 box-shadow: 0 -1px 0 0 #b5b4b0, 0 -2px 0 0 #e4e1dc; |
169 padding: 0; | 102 padding: 0; |
170 line-height: 1; | 103 line-height: 1; |
| 104 |
| 105 /* Disable the sticky footer in IE6/7 */ |
| 106 .position: relative; |
| 107 .bottom: 220px; |
171 } | 108 } |
172 | 109 |
173 #footer-main nav h1, #footer-main nav li | 110 #footer-main nav h1, #footer-main nav li |
174 { | 111 { |
175 color: #444444; | 112 color: #444444; |
176 border-bottom: 1px solid #dedede; | 113 border-bottom: 1px solid #dedede; |
177 } | 114 } |
178 | 115 |
179 #footer-main h1 | 116 #footer-main h1 |
180 { | 117 { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 font-weight: bold; | 225 font-weight: bold; |
289 margin: 32px 0px; | 226 margin: 32px 0px; |
290 margin: 2rem 0rem; | 227 margin: 2rem 0rem; |
291 } | 228 } |
292 | 229 |
293 .content h1 { font-size: 2.4em; } | 230 .content h1 { font-size: 2.4em; } |
294 .content h2 { font-size: 1.6em; } | 231 .content h2 { font-size: 1.6em; } |
295 .content h3 { font-size: 1.3em; } | 232 .content h3 { font-size: 1.3em; } |
296 .content h4 { font-size: 1.2em; } | 233 .content h4 { font-size: 1.2em; } |
297 .content h5 { font-size: 1.1em; } | 234 .content h5 { font-size: 1.1em; } |
| 235 |
| 236 /******************************************************************************* |
| 237 * #navbar |
| 238 ******************************************************************************/ |
| 239 |
| 240 #navbar |
| 241 { |
| 242 height: 4em; |
| 243 background-color: #c70d2c; |
| 244 } |
| 245 |
| 246 #navbar li |
| 247 { |
| 248 list-style-type: none; |
| 249 } |
| 250 |
| 251 /* padding provided by navbar contents */ |
| 252 #navbar .container |
| 253 { |
| 254 padding: 0em; |
| 255 } |
| 256 |
| 257 /* full-width under .container max-width */ |
| 258 @media(max-width: 1199px) |
| 259 { |
| 260 #navbar .container |
| 261 { |
| 262 width: 100%; |
| 263 } |
| 264 } |
| 265 |
| 266 /* #navbar #navbar-logo |
| 267 ******************************************************************************/ |
| 268 |
| 269 #navbar-logo |
| 270 { |
| 271 /* padding is visible in hover background-color change */ |
| 272 padding-left: 1em; |
| 273 padding-right: 1em; |
| 274 color: #fff; |
| 275 } |
| 276 |
| 277 #navbar-logo:hover, |
| 278 #navbar-logo:active, |
| 279 #navbar-logo:focus |
| 280 { |
| 281 background-color: #AE0013; |
| 282 text-decoration: none; |
| 283 } |
| 284 |
| 285 #navbar-logo, |
| 286 #navbar-logo > * |
| 287 { |
| 288 display: block; |
| 289 float: left; |
| 290 } |
| 291 |
| 292 [dir="rtl"] #navbar-logo, |
| 293 [dir="rtl"] #navbar-logo > * |
| 294 { |
| 295 float: right; |
| 296 } |
| 297 |
| 298 #navbar-logo img |
| 299 { |
| 300 height: 4em; |
| 301 padding-top: 0.5em; |
| 302 padding-bottom: 0.5em; |
| 303 margin-right: 1em; |
| 304 } |
| 305 |
| 306 [dir="rtl"] #navbar-logo > img |
| 307 { |
| 308 margin-left: 1em; |
| 309 } |
| 310 |
| 311 #navbar-logo > span |
| 312 { |
| 313 /* full-height: 2.91 * 1.375 = ~4em */ |
| 314 line-height: 2.91em; |
| 315 font-size: 1.375em; |
| 316 } |
| 317 |
| 318 /* #navbar #navbar-menu-toggle |
| 319 ******************************************************************************/ |
| 320 |
| 321 #navbar-menu-toggle |
| 322 { |
| 323 float: right; |
| 324 padding: 1em; |
| 325 } |
| 326 |
| 327 [dir="rtl"] #navbar-menu-toggle |
| 328 { |
| 329 float: left; |
| 330 } |
| 331 |
| 332 /* show on mobile */ |
| 333 #navbar-menu-toggle, |
| 334 #navbar-menu-toggle > img |
| 335 { |
| 336 display: block; |
| 337 } |
| 338 |
| 339 /* hide on desktop */ |
| 340 @media(min-width: 992px) |
| 341 { |
| 342 #navbar-menu-toggle |
| 343 { |
| 344 display: none; |
| 345 } |
| 346 } |
| 347 |
| 348 #navbar-menu-toggle > img |
| 349 { |
| 350 /* plus 2em padding = 4em */ |
| 351 height: 2em; |
| 352 } |
| 353 |
| 354 #navbar-menu-toggle:hover, |
| 355 #navbar-menu-toggle:active, |
| 356 #navbar-menu-toggle:focus |
| 357 { |
| 358 background-color: #AE0013; |
| 359 } |
| 360 |
| 361 /* #navbar #navbar-menu |
| 362 ******************************************************************************/ |
| 363 |
| 364 #navbar-menu a |
| 365 { |
| 366 display: block; |
| 367 color: #fff; |
| 368 text-decoration: none; |
| 369 } |
| 370 |
| 371 /* #navbar #navbar-menu #navbar-locale-menu |
| 372 ******************************************************************************/ |
| 373 |
| 374 /* caret */ |
| 375 #navbar-locale-selected::after |
| 376 { |
| 377 display: inline-block; |
| 378 width: 0; |
| 379 height: 0; |
| 380 margin-left: .255em; |
| 381 vertical-align: .255em; |
| 382 content: ""; |
| 383 border-top: .3em solid; |
| 384 border-right: .3em solid transparent; |
| 385 border-left: .3em solid transparent; |
| 386 } |
| 387 |
| 388 #navbar-locale-menu |
| 389 { |
| 390 display: none; |
| 391 } |
| 392 |
| 393 #navbar-locale-menu.visible |
| 394 { |
| 395 display: block; |
| 396 } |
| 397 |
| 398 #navbar-locale-menu > li > a |
| 399 { |
| 400 padding: 0.75em 1em; |
| 401 } |
| 402 |
| 403 #navbar-locale-menu > li > a:hover, |
| 404 #navbar-locale-menu > li > a:active, |
| 405 #navbar-locale-menu > li > a:focus |
| 406 { |
| 407 background-color: #434343; |
| 408 } |
| 409 |
| 410 /* #navbar #navbar-menu (desktop) |
| 411 ******************************************************************************/ |
| 412 |
| 413 @media(min-width: 992px) |
| 414 { |
| 415 #navbar-menu |
| 416 { |
| 417 float: right; |
| 418 } |
| 419 |
| 420 [dir="rtl"] #navbar-menu |
| 421 { |
| 422 float: left; |
| 423 } |
| 424 |
| 425 #navbar-menu > li, |
| 426 #navbar-menu > li > a |
| 427 { |
| 428 display: inline-block; |
| 429 } |
| 430 |
| 431 #navbar-menu > li > a |
| 432 { |
| 433 padding-right: 1em; |
| 434 padding-left: 1em; |
| 435 line-height: 4em; |
| 436 } |
| 437 |
| 438 #navbar-menu > li > a:hover, |
| 439 #navbar-menu > li > a:active, |
| 440 #navbar-menu > li > a:focus |
| 441 { |
| 442 background-color: #AE0013; |
| 443 } |
| 444 |
| 445 /* #navbar #navbar-menu #navbar-locale-menu |
| 446 ****************************************************************************/ |
| 447 |
| 448 #navbar-locale-menubar |
| 449 { |
| 450 position: relative; |
| 451 } |
| 452 |
| 453 #navbar-locale-menu |
| 454 { |
| 455 position: absolute; |
| 456 min-width: 16em; |
| 457 max-height: 20em; |
| 458 max-height: 50vh; |
| 459 top: 100%; |
| 460 right: 0px; |
| 461 overflow: auto; |
| 462 z-index: 1000; |
| 463 background-color: #292929; |
| 464 } |
| 465 |
| 466 [dir="rtl"] #navbar-locale-menu |
| 467 { |
| 468 right: auto; |
| 469 left: 0px; |
| 470 } |
| 471 } |
| 472 |
| 473 /* #navbar #navbar-menu (mobile) |
| 474 ******************************************************************************/ |
| 475 |
| 476 @media(max-width: 991px) |
| 477 { |
| 478 #navbar-menu |
| 479 { |
| 480 display: none; |
| 481 float: left; |
| 482 clear: both; |
| 483 width: 100%; |
| 484 background-color: #292929; |
| 485 } |
| 486 |
| 487 #navbar-menu.visible |
| 488 { |
| 489 display: block; |
| 490 } |
| 491 |
| 492 #navbar-menu li a |
| 493 { |
| 494 padding: 0.75em 1em; |
| 495 } |
| 496 |
| 497 #navbar-menu li a:hover, |
| 498 #navbar-menu li a:active, |
| 499 #navbar-menu li a:focus |
| 500 { |
| 501 background-color: #434343; |
| 502 } |
| 503 } |
OLD | NEW |