fix: make <sup> in footnotes look like <p>

DESCRIPTION
    Zola renders the footnotes as <sup>, so it looks weird on the
    website This snippet makes this particular <sup> look like normal
    text.
pull/18/head
Aravinth Manivannan 2022-10-28 14:35:11 +05:30
rodzic 44a98fb20c
commit 8c65b12a2a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: AD9F0F08E855ED88
1 zmienionych plików z 22 dodań i 0 usunięć

Wyświetl plik

@ -465,3 +465,25 @@ ul.language-select > li {
display: none;
}
}
.footnote-definition-label::before {
content: "[";
}
.footnote-definition-label::after {
content: "] :";
}
.footnote-definition-label {
// zola renders the footnotes as <sup>,
// so it looks weird on the website
// This snippet makes this particular <sup> look like normal text
top: 4px;
position: relative;
font-size: 18px;
}
.footnote-definition-label,
.footnote-definition > p {
display: inline;
}