From 83eecdabcb5fd0cb87365da252b909b771257d36 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 20 May 2023 00:34:49 +0800 Subject: [PATCH] refactor: remove dead SCSS code (#1053) --- _sass/addon/commons.scss | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index f7b1390..12da0f0 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -290,16 +290,6 @@ i { margin-top: 0; margin-bottom: 0; } - - /* [scroll-focus] added by `smooth-scroll.js` */ - &:target:not([scroll-focus]), - &[scroll-focus='true'] > p { - background-color: var(--footnote-target-bg); - width: -moz-fit-content; - width: -webkit-fit-content; - width: fit-content; - transition: background-color 1.5s ease-in-out; - } } } @@ -311,12 +301,6 @@ i { border-bottom-style: none !important; transition: background-color 1.5s ease-in-out; } - - /* [scroll-focus] added by `smooth-scroll.js` */ - @at-root sup:target:not([scroll-focus]), - sup[scroll-focus='true'] > a#{&} { - background-color: var(--footnote-target-bg); - } } .reversefootnote {