74 lines
1.5 KiB
CSS
Raw Normal View History

2024-08-15 11:47:45 +08:00
: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;
}
2024-08-01 10:00:11 +08:00
.medium-zoom-overlay {
z-index: 20;
}
.medium-zoom-image {
z-index: 9999 !important;/* 给的值是21但是实测盖不住直接999 */
}
2024-08-13 16:07:05 +08:00
:root {
2024-08-15 11:47:45 +08:00
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe, #41d1ff);
/* hero标题渐变色 */
2024-08-13 16:07:05 +08:00
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe, #41d1ff);
2024-08-15 11:47:45 +08:00
/*hero logo背景渐变色 */
--vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
--vp-home-hero-image-filter: blur(40px);
}
h1 {
background: -webkit-linear-gradient(-45deg, #e43498 5%, #5ad7dd 15%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
2024-08-13 16:07:05 +08:00
}
2024-08-15 11:47:45 +08:00
/* 提醒 */
.note.custom-block.github-alert{
border-color: var(--vp-c-indigo-3);
}
/* 建议 */
.tip.custom-block.github-alert {
border-color: var(--vp-c-brand-1);
}
/* 重要框 */
.important.custom-block.github-alert {
border-color: var(--vp-c-purple-1);
}
/* 警告 */
.warning.custom-block.github-alert {
border-color: var(--vp-c-yellow-1);
}
/* 注意 */
.caution.custom-block.github-alert {
border-color: var(--vp-c-red-1);
}
2024-08-01 10:00:11 +08:00
/* 禁止双指缩放 */
body, html {
touch-action: manipulation;
-webkit-touch-callout: none;
-ms-touch-action: manipulation;
2024-08-13 16:07:05 +08:00
}