@theojs/lumen
Version:
专为 VitePress 打造的主题美化与 Vue 扩展组件库
35 lines (29 loc) • 837 B
CSS
/**
* Component: Home
* -------------------------------------------------------------------------- */
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(225deg, var(--lm-c-yellow-2) 30%, var(--lm-c-green-1));
--vp-home-hero-image-background-image: -webkit-linear-gradient(
-45deg,
var(--lm-c-yellow-2) 50%,
var(--lm-c-green-1) 50%
);
--vp-home-hero-image-filter: blur(44px);
}
@media (min-width: 640px) {
:root {
--vp-home-hero-image-filter: blur(56px);
}
}
@media (min-width: 960px) {
:root {
--vp-home-hero-image-filter: blur(68px);
}
}
.dark {
--vp-home-hero-name-background: -webkit-linear-gradient(45deg, var(--lm-c-yellow-2) 30%, var(--lm-c-green-1));
}
.VPHero .VPImage {
filter: drop-shadow(-2px 4px 6px rgba(0, 0, 0, 0.2));
}