Skip to content

Commit 9465da4

Browse files
committed
Add CSS for footnotes
1 parent e523e64 commit 9465da4

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

assets/css/style-print.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,19 @@ a, a:visited {
3939
p, ul, ol {
4040
margin: 0.65em 0;
4141
}
42+
sup {
43+
font-size: x-small;
44+
}
45+
sup > a.footnote::before {
46+
content: "[";
47+
margin-left: 1pt;
48+
}
49+
sup > a.footnote::after {
50+
content: "]";
51+
}
52+
a.reversefootnote {
53+
font-size: smaller;
54+
}
4255
.image {
4356
text-align: center;
4457
}

assets/css/style-reduced.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,15 @@ div#socialnew {
7777
}
7878

7979
/* Blog */
80+
sup {
81+
font-size: x-small;
82+
}
83+
sup > a.footnote {
84+
margin-left: 1pt;
85+
}
86+
a.reversefootnote {
87+
font-size: smaller;
88+
}
8089
img.heading, img.image {
8190
text-align: center;
8291
max-width: 100%; /* N/A on IE6 */

assets/css/style.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,19 @@ div#socialold {
159159
p, ul, ol {
160160
margin: 0.65em 0;
161161
}
162+
sup {
163+
font-size: x-small;
164+
}
165+
sup > a.footnote::before {
166+
content: "[";
167+
margin-left: 1pt;
168+
}
169+
sup > a.footnote::after {
170+
content: "]";
171+
}
172+
a.reversefootnote {
173+
font-size: smaller;
174+
}
162175
div.image, figure {
163176
margin-top: 1em;
164177
margin-bottom: 1em;

0 commit comments

Comments
 (0)