From 7e26c5f858c23847fdc7846baf68c2a66484be37 Mon Sep 17 00:00:00 2001 From: dev-zuo Date: Sat, 16 Mar 2024 17:36:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=97=B6=E5=85=A5=E5=BA=93=EF=BC=8C=E7=94=9F=E6=88=90ID?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E6=94=BE=E5=88=B0=E5=90=8E=E7=AB=AF=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20vitepress=20=E4=B8=BB=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/theme/style/var.css | 22 +++++++-- configList/components/ConfigList.vue | 73 ++++++++++++++++++---------- 2 files changed, 65 insertions(+), 30 deletions(-) diff --git a/.vitepress/theme/style/var.css b/.vitepress/theme/style/var.css index c7505c6..87347a7 100644 --- a/.vitepress/theme/style/var.css +++ b/.vitepress/theme/style/var.css @@ -1,10 +1,18 @@ :root { /* 标题 */ --vp-home-hero-name-color: transparent; - --vp-home-hero-name-background: linear-gradient( 135deg, #1358d9 10%, #4154ff 100%); - + --vp-home-hero-name-background: linear-gradient( + 135deg, + #1358d9 10%, + #4154ff 100% + ); + /* 图标背景 */ - --vp-home-hero-image-background-image: linear-gradient( 135deg, #1358d9 10%, #4154ff 100%); + --vp-home-hero-image-background-image: linear-gradient( + 135deg, + #1358d9 10%, + #4154ff 100% + ); --vp-home-hero-image-filter: blur(250px); /* brand按钮 */ @@ -24,9 +32,13 @@ --vp-c-brand-dark: #4154ff; /* 代码块背景色 */ - --vp-code-block-bg: rgba(125,125,125,.04); + --vp-code-block-bg: rgba(125, 125, 125, 0.04); } .VPImage.logo { border-radius: 50%; -} \ No newline at end of file +} + +.main { + width: 900px; +} diff --git a/configList/components/ConfigList.vue b/configList/components/ConfigList.vue index fb3cac6..e13e4a5 100644 --- a/configList/components/ConfigList.vue +++ b/configList/components/ConfigList.vue @@ -8,15 +8,12 @@ - + -