From c449c49408f7811a24f3ff9e7368350dc6e7412a Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 3 Jan 2021 10:25:14 +0100 Subject: [PATCH] fix: limit article size Fixes #15 --- scss/_typography.scss | 12 ++++++------ single.php | 2 +- style.css | 10 +++++----- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scss/_typography.scss b/scss/_typography.scss index 9978ea6..16a9180 100644 --- a/scss/_typography.scss +++ b/scss/_typography.scss @@ -72,6 +72,12 @@ ul, ol { /* 2.2 - Text Wrapper */ +.container-article, .container-typographic { + max-width: 800px; + margin:auto; + margin-bottom: 3rem; +} + .container-typographic { p { padding:0; @@ -238,12 +244,6 @@ code { color: $color-red; } -.container-typographic { - max-width: 800px; - margin:auto; - margin-bottom: 3rem; -} - .small-text { font-size: 0.9em; } diff --git a/single.php b/single.php index 0dd8a6b..b729986 100644 --- a/single.php +++ b/single.php @@ -14,7 +14,7 @@ -
+

diff --git a/style.css b/style.css index 0bb2382..3431b4f 100644 --- a/style.css +++ b/style.css @@ -344,6 +344,11 @@ ul, ol { color: #fdf6e3; } /* 2.2 - Text Wrapper */ +.container-article, .container-typographic { + max-width: 800px; + margin: auto; + margin-bottom: 3rem; } + .container-typographic p { padding: 0; margin: 0; @@ -492,11 +497,6 @@ code { background: transparent; color: #dc322f; } -.container-typographic { - max-width: 800px; - margin: auto; - margin-bottom: 3rem; } - .small-text { font-size: 0.9em; }