From d75cc5134fb086a1298080452b8f7bec30505e3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20S=C3=A9chet?= Date: Sun, 19 May 2024 17:52:45 +0200 Subject: [PATCH] css: add padding to page content --- css/content.css | 6 ++++++ stylesheet.css | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/css/content.css b/css/content.css index 96d842c..9f3f642 100644 --- a/css/content.css +++ b/css/content.css @@ -1,3 +1,9 @@ +.content { + margin: 2em auto 0 auto; + padding: 0 var(--space-small); + max-width: 1100px; +} + /* Sections */ .section { diff --git a/stylesheet.css b/stylesheet.css index d5dca54..7eba5b5 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -7,7 +7,3 @@ body { color: var(--color); } -.content { - margin: 2em auto 0 auto; - max-width: 1100px; -}