c/docs/.vitepress/theme/style/var.css

25 lines
626 B
CSS
Raw Normal View History

2024-10-08 05:44:30 +02:00
.medium-zoom-overlay {
z-index: 20;
}
.medium-zoom-image {
z-index: 9999 !important;/* 给的值是21但是实测盖不住直接999 */
}
: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);
}
/* 禁止双指缩放 */
body, html {
touch-action: manipulation;
-webkit-touch-callout: none;
-ms-touch-action: manipulation;
}