logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: e8dcb21f7e661d27e22bb6179a9977731bfa9396
parent 8c6130504c7b9923c504f05717bd2a1afef7cdcb
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu,  9 Feb 2023 15:39:35 +0100

css: Reduce block-margin for section headings

Diffstat:

Mcss/index.css4++++
Mtemplates/head.shtml2+-
Mtemplates/head.xml2+-
3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/css/index.css b/css/index.css @@ -101,6 +101,10 @@ article, body > section, main { } article, main, body > section { max-width: 80em; } +section h1, section h2, section h3, section h4, section h5, section h6 { + margin-block: 0.25em; +} + table { border-collapse: collapse; } diff --git a/templates/head.shtml b/templates/head.shtml @@ -1,5 +1,5 @@ <meta charset="utf-8"/> - <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020901"/> + <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/> <link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/> diff --git a/templates/head.xml b/templates/head.xml @@ -1,6 +1,6 @@ <xml> <meta charset="utf-8"/> - <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020901"/> + <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/> <link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/>