Headings are visible on click

master
Quentin Duchemin 2023-09-08 12:42:45 +02:00
parent 3969f6f5a5
commit 10b31dbad1
Signed by: Chosto
GPG Key ID: 96AB8AE7DFEA3D74
3 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,7 @@
{
"cSpell.language": "fr-FR,fr",
"cSpell.language": "fr-FR,fr,en-GB",
"cSpell.words": [
"enthéogènes",
"toustes"
]
}

View File

@ -34,7 +34,7 @@
</div>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Dossiers thématiques
Séries thématiques
</a>
<div class="navbar-dropdown">
{{ range where .Site.Pages "Params.code" "!=" nil }}

View File

@ -10,10 +10,10 @@
}
/* Trick which changes nothing visually but makes the footnote anchors
virtually 40% lower. Otherwise the fixed navbar is just above the
footnote link when going back from the bottom. That way, either
footnotes or anchors are in the middle of the page, making
navigation easier */
virtually 40% and 10% for headings lower.
Otherwise the fixed navbar is just above the footnote link when going
back from the bottom. That way, either footnotes or anchors are in
the middle of the page, making navigation easier */
sup[id*=fn] {
padding-top: 40% !important;
margin-top: -40% !important;
@ -24,6 +24,11 @@ li[id*=fn] {
margin-top: -40% !important;
}
h1, h2, h3, h4, h5, h6 {
padding-top: 10% !important;
margin-top: -10% !important;
}
/* Useful to force cards to have the same height */
.has-equal-height {
height: 100%;