Signed-off-by: James Zuccon <zuccon@gmail.com>
This commit is contained in:
James Zuccon
2024-09-06 12:10:09 +10:00
parent f189c4643b
commit ce688ce0a4
5 changed files with 124 additions and 28 deletions
+75 -17
View File
@@ -43,7 +43,7 @@
* in custom container, badges, etc.
* -------------------------------------------------------------------------- */
:root {
:root {
--vp-c-default-1: var(--vp-c-gray-1);
--vp-c-default-2: var(--vp-c-gray-2);
--vp-c-default-3: var(--vp-c-gray-3);
@@ -70,22 +70,6 @@
--vp-c-danger-soft: var(--vp-c-red-soft);
}
.VPSidebarItem.level-2.is-active > .item > .indicator,
.VPSidebarItem.level-3.is-active > .item > .indicator,
.VPSidebarItem.level-4.is-active > .item > .indicator,
.VPSidebarItem.level-5.is-active > .item > .indicator {
background-color: #b2fb54 !important;
}
.VPSidebarItem.level-0.is-active > .item .link > .text,
.VPSidebarItem.level-1.is-active > .item .link > .text,
.VPSidebarItem.level-2.is-active > .item .link > .text,
.VPSidebarItem.level-3.is-active > .item .link > .text,
.VPSidebarItem.level-4.is-active > .item .link > .text,
.VPSidebarItem.level-5.is-active > .item .link > .text {
color: #b2fb54 !important;
}
/**
* Component: Button
* -------------------------------------------------------------------------- */
@@ -153,3 +137,77 @@
--docsearch-primary-color: var(--vp-c-brand-1) !important;
}
/**
* Overrides
*/
:root {
--primary: #2c7d00;
--vp-nav-logo-height: 48px;
}
html.dark {
--primary: #b2fb54;
}
body {
font-size: 14px;
}
.vp-nav .title {
font-size: 24px !important;
}
.vp-doc h1 {
font-size: 24px;
}
.vp-doc h2 {
font-size: 20px;
}
.vp-doc h3 {
font-size: 16px;
}
.vp-doc h4 {
font-size: 14px;
opacity: 0.75;
}
.VPSidebarItem .text {
font-size: 12px;
}
.VPSidebarItem.level-2.is-active > .item > .indicator,
.VPSidebarItem.level-3.is-active > .item > .indicator,
.VPSidebarItem.level-4.is-active > .item > .indicator,
.VPSidebarItem.level-5.is-active > .item > .indicator {
background-color: var(--primary) !important;
}
.VPSidebarItem.level-0.is-active > .item .link > .text,
.VPSidebarItem.level-1.is-active > .item .link > .text,
.VPSidebarItem.level-2.is-active > .item .link > .text,
.VPSidebarItem.level-3.is-active > .item .link > .text,
.VPSidebarItem.level-4.is-active > .item .link > .text,
.VPSidebarItem.level-5.is-active > .item .link > .text {
color: var(--primary) !important;
}
.VPSidebarItem.level-0.is-link > .item > .link:hover .text,
.VPSidebarItem.level-1.is-link > .item > .link:hover .text,
.VPSidebarItem.level-2.is-link > .item > .link:hover .text,
.VPSidebarItem.level-3.is-link > .item > .link:hover .text,
.VPSidebarItem.level-4.is-link > .item > .link:hover .text,
.VPSidebarItem.level-5.is-link > .item > .link:hover .text {
color: var(--primary) !important;
}
.outline-title {
font-size: 12px !important;
}
.outline-link {
font-size: 12px !important;
}