|
11 | 11 | --vstdev-vst-icon-light-blue-03: #6d879b; |
12 | 12 | --vstdev-vst-icon-dark-blue-01: #648094; |
13 | 13 | --vstdev-vst-icon-dark-blue-02: #273a4a; |
14 | | - /* navbar */ |
15 | | - --vstdev-navbar-background-color: white; |
16 | | - --vstdev-navbar-border-bottom-color: #ebeaeb; |
17 | | - --vstdev-navbar-item-link-color: #1b1b1b; |
18 | | - --vstdev-navbar-item-link-hover-color: var(--vstdev-vst-icon-light-blue-03); |
19 | | - --vstdev-navbar-button-background-color: var(--vstdev-vst-icon-light-blue-01); |
20 | | - --vstdev-navbar-button-hover-color: var(--vstdev-vst-logo-old-middle-lighter-color); |
21 | | - --vstdev-navbar-button-text-color: var(--bulma-title-color); |
22 | | - /* hero */ |
23 | | - --vstdev-hero-link-color: var(--bulma-title-color); |
24 | | - --vstdev-hero-strong-color: var(--bulma-title-color); |
25 | | - --vstdev-hero-link-hover-color: var(--vstdev-vst-icon-light-blue-03); |
26 | | - --vstdev-hero-button-background-color: var(--vstdev-vst-icon-light-blue-01); |
27 | | - --vstdev-hero-button-text-color: #3B3B28; |
28 | | - --vstdev-hero-button-hover-color: var(--vstdev-vst-logo-old-middle-lighter-color); |
29 | | - /* footer */ |
30 | | - --vstdev-footer-background-color: var(--vstdev-vst-dev-portal-menu-background-color); |
31 | | - --vstdev-footer-link-color: #525264; |
32 | | - --vstdev-footer-link-hover-color: #525264; |
33 | | - --vstdev-footer-strong-color: #525264; |
34 | | - /* burger */ |
35 | | - --vstdev-navbar-burger-color: var(--vstdev-vst-icon-dark-blue-02); |
36 | | - --vstdev-navbar-burger-hover-background-color: var(--vstdev-vst-icon-light-blue-01); |
| 14 | + |
37 | 15 | /* Make the navbar a bit more high */ |
38 | 16 | --bulma-navbar-height: 3.5rem; |
39 | 17 | --vstdev-navbar-brand-burger-padding: 1.5rem; |
40 | 18 | } |
41 | 19 |
|
| 20 | +@media (prefers-color-scheme: light) { |
| 21 | + :root { |
| 22 | + /* navbar */ |
| 23 | + --vstdev-navbar-background-color: white; |
| 24 | + --vstdev-navbar-border-bottom-color: #ebeaeb; |
| 25 | + --vstdev-navbar-brand-font-color: var(--vstdev-vst-icon-dark-blue-02); |
| 26 | + --vstdev-navbar-item-link-color: var(--vstdev-vst-icon-dark-blue-02); |
| 27 | + --vstdev-navbar-item-link-hover-color: var(--vstdev-vst-icon-light-blue-03); |
| 28 | + --vstdev-navbar-button-background-color: var(--vstdev-vst-icon-light-blue-01); |
| 29 | + --vstdev-navbar-button-hover-color: var(--vstdev-vst-logo-old-middle-lighter-color); |
| 30 | + --vstdev-navbar-button-text-color: var(--bulma-title-color); |
| 31 | + /* hero */ |
| 32 | + --vstdev-hero-strong-color: var(--bulma-title-color); |
| 33 | + --vstdev-hero-link-color: var(--bulma-title-color); |
| 34 | + --vstdev-hero-link-hover-color: var(--vstdev-vst-icon-light-blue-03); |
| 35 | + --vstdev-hero-button-background-color: var(--vstdev-vst-icon-light-blue-01); |
| 36 | + --vstdev-hero-button-text-color: #3B3B28; |
| 37 | + --vstdev-hero-button-hover-color: var(--vstdev-vst-logo-old-middle-lighter-color); |
| 38 | + /* footer */ |
| 39 | + --vstdev-footer-strong-color: #525264; |
| 40 | + --vstdev-footer-background-color: var(--vstdev-vst-dev-portal-menu-background-color); |
| 41 | + --vstdev-footer-link-color: #525264; |
| 42 | + --vstdev-footer-link-hover-color: #525264; |
| 43 | + /* burger */ |
| 44 | + --vstdev-navbar-burger-color: var(--vstdev-vst-icon-dark-blue-02); |
| 45 | + --vstdev-navbar-burger-hover-background-color: var(--vstdev-vst-icon-light-blue-01); |
| 46 | + } |
| 47 | +} |
| 48 | + |
| 49 | +@media (prefers-color-scheme: dark) { |
| 50 | + :root { |
| 51 | + /* navbar */ |
| 52 | + --vstdev-navbar-background-color: white; |
| 53 | + --vstdev-navbar-border-bottom-color: #ebeaeb; |
| 54 | + --vstdev-navbar-brand-font-color: var(--vstdev-vst-icon-dark-blue-02); |
| 55 | + --vstdev-navbar-item-link-color: var(--vstdev-vst-icon-dark-blue-02); |
| 56 | + --vstdev-navbar-item-link-hover-color: var(--vstdev-vst-icon-light-blue-03); |
| 57 | + --vstdev-navbar-button-background-color: var(--vstdev-vst-icon-light-blue-01); |
| 58 | + --vstdev-navbar-button-hover-color: var(--vstdev-vst-logo-old-middle-lighter-color); |
| 59 | + --vstdev-navbar-button-text-color: var(--bulma-title-color); |
| 60 | + /* hero */ |
| 61 | + --vstdev-hero-strong-color: var(--bulma-title-color); |
| 62 | + --vstdev-hero-link-color: var(--bulma-title-color); |
| 63 | + --vstdev-hero-link-hover-color: var(--vstdev-vst-icon-light-blue-03); |
| 64 | + --vstdev-hero-button-background-color: var(--vstdev-vst-icon-light-blue-01); |
| 65 | + --vstdev-hero-button-text-color: #3B3B28; |
| 66 | + --vstdev-hero-button-hover-color: var(--vstdev-vst-logo-old-middle-lighter-color); |
| 67 | + /* footer */ |
| 68 | + --vstdev-footer-strong-color: #525264; |
| 69 | + --vstdev-footer-background-color: var(--vstdev-vst-dev-portal-menu-background-color); |
| 70 | + --vstdev-footer-link-color: #525264; |
| 71 | + --vstdev-footer-link-hover-color: #525264; |
| 72 | + /* burger */ |
| 73 | + --vstdev-navbar-burger-color: var(--vstdev-vst-icon-dark-blue-02); |
| 74 | + --vstdev-navbar-burger-hover-background-color: var(--vstdev-vst-icon-light-blue-01); |
| 75 | + } |
| 76 | +} |
| 77 | + |
42 | 78 | /* Put a small 1px line on the bottom to separate the navbar from the hero */ |
43 | 79 | .vstdev-navbar { |
44 | 80 | border-bottom: 1px solid var(--vstdev-navbar-border-bottom-color); |
|
51 | 87 | } |
52 | 88 |
|
53 | 89 | .vstdev-navbar .vstdev-navbar-brand-font { |
54 | | - color: var(--vstdev-vst-icon-dark-blue-02); |
| 90 | + color: var(--vstdev-navbar-brand-font-color); |
55 | 91 | vertical-align: middle; |
56 | 92 | } |
57 | 93 |
|
|
0 commit comments