mirror of
https://github.com/ITStudioOUC/ITStudio-Wiki.git
synced 2026-06-15 13:06:30 +00:00
vitepress: init
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
/* index.css */
|
||||
@import "./var.css";
|
||||
@@ -0,0 +1,44 @@
|
||||
/* var.css */
|
||||
:root {
|
||||
--vp-c-brand-1: #18794e;
|
||||
--vp-c-brand-2: #299764;
|
||||
--vp-c-brand-3: #30a46c;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--vp-c-brand-1: #3dd68c;
|
||||
--vp-c-brand-2: #30a46c;
|
||||
--vp-c-brand-3: #298459;
|
||||
}
|
||||
/* 以前的vp-c-brand已弃用 */
|
||||
|
||||
:root {
|
||||
/* hero标题渐变色 */
|
||||
--vp-home-hero-name-color: transparent;
|
||||
--vp-home-hero-name-background: -webkit-linear-gradient(
|
||||
120deg,
|
||||
#bd34fe,
|
||||
#41d1ff
|
||||
);
|
||||
|
||||
/*hero logo背景渐变色 */
|
||||
--vp-home-hero-image-background-image: linear-gradient(
|
||||
-45deg,
|
||||
#bd34fe 50%,
|
||||
#47caff 50%
|
||||
);
|
||||
--vp-home-hero-image-filter: blur(40px);
|
||||
}
|
||||
|
||||
/* 也可自行单独修改brand按钮 */
|
||||
/* :root {
|
||||
--vp-button-brand-border: #F6CEEC;
|
||||
--vp-button-brand-text: #F6CEEC;
|
||||
--vp-button-brand-bg: #D939CD;
|
||||
|
||||
--vp-button-brand-hover-border: #F6CEEC;
|
||||
--vp-button-brand-hover-text: #fff;
|
||||
--vp-button-brand-hover-bg: #D939CD;
|
||||
|
||||
--vp-button-brand-active-border: #F6CEEC;
|
||||
} */
|
||||
Reference in New Issue
Block a user