Files
Auto_Bangumi/docs/.vitepress/theme/style.css

111 lines
2.7 KiB
CSS

/**
* Customize default theme styling by overriding CSS variables:
* https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css
*/
/**
* Colors
* -------------------------------------------------------------------------- */
:root {
--vp-c-brand: #7B65D6;
--vp-c-brand-light: #7162AE;
--vp-c-brand-lighter: #8D7FC2;
--vp-c-brand-lightest: #8E8A9C;
--vp-c-brand-dark: #4E3C94;
--vp-c-brand-darker: #281E52;
--vp-c-brand-dimm: rgba(100, 108, 255, 0.08);
}
/**
* Component: Button
* -------------------------------------------------------------------------- */
:root {
--vp-button-brand-border: var(--vp-c-brand-light);
--vp-button-brand-text: var(--vp-c-white);
--vp-button-brand-bg: var(--vp-c-brand);
--vp-button-brand-hover-border: var(--vp-c-brand-light);
--vp-button-brand-hover-text: var(--vp-c-white);
--vp-button-brand-hover-bg: var(--vp-c-brand-light);
--vp-button-brand-active-border: var(--vp-c-brand-light);
--vp-button-brand-active-text: var(--vp-c-white);
--vp-button-brand-active-bg: var(--vp-button-brand-bg);
}
/**
* Component: Home
* -------------------------------------------------------------------------- */
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(
120deg,
#b42ff1 30%,
#441bd9
);
--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#b42ff1bb 50%,
#4794ffbb 50%
);
--vp-home-hero-image-filter: blur(40px);
}
@media (min-width: 640px) {
:root {
--vp-home-hero-image-filter: blur(56px);
}
}
@media (min-width: 960px) {
:root {
--vp-home-hero-image-filter: blur(72px);
}
}
/**
* Component: Custom Block
* -------------------------------------------------------------------------- */
:root {
--vp-custom-block-tip-border: var(--vp-c-brand);
--vp-custom-block-tip-text: var(--vp-c-brand-darker);
--vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
}
.dark {
--vp-custom-block-tip-border: var(--vp-c-brand);
--vp-custom-block-tip-text: var(--vp-c-brand-lightest);
--vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
}
/**
* Component: Algolia
* -------------------------------------------------------------------------- */
.DocSearch {
--docsearch-primary-color: var(--vp-c-brand) !important;
}
/**
* Component: medium-zoom
* -------------------------------------------------------------------------- */
.medium-zoom--opened .medium-zoom-overlay {
z-index: 20;
}
.medium-zoom--opened .medium-zoom-image {
z-index: 21;
}
.vp-doc .ab-shadow-card {
box-shadow: 0 10px 30px -10px rgba(0,0,0,0.2),
0 0 2px rgba(0,0,0,0.2),
0 20px 30px -20px rgba(0,0,0,0.4);
border-radius: 10px;
}