Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions src/css/asciidoctor-anywhere-footnote.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
.afnote-marker {
vertical-align: super;
font-size: 100%;
text-decoration: none;
}

.afnote-marker::before {
content: "[";
}

.afnote-marker::after {
content: "]";
}

.afnote-block {
text-decoration: none;
}

.afnote-hr-divider {
height: 1px;
background-color: #ccc; /* Standard gray color similar to default HR */
border: none;
margin: 0.5em 0; /* Standard HR margin */
width: 20%;
}

div.afnote-horizontal dl {
display: grid;
grid-template-columns: 30px auto;
grid-column-gap: 1px;
}

/* Force each dt and dd to be on the same line */
div.afnote-horizontal dl > dt,
div.afnote-horizontal dl > dd {
display: inline !important;
vertical-align: top !important;
margin: 0 !important;
padding: 0 !important;
}

/* Remove margins from paragraphs inside dd */
div.afnote-horizontal dl > dd p {
display: inline;
margin: 0;
padding: 0;
}
1 change: 1 addition & 0 deletions src/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@
@import "external-link-icon.css";
@import "disable-callouts.css";
@import "asciidoctor-external-callout.css";
@import "asciidoctor-anywhere-footnote.css";
@import "info-banner.css";
@import "chatbot.css";