Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 29 additions & 14 deletions .vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,21 @@

/* Theme Variables */
:root {
--cake-red-500: #d33c43;
--cake-red-700: #c8363d;
--cake-red-900: #b02e34;

--cake-color-link: #2d7ea4;
--cake-color-progress: #d33c43;
--cake-color-progress: var(--cake-red-500);
--vp-font-family-base: "IBM Plex Sans", Helvetica, Arial, sans-serif;
--vp-font-family-body: "IBM Plex Sans", Helvetica, Arial, sans-serif;
--vp-c-brand-1: #d33c43;
--vp-c-brand-2: #c8363d;
--vp-c-brand-3: #b02e34;
--vp-c-brand-1: var(--cake-red-500);
--vp-c-brand-2: var(--cake-red-700);
--vp-c-brand-3: var(--cake-red-900);
--vp-c-brand-soft: rgba(211, 60, 67, 0.14);
--vp-c-red-1: #d33c43;
--vp-c-red-2: #c8363d;
--vp-c-red-3: #b02e34;
--vp-c-red-1: var(--cake-red-500);
--vp-c-red-2: var(--cake-red-700);
--vp-c-red-3: var(--cake-red-900);
--vp-custom-block-tip-bg: #d9edf7;
--vp-custom-block-note-bg: #fcf8e3;
--vp-custom-block-warning-bg: #f2dede;
Expand All @@ -35,8 +39,8 @@
/* Dark Theme */
.dark {
--vp-c-brand-1: #ff6b6b;
--vp-c-brand-2: #d33c43;
--vp-c-brand-3: #c8363d;
--vp-c-brand-2: var(--cake-red-500);
--vp-c-brand-3: var(--cake-red-700);
--vp-c-brand-soft: rgba(255, 107, 107, 0.16);
--vp-c-bg: #1a1a1a;
--vp-sidebar-bg-color: #0f0f0f;
Expand All @@ -50,6 +54,20 @@
.VPHero .VPImage {
filter: drop-shadow(-2px 4px 15px rgba(64, 64, 64, 0.3));
}
.VPNavBar .VPImage {
margin-left: 8px;
}
.VPNavBar .wrapper {
background: var(--vp-c-bg);
border-bottom: 1px solid var(--vp-c-border);
}
.VPNavBar .title {
border: 0;
}
/* Hide the divider line underneath the navbar on the right side */
.VPNavBar .divider-line {
display: none;
}

.dark .VPHero .VPImage {
filter: drop-shadow(-2px 4px 15px rgba(211, 60, 67, 0.2));
Expand Down Expand Up @@ -97,17 +115,14 @@
color: #e2c99c;
}

.custom-block.warning .custom-block-title:before,
.custom-block.deprecated .custom-block-title:before {
color: #e0b9b9;
}

.custom-block.warning .custom-block-title:before {
content: "W";
color: #e0b9b9;
}

.custom-block.deprecated .custom-block-title:before {
content: "H";
color: #e0b9b9;
}

.custom-block.info .custom-block-title:before {
Expand Down
Loading