File tree Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 1+ .anywhere-footnote-marker {
2+ vertical-align : super;
3+ font-size : 90% ;
4+ text-decoration : none;
5+ }
6+
7+ .anywhere-footnote-block {
8+ vertical-align : super;
9+ text-decoration : none;
10+ }
11+
12+ .anywhere-footnote-hr-divider {
13+ height : 1px ;
14+ background-color : # ccc ; /* Standard gray color similar to default HR */
15+ border : none;
16+ margin : 0.5em 0 ; /* Standard HR margin */
17+ width : 20% ;
18+ }
19+
20+ /* Updated CSS with anywhere-footnote-horizontal class */
21+ .anywhere-footnote-horizontal .dlist dt {
22+ display : inline-block;
23+ margin-right : 0.5em ;
24+ vertical-align : top;
25+ margin-bottom : 0.2em ;
26+ }
27+
28+ .anywhere-footnote-horizontal .dlist dd {
29+ display : inline-block;
30+ margin-left : 0 ;
31+ margin-right : 0 ;
32+ margin-bottom : 0.2em ;
33+ width : calc (100% - 3em );
34+ }
35+
36+ .anywhere-footnote-horizontal .dlist dd p {
37+ display : inline;
38+ margin : 0 ;
39+ line-height : 1.2 ;
40+ }
41+
42+ .anywhere-footnote-block .anywhere-footnote-horizontal .dlist {
43+ margin-bottom : 0.5em ;
44+ line-height : 1.3 ;
45+ }
46+
47+ /* Make each term-description pair appear on its own line */
48+ .anywhere-footnote-horizontal .dlist > dt ,
49+ .anywhere-footnote-horizontal .dlist > dd {
50+ display : block;
51+ width : 100% ;
52+ }
53+
54+ /* Put the term and description on the same line but force a new line after each pair */
55+ .anywhere-footnote-horizontal .dlist > dt {
56+ display : inline-block;
57+ width : auto;
58+ margin-right : 0.5em ;
59+ }
60+
61+ .anywhere-footnote-horizontal .dlist > dd {
62+ display : inline-block;
63+ width : auto;
64+ margin-bottom : 0.2em ;
65+ }
66+
67+ /* Force each dt+dd pair to be on a new line with less spacing */
68+ .anywhere-footnote-horizontal .dlist dt + dd {
69+ display : inline-block;
70+ margin-bottom : 0.3em ;
71+ }
72+
73+ /* Compact spacing between entries */
74+ .anywhere-footnote-horizontal .dlist {
75+ margin-top : 0.3em ;
76+ margin-bottom : 0.3em ;
77+ }
Original file line number Diff line number Diff line change 3434@import "external-link-icon.css" ;
3535@import "disable-callouts.css" ;
3636@import "asciidoctor-external-callout.css" ;
37+ @import "asciidoctor-anywhere-footnote.css" ;
3738@import "info-banner.css" ;
3839@import "chatbot.css" ;
You can’t perform that action at this time.
0 commit comments