From 78d197d1d16add92a7aff99cc8347096002fa16c Mon Sep 17 00:00:00 2001 From: alice <166900055+alicesaidhi@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:51:37 +0100 Subject: [PATCH] cleanup --- docs/.vitepress/config.ts | 2 +- docs/.vitepress/theme/vars.css | 19 +++++-------------- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 9c8fae8..ee843b8 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -1,6 +1,6 @@ //import { defineConfig } from "vitepress" import { withMermaid } from "vitepress-plugin-mermaid"; -import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs' +import { tabsMarkdownPlugin } from "vitepress-plugin-tabs" // https://vitepress.dev/reference/site-config export default withMermaid({ diff --git a/docs/.vitepress/theme/vars.css b/docs/.vitepress/theme/vars.css index 73936b7..9953d45 100644 --- a/docs/.vitepress/theme/vars.css +++ b/docs/.vitepress/theme/vars.css @@ -1,15 +1,4 @@ - -.VPSkipLink { - order: -3 -} - -.VPNav { - order: -2 -} - -.VPLocalNav { - order: 0; -} +/* Homepage Stuff */ .banner { background-color: var(--vp-button-brand-bg); @@ -19,7 +8,6 @@ position: fixed; bottom: 0px; z-index: 50; - order: -1 } .advertising { @@ -42,13 +30,15 @@ .VPNavBar.home:not(.top) { backdrop-filter: blur(0.5rem); - background-color: rgba(255, 255, 255, 0%) !important; + background-color: transparent !important; } .VPNavBar.home > .divider { opacity: 0; } +/* Colors */ + :root { --vp-c-brand-1: #3086ff; --vp-c-brand-2: #75aeff; @@ -56,6 +46,7 @@ --vp-button-brand-bg: #3661A2; --vp-button-brand-hover-bg: #24447F; --vp-button-brand-press-bg: #4896F3; + --vp-home-hero-name-color: transparent; --vp-home-hero-name-background: -webkit-linear-gradient(120deg, #3661A2, #4896F3);