logo

blog

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

css/index.css: Restrict <section> styles to toplevel ones

Diffstat:

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

diff --git a/css/index.css b/css/index.css @@ -93,13 +93,13 @@ pre { article, main, .box-center { margin: 1.5rem auto; } -article, section, main { +article, body > section, main { padding: 0.5rem; background-color: var(--ansi00-soft); display: table; vertical-align: top; } -article, main, section { max-width: 80em; } +article, main, body > section { max-width: 80em; } 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=2022122601"/> + <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020901"/> <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=2022122601"/> + <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020901"/> <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"/>