Skip to content

Commit 0f74926

Browse files
committed
Fix styling of footnotes
The custom site generator used comrak for markdown to html translation while Zola uses pulldown-cmark. One of them uses a <section> while the other uses <footer class="footnotes"> to render the footnotes. So a few CSS tweaks were needed to apply the correct styles to the footnotes.
1 parent e4319a0 commit 0f74926

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sass/styles/app.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ code {
120120
overflow: auto;
121121
}
122122

123-
section {
123+
section, .footnotes {
124124
padding: 30px 0 60px 0;
125125

126126
header {
@@ -294,7 +294,7 @@ table.post-list a:hover {
294294
margin: -60px 0 60px 0;
295295
}
296296

297-
footer {
297+
footer.footer {
298298
padding: 30px 0;
299299
background-color: black;
300300
color: white;

templates/footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% macro footer() -%}
2-
<footer>
2+
<footer class="footer">
33
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
44
<div class="row">
55
<div class="four columns mt3 mt0-l" id="get-help">

0 commit comments

Comments
 (0)