This commit is contained in:
许大仙 2024-10-17 10:18:19 +08:00
parent 67be13b320
commit e5e0116c84
2 changed files with 8 additions and 9 deletions

View File

@ -36,13 +36,6 @@
--vp-custom-block-important-bg: #230555; --vp-custom-block-important-bg: #230555;
} }
/* h1 {
background: -webkit-linear-gradient(10deg, #bd34fe 5%, #e43498 15%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
} */
/* NOTE容器:背景色、左侧 */ /* NOTE容器:背景色、左侧 */
.custom-block.note { .custom-block.note {
background-color: var(--vp-custom-block-note-bg); background-color: var(--vp-custom-block-note-bg);

View File

@ -411,8 +411,6 @@
animation: rainbow 8s linear infinite; animation: rainbow 8s linear infinite;
} }
:root { :root {
/* hero标题渐变色 */ /* hero标题渐变色 */
--vp-home-hero-name-color: transparent; --vp-home-hero-name-color: transparent;
@ -423,6 +421,14 @@
--vp-home-hero-image-filter: blur(80px); --vp-home-hero-image-filter: blur(80px);
} }
/* h1 标题 */
h1 {
background: -webkit-linear-gradient(10deg, var(--rainbow-prev) 5%, var(--rainbow-next) 15%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
@media (min-width: 640px) { @media (min-width: 640px) {
:root { :root {