From 461606d2c8f49c8f767752c125ce1215509e0394 Mon Sep 17 00:00:00 2001 From: Leilukin Date: Sun, 9 Jun 2024 16:36:06 +0800 Subject: [PATCH] Style skip-to-content link --- src/assets/css/components.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/assets/css/components.css b/src/assets/css/components.css index 66625de4..780a4ce5 100644 --- a/src/assets/css/components.css +++ b/src/assets/css/components.css @@ -36,14 +36,14 @@ .skip-btn a { position: absolute; display: inline-block; - left: 0px; + left: 0; top: -1000px; overflow: hidden; transition: top 0.5s ease; - background: #fff; - color: #191919; + background: var(--clr-content-bg); + font-size: 1.25rem; z-index: 1000; - padding: 0.3em; + padding: 0.3em 0.7em; } .skip-btn a:focus {