Skip to content

Commit 83eecda

Browse files
authored
refactor: remove dead SCSS code (#1053)
1 parent c5f15a3 commit 83eecda

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

_sass/addon/commons.scss

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -290,16 +290,6 @@ i {
290290
margin-top: 0;
291291
margin-bottom: 0;
292292
}
293-
294-
/* [scroll-focus] added by `smooth-scroll.js` */
295-
&:target:not([scroll-focus]),
296-
&[scroll-focus='true'] > p {
297-
background-color: var(--footnote-target-bg);
298-
width: -moz-fit-content;
299-
width: -webkit-fit-content;
300-
width: fit-content;
301-
transition: background-color 1.5s ease-in-out;
302-
}
303293
}
304294
}
305295

@@ -311,12 +301,6 @@ i {
311301
border-bottom-style: none !important;
312302
transition: background-color 1.5s ease-in-out;
313303
}
314-
315-
/* [scroll-focus] added by `smooth-scroll.js` */
316-
@at-root sup:target:not([scroll-focus]),
317-
sup[scroll-focus='true'] > a#{&} {
318-
background-color: var(--footnote-target-bg);
319-
}
320304
}
321305

322306
.reversefootnote {

0 commit comments

Comments
 (0)