From af81f88b925454291d4bc968bed30d0963410a17 Mon Sep 17 00:00:00 2001 From: welpo Date: Mon, 10 Jul 2023 15:56:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20refactor:=20combine=20and=20reor?= =?UTF-8?q?der=20media=20queries?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/main.scss | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/sass/main.scss b/sass/main.scss index 0dc1043..c9be80b 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -158,7 +158,12 @@ article { margin-top: -5vmin; } -h1, h2, h3, h4, h5, h6 { +h1, +h2, +h3, +h4, +h5, +h6 { position: relative; } @@ -239,6 +244,14 @@ strong { body { margin: 0 32px; } + + article .full-width { + width: auto; + max-width: none; + margin-left: 0; + margin-right: 0; + display: block; + } } @media only screen and (max-width: 600px) { @@ -273,13 +286,3 @@ strong { font-size: 20px; } } - -@media only screen and (max-width: 1000px) { - article .full-width { - width: auto; - max-width: none; - margin-left: 0; - margin-right: 0; - display: block; - } -}