From 6498bfbb3fb83a31243f3cfad36cd665df9d6cfa Mon Sep 17 00:00:00 2001 From: bypanghu Date: Fri, 27 Oct 2023 09:33:31 +0800 Subject: [PATCH] =?UTF-8?q?style:=E8=87=B4=E6=95=AC=E4=BC=9F=E5=A4=A7?= =?UTF-8?q?=E6=80=BB=E7=90=86=EF=BC=8C=E5=AE=98=E7=BD=91=E7=BD=AE=E7=81=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/theme/styles/global.scss | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/.vitepress/theme/styles/global.scss b/docs/.vitepress/theme/styles/global.scss index c8e0431..06ad549 100644 --- a/docs/.vitepress/theme/styles/global.scss +++ b/docs/.vitepress/theme/styles/global.scss @@ -4,6 +4,7 @@ body { cursor: url('/blue.cur'), auto; + @apple gray; } // 重置首页 logo大小 @@ -15,6 +16,14 @@ body { background-image: linear-gradient( 135deg, #6DCFFA 10%, #94F2D4 100%) !important; } -//.main .name .clip{ -// @extend inline bg-gradient-to-r from-indigo-200 via-sky-400 to-indigo-200 bg-clip-text font-display text-5xl tracking-tight text-transparent; -//} +.gray { + -webkit-filter: grayscale(100%); + -moz-filter: grayscale(100%); + -ms-filter: grayscale(100%); + -o-filter: grayscale(100%); + filter: grayscale(100%); + -webkit-filter: gray; + filter: gray; + -webkit-filter: progid:dximagetransform.microsoft.basicimage(grayscale=1); + filter: progid:dximagetransform.microsoft.basicimage(grayscale=1); +}