Skip to content

Commit a26fc47

Browse files
committed
fix(html5s): adjust css for references to be superscript
1 parent 5e19f18 commit a26fc47

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

converters/html/static/html5s-dark-mode.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,7 @@ ol.footnotes{margin-left:1.2em}
404404
ol.footnotes>.footnote{padding:0 .375em 0 .225em;line-height:1.3334;font-size:.875em;margin-bottom:.2em}
405405
ol.footnotes>.footnote:last-of-type{margin-bottom:0}
406406
/* Semantic footnote refs (html5s) */
407-
sup.footnote-ref{font-size:.875em;position:static;vertical-align:super}
408-
a.footnote-ref{text-decoration:none}
407+
a.footnote-ref{font-size:.875em;vertical-align:super;text-decoration:none}
409408
a.footnote-ref:active{text-decoration:underline}
410409
a.footnote-backref{text-decoration:none}
411410
a.footnote-backref:hover{text-decoration:underline}

converters/html/static/html5s-light-mode.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,7 @@ ol.footnotes{margin-left:1.2em}
404404
ol.footnotes>.footnote{padding:0 .375em 0 .225em;line-height:1.3334;font-size:.875em;margin-bottom:.2em}
405405
ol.footnotes>.footnote:last-of-type{margin-bottom:0}
406406
/* Semantic footnote refs (html5s) */
407-
sup.footnote-ref{font-size:.875em;position:static;vertical-align:super}
408-
a.footnote-ref{text-decoration:none}
407+
a.footnote-ref{font-size:.875em;vertical-align:super;text-decoration:none}
409408
a.footnote-ref:active{text-decoration:underline}
410409
a.footnote-backref{text-decoration:none}
411410
a.footnote-backref:hover{text-decoration:underline}

0 commit comments

Comments
 (0)