From 854e2be82cb41975bbb71d15159884148f69586b Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Mon, 24 Jun 2024 20:47:08 -0500 Subject: [PATCH] Remove spacing and border from some headers --- site/.vitepress/theme/custom.css | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/site/.vitepress/theme/custom.css b/site/.vitepress/theme/custom.css index 20c87435..72d721f8 100644 --- a/site/.vitepress/theme/custom.css +++ b/site/.vitepress/theme/custom.css @@ -321,8 +321,8 @@ a.title { margin-left: calc(-1em - 23px); } -.vp-doc :not(h1) > .header-anchor { - top: 24px; +.vp-doc .header-anchor { + top: 0 !important; } .VPSidebar { @@ -530,11 +530,9 @@ article { } .VPDoc h2, .VPDoc h3, .VPDoc h4, .VPDoc h5, .VPDoc h6 { - margin-top: -3px !important; - padding-top: 23px !important; - border-top-style: solid !important; - border-top-width: 10px !important; - border-image: url(/button.svg) 10 10 10 10 stretch stretch !important; + margin-top: 30px !important; + margin-bottom: -30px !important; + border: none !important; } ul {