Skip to content

Commit 191200e

Browse files
committed
Refine footnote marker alignment, remove unnecessary !important rules, and adjust bottom margin in .anywhere-footnote-horizontal entries for improved consistency.
1 parent 991df5b commit 191200e

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

src/css/asciidoctor-anywhere-footnote.css

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.anywhere-footnote-marker {
2+
vertical-align: super;
23
font-size: 90%;
34
text-decoration: none;
45
}
@@ -23,31 +24,31 @@
2324
/* Force each dt and dd to be on the same line */
2425
.anywhere-footnote-horizontal.dlist dt,
2526
.anywhere-footnote-horizontal.dlist dd {
26-
display: inline !important;
27-
vertical-align: top !important;
27+
display: inline;
28+
vertical-align: top;
2829
}
2930

3031
/* Add a narrow gap between dt and dd */
3132
.anywhere-footnote-horizontal.dlist dt {
32-
margin-right: 0.2em !important;
33+
margin-right: 0.2em;
3334
}
3435

3536
/* Force a line break after each dd */
3637
.anywhere-footnote-horizontal.dlist dd {
37-
margin: 0 !important;
38-
padding: 0 !important;
38+
margin: 0;
39+
padding: 0;
3940
}
4041

4142
/* Create a line break after each entry */
4243
.anywhere-footnote-horizontal.dlist dd::after {
4344
content: '';
4445
display: block;
45-
margin-bottom: 0.4em;
46+
margin-bottom: 0.2em;
4647
}
4748

4849
/* Remove margins from paragraphs inside dd */
4950
.anywhere-footnote-horizontal.dlist dd p {
50-
display: inline !important;
51-
margin: 0 !important;
52-
padding: 0 !important;
51+
display: inline;
52+
margin: 0;
53+
padding: 0;
5354
}

0 commit comments

Comments
 (0)