File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 16
16
margin : 0.5em 0 ; /* Standard HR margin */
17
17
width : 20% ;
18
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
+ }
You can’t perform that action at this time.
0 commit comments