Skip to content

Commit

Permalink
Add support for bottom_footnotes = true
Browse files Browse the repository at this point in the history
  • Loading branch information
InputUsername committed Jan 27, 2025
1 parent da72276 commit 64f509d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
2 changes: 2 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ taxonomies = [
highlight_code = true
highlight_theme = "agola-dark"

bottom_footnotes = true

[extra]
# Put all your custom variables here

Expand Down
13 changes: 13 additions & 0 deletions sass/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,19 @@ pre code {
color: var(--secondary);
}

.footnotes-list li {
color: var(--secondary);

p {
color: var(--foreground);
}
}

hr {
border: none;
border-bottom: 1px solid var(--table-border);
}

table {
th, td {
border-color: var(--table-border);
Expand Down
8 changes: 5 additions & 3 deletions sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,17 @@ pre {
.footnote-definition {
margin-top: 1em;

&:first-of-type {
margin-top: 3em;
}
font-size: 75%;

p {
display: inline;
}
}

.footnotes-list {
font-size: 75%;
}

table {
border-spacing: 0;

Expand Down

0 comments on commit 64f509d

Please sign in to comment.