From 7f099acf141fd169219d78a1c2750aac122c7e8f Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Mon, 2 Dec 2024 15:30:25 +0800 Subject: [PATCH] Move up general focus outline styling --- src/assets/css/general.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/assets/css/general.css b/src/assets/css/general.css index 71b32276..45c2e6b6 100644 --- a/src/assets/css/general.css +++ b/src/assets/css/general.css @@ -24,6 +24,8 @@ h4 { font-size: var(--fs-h4); } h2:has(+ *[class]:not(.heading-anchor)), .h2:has(+ *[class]), h3:has(+ *[class]:not(.heading-anchor)), .h3:has(+ *[class]) { margin-bottom: 0.5em; } +:focus { outline: 0.15em solid currentColor; } + a { color: var(--clr-accent-700); } a:hover { text-decoration: none; @@ -85,6 +87,5 @@ pre { pre > code { white-space: pre; } button:hover { cursor: pointer; } -:focus { outline: 0.15em solid currentColor; } details:focus { outline-offset: 0.2em; } summary { cursor: pointer; } \ No newline at end of file