|
14 | 14 |
|
15 | 15 | /* Theme Variables */ |
16 | 16 | :root { |
| 17 | + --cake-red-500: #d33c43; |
| 18 | + --cake-red-700: #c8363d; |
| 19 | + --cake-red-900: #b02e34; |
| 20 | + |
17 | 21 | --cake-color-link: #2d7ea4; |
18 | | - --cake-color-progress: #d33c43; |
| 22 | + --cake-color-progress: var(--cake-red-500); |
19 | 23 | --vp-font-family-base: "IBM Plex Sans", Helvetica, Arial, sans-serif; |
20 | 24 | --vp-font-family-body: "IBM Plex Sans", Helvetica, Arial, sans-serif; |
21 | | - --vp-c-brand-1: #d33c43; |
22 | | - --vp-c-brand-2: #c8363d; |
23 | | - --vp-c-brand-3: #b02e34; |
| 25 | + --vp-c-brand-1: var(--cake-red-500); |
| 26 | + --vp-c-brand-2: var(--cake-red-700); |
| 27 | + --vp-c-brand-3: var(--cake-red-900); |
24 | 28 | --vp-c-brand-soft: rgba(211, 60, 67, 0.14); |
25 | | - --vp-c-red-1: #d33c43; |
26 | | - --vp-c-red-2: #c8363d; |
27 | | - --vp-c-red-3: #b02e34; |
| 29 | + --vp-c-red-1: var(--cake-red-500); |
| 30 | + --vp-c-red-2: var(--cake-red-700); |
| 31 | + --vp-c-red-3: var(--cake-red-900); |
28 | 32 | --vp-custom-block-tip-bg: #d9edf7; |
29 | 33 | --vp-custom-block-note-bg: #fcf8e3; |
30 | 34 | --vp-custom-block-warning-bg: #f2dede; |
|
35 | 39 | /* Dark Theme */ |
36 | 40 | .dark { |
37 | 41 | --vp-c-brand-1: #ff6b6b; |
38 | | - --vp-c-brand-2: #d33c43; |
39 | | - --vp-c-brand-3: #c8363d; |
| 42 | + --vp-c-brand-2: var(--cake-red-500); |
| 43 | + --vp-c-brand-3: var(--cake-red-700); |
40 | 44 | --vp-c-brand-soft: rgba(255, 107, 107, 0.16); |
41 | 45 | --vp-c-bg: #1a1a1a; |
42 | 46 | --vp-sidebar-bg-color: #0f0f0f; |
|
50 | 54 | .VPHero .VPImage { |
51 | 55 | filter: drop-shadow(-2px 4px 15px rgba(64, 64, 64, 0.3)); |
52 | 56 | } |
| 57 | +.VPNavBar .VPImage { |
| 58 | + margin-left: 8px; |
| 59 | +} |
| 60 | +.VPNavBar .wrapper { |
| 61 | + background: var(--vp-c-bg); |
| 62 | + border-bottom: 1px solid var(--vp-c-border); |
| 63 | +} |
| 64 | +.VPNavBar .title { |
| 65 | + border: 0; |
| 66 | +} |
| 67 | +/* Hide the divider line underneath the navbar on the right side */ |
| 68 | +.VPNavBar .divider-line { |
| 69 | + display: none; |
| 70 | +} |
53 | 71 |
|
54 | 72 | .dark .VPHero .VPImage { |
55 | 73 | filter: drop-shadow(-2px 4px 15px rgba(211, 60, 67, 0.2)); |
|
97 | 115 | color: #e2c99c; |
98 | 116 | } |
99 | 117 |
|
100 | | -.custom-block.warning .custom-block-title:before, |
101 | | -.custom-block.deprecated .custom-block-title:before { |
102 | | - color: #e0b9b9; |
103 | | -} |
104 | | - |
105 | 118 | .custom-block.warning .custom-block-title:before { |
106 | 119 | content: "W"; |
| 120 | + color: #e0b9b9; |
107 | 121 | } |
108 | 122 |
|
109 | 123 | .custom-block.deprecated .custom-block-title:before { |
110 | 124 | content: "H"; |
| 125 | + color: #e0b9b9; |
111 | 126 | } |
112 | 127 |
|
113 | 128 | .custom-block.info .custom-block-title:before { |
|
0 commit comments