improve display of footnotes fixes https://codeberg.org/alanpearce/zola-bearblog/issues/36
3 files changed, 18 insertions(+), 2 deletions(-)
changed files
M netlify.toml → netlify.toml
@@ -22,7 +22,7 @@ # shasum --algorithm 256 templates/style.css.html | cut -d' ' -f 1 | xxd -r -p | base64 # if nothing else works # openssl dgst -sha256 -binary < templates/style.css.html | openssl enc -base64 # and paste the output after sha256- -Content-Security-Policy = "default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'sha256-p5EfRIhWJi7Zh7WJil3mpIVCZvcu+zebWbMe6B0so8A='; form-action 'none'; base-uri 'self'; frame-ancestors 'none'" +Content-Security-Policy = "default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'sha256-PKsAyc2CAbvt1axikIx7gOr3bSn047az3mVPNOp94EA='; form-action 'none'; base-uri 'self'; frame-ancestors 'none'" Cross-Origin-Resource-Policy = "same-site" Cache-Control = ''' max-age=300,
M static/_headers → static/_headers
@@ -8,6 +8,6 @@ X-XSS-Protection: 1; mode=block Referrer-Policy: strict-origin-when-cross-origin Strict-Transport-Security: max-age=63072000; includeSubdomains Permissions-Policy: interest-cohort=(), accelerometer=(), ambient-light-sensor=(), battery=(), bluetooth=(), browsing-topics=(), camera=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), identity-credentials-get=(), idle-detection=(), magnetometer=(), microphone=(), midi=(), otp-credentials=(), payment=(), picture-in-picture=(), publickey-credentials-create=(), publickey-credentials-get=(), serial=(), storage-access=(), sync-xhr=(), usb=(), web-share=(), window-management=(), xr-spatial-tracking=() - Content-Security-Policy: default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'sha256-p5EfRIhWJi7Zh7WJil3mpIVCZvcu+zebWbMe6B0so8A='; form-action 'none'; base-uri 'self'; frame-ancestors 'none' + Content-Security-Policy: default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'sha256-PKsAyc2CAbvt1axikIx7gOr3bSn047az3mVPNOp94EA='; form-action 'none'; base-uri 'self'; frame-ancestors 'none' Cross-Origin-Resource-Policy: same-site Cache-Control: max-age=300, s-maxage=86400, stale-while-revalidate
M templates/style.css.html → templates/style.css.html
@@ -169,3 +169,19 @@ .tags { font-size: smaller; } + + .footnote-definition { + display: flex; + margin-top: 1em; + } + .footnote-definition-label { + margin-left: 1rem; + margin-right: 0.5rem; + vertical-align: baseline; + } + .footnote-definition-label::after { + content: "." + } + .footnote-definition > p { + margin: 0; + }