mirror of
https://github.com/tachiyomiorg/website.git
synced 2025-01-09 00:30:45 +01:00
90 lines
2.4 KiB
Stylus
90 lines
2.4 KiB
Stylus
|
/**
|
||
|
* 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: #818cf8
|
||
|
--vp-c-brand-light: #a0a8f9
|
||
|
--vp-c-brand-lighter: #c0c5fb
|
||
|
--vp-c-brand-lightest: #dfe2fd
|
||
|
--vp-c-brand-dark: #6069ba
|
||
|
--vp-c-brand-darker: #40467c
|
||
|
--vp-c-brand-darkest: #20233e
|
||
|
--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-black)
|
||
|
--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-black)
|
||
|
--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-black)
|
||
|
--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, var(--vp-c-brand) 30%, var(--vp-c-brand-dark))
|
||
|
--vp-home-hero-image-background-image: linear-gradient(-45deg, var(--vp-c-brand-light) 50%, var(--vp-c-brand-lighter) 50%)
|
||
|
--vp-home-hero-image-filter: blur(40px)
|
||
|
}
|
||
|
|
||
|
.dark {
|
||
|
--vp-home-hero-image-background-image: linear-gradient(-45deg, var(--vp-c-brand-darker) 25%, var(--vp-c-brand-darkest) 25%)
|
||
|
}
|
||
|
|
||
|
@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
|
||
|
}
|
||
|
|
||
|
.VPImage.image-src {
|
||
|
border-radius: 8px
|
||
|
}
|