From e9f97b79687588128a1ac2c8736fee8448f550a7 Mon Sep 17 00:00:00 2001 From: Ray Offiah Date: Mon, 16 Jun 2025 10:27:39 +0100 Subject: [PATCH 1/2] Adding stylesheet for the asciidoctor-anywhere-footnote extension. --- src/css/asciidoctor-anywhere-footnote.css | 17 +++++++++++++++++ src/css/site.css | 1 + 2 files changed, 18 insertions(+) create mode 100644 src/css/asciidoctor-anywhere-footnote.css diff --git a/src/css/asciidoctor-anywhere-footnote.css b/src/css/asciidoctor-anywhere-footnote.css new file mode 100644 index 00000000..03e3c1e2 --- /dev/null +++ b/src/css/asciidoctor-anywhere-footnote.css @@ -0,0 +1,17 @@ +.anywhere-footnote-marker { + vertical-align: super; + font-size: 75%; + text-decoration: none; +} + +.anywhere-footnote-block { + vertical-align: super; + text-decoration: none; +} + +hr.footnote-separator { + margin-left: 0; + margin-right: auto; + margin-bottom: 10px; + width: 100px; +} diff --git a/src/css/site.css b/src/css/site.css index 8abc7b40..18dd34f1 100644 --- a/src/css/site.css +++ b/src/css/site.css @@ -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"; From bd90528ca3d966f3d1c95ce420114b7d855d33cb Mon Sep 17 00:00:00 2001 From: Ray Offiah Date: Sun, 29 Jun 2025 14:30:35 +0100 Subject: [PATCH 2/2] Adjust footnote marker size and improve HR divider styling in asciidoctor-anywhere-footnote stylesheet. --- src/css/asciidoctor-anywhere-footnote.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/css/asciidoctor-anywhere-footnote.css b/src/css/asciidoctor-anywhere-footnote.css index 03e3c1e2..46d3cb9f 100644 --- a/src/css/asciidoctor-anywhere-footnote.css +++ b/src/css/asciidoctor-anywhere-footnote.css @@ -1,6 +1,6 @@ .anywhere-footnote-marker { vertical-align: super; - font-size: 75%; + font-size: 90%; text-decoration: none; } @@ -9,9 +9,10 @@ text-decoration: none; } -hr.footnote-separator { - margin-left: 0; - margin-right: auto; - margin-bottom: 10px; - width: 100px; +.anywhere-footnote-hr-divider { + height: 1px; + background-color: #ccc; /* Standard gray color similar to default HR */ + border: none; + margin: 0.5em 0; /* Standard HR margin */ + width: 40%; }