From 3b3e37aa35b2c4b32b56a0745864f3ccd87b4e31 Mon Sep 17 00:00:00 2001 From: Nicolas Doby Date: Tue, 18 Oct 2022 18:25:02 +0200 Subject: [PATCH] fix: add margin after pre and figures --- public/css/index.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/css/index.css b/public/css/index.css index 616ee06..ac8443d 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -149,6 +149,11 @@ hr { margin: 4rem 15vw; } +figure + h2, +pre + h2 { + margin-top: 2rem; +} + figure { text-align: center; margin: 0; @@ -329,7 +334,6 @@ a[href].direct-link:focus, /* * New diff- syntax */ - pre[class*="language-diff-"] { --eleventy-code-padding: 1.25em; padding-left: var(--eleventy-code-padding);