From 8cb5ec16434e08b47cf998fb6857e5a50ba6f3da Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> 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 {