refactor: remove dead SCSS code (#1053)

This commit is contained in:
Cotes Chung 2023-05-20 00:34:49 +08:00 committed by GitHub
parent c5f15a3af8
commit 83eecdabcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {