From b8c29c2e0610f2289822e27dfba8192b5b312180 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Fri, 30 Oct 2020 11:42:58 +0530 Subject: [PATCH] reset(css): disable focus only on toc and go-to-top button revert "css: reset: disbale highlight on focus" This reverts commit 94b67a5dc96094ef33dfaac5b3e31bb733ffd9bd. --- assets/css/footer.css | 6 +++++- assets/css/post-single.css | 4 ++++ assets/css/reset.css | 4 ---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/assets/css/footer.css b/assets/css/footer.css index cf7197f9..cdc64cd9 100644 --- a/assets/css/footer.css +++ b/assets/css/footer.css @@ -47,4 +47,8 @@ .top-link:hover { color: var(--primary); -} \ No newline at end of file +} + +.top-link:focus { + outline: none; +} diff --git a/assets/css/post-single.css b/assets/css/post-single.css index 3e25d08d..d46cb83d 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -257,6 +257,10 @@ margin-inline-start: var(--gap); } +.toc summary:focus { + outline: none; +} + .post-footer { margin-top: 56px; } diff --git a/assets/css/reset.css b/assets/css/reset.css index 68aa1e90..29b538d3 100644 --- a/assets/css/reset.css +++ b/assets/css/reset.css @@ -131,7 +131,3 @@ img { height: 2px; } } - -*:focus { - outline:none; -}