Skip to content

Commit 900b6e0

Browse files
committed
Rename CSS class selectors from .anywhere-footnote-* to .afnote-* for improved brevity and consistency.
1 parent ea8b6f6 commit 900b6e0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/css/asciidoctor-anywhere-footnote.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
.anywhere-footnote-marker {
1+
.afnote-marker {
22
vertical-align: super;
33
font-size: 100%;
44
text-decoration: none;
55
}
66

7-
.anywhere-footnote-block {
7+
.afnote-block {
88
text-decoration: none;
99
}
1010

11-
.anywhere-footnote-hr-divider {
11+
.afnote-hr-divider {
1212
height: 1px;
1313
background-color: #ccc; /* Standard gray color similar to default HR */
1414
border: none;
1515
margin: 0.5em 0; /* Standard HR margin */
1616
width: 20%;
1717
}
1818

19-
div.anywhere-footnote-horizontal dl {
19+
div.afnote-horizontal dl {
2020
display: grid;
2121
grid-template-columns: 25px auto;
2222
grid-column-gap: 1px;
2323
}
2424

2525
/* Force each dt and dd to be on the same line */
26-
div.anywhere-footnote-horizontal dl > dt,
27-
div.anywhere-footnote-horizontal dl > dd {
26+
div.afnote-horizontal dl > dt,
27+
div.afnote-horizontal dl > dd {
2828
display: inline !important;
2929
vertical-align: top !important;
3030
margin: 0 !important;
3131
padding: 0 !important;
3232
}
3333

3434
/* Remove margins from paragraphs inside dd */
35-
div.anywhere-footnote-horizontal dl > dd p {
35+
div.afnote-horizontal dl > dd p {
3636
display: inline;
3737
margin: 0;
3838
padding: 0;

0 commit comments

Comments
 (0)