|
33 | 33 | --main-background-end-color: #181c21; |
34 | 34 | --content-background-color: #fafafa; |
35 | 35 | --sidenav-header-background-color: #ddd; |
| 36 | + --banner-background-color: var(--primary-color); |
36 | 37 |
|
37 | 38 | --footer-background-start-color: var(--primary-color); |
38 | 39 | --footer-background-end-color: #0f1923; |
@@ -74,8 +75,32 @@ html { |
74 | 75 | body { |
75 | 76 | background-image: url(/img/bg-interior-tile-drk.jpg); |
76 | 77 | background-repeat: repeat-x; |
77 | | - background-position: 50% 0; |
| 78 | + background-position: 50% 80px; |
78 | 79 | } |
| 80 | + |
| 81 | +/* Banner */ |
| 82 | +.banner { |
| 83 | + width: 100%; |
| 84 | + height: 80px; |
| 85 | + background-color: var(--banner-background-color); |
| 86 | + color: white; |
| 87 | + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); |
| 88 | + text-align: center; |
| 89 | + font-size: 0.875rem; |
| 90 | + padding: 0 0.25em; |
| 91 | +} |
| 92 | + |
| 93 | +.banner a[href], |
| 94 | +.banner a[href]:visited { |
| 95 | + color: #5cb5f0; |
| 96 | +} |
| 97 | +.banner a[href]:hover { |
| 98 | + color: var(--text-color-link-hover); |
| 99 | +} |
| 100 | +.banner a[href]:active { |
| 101 | + color: var(--text-color-link-active); |
| 102 | +} |
| 103 | + |
79 | 104 | th, tr { |
80 | 105 | font-family: var(--font-family-alternate); |
81 | 106 | } |
@@ -429,6 +454,11 @@ footer a[href]:visited { |
429 | 454 | justify-content: flex-start; |
430 | 455 | align-items: center; |
431 | 456 | } |
| 457 | +.flex-center { |
| 458 | + display: flex; |
| 459 | + justify-content: center; |
| 460 | + align-items: center; |
| 461 | +} |
432 | 462 |
|
433 | 463 | /* Utility classes */ |
434 | 464 | .white-box { |
@@ -460,6 +490,13 @@ a.ext-link .icon { |
460 | 490 | } |
461 | 491 |
|
462 | 492 | @media(min-width: 920px) { |
| 493 | + body { |
| 494 | + background-position-y: 60px; |
| 495 | + } |
| 496 | + .banner { |
| 497 | + height: 60px; |
| 498 | + font-size: 1rem; |
| 499 | + } |
463 | 500 | header { |
464 | 501 | padding: 0 40px; |
465 | 502 | } |
|
0 commit comments