From 92baa6a60bb2d6dd22f0d4f8b7ac48d3c66124ee Mon Sep 17 00:00:00 2001 From: Hugo Peixoto Date: Wed, 19 Jul 2023 03:08:30 +0100 Subject: [PATCH] =?UTF-8?q?Tenta=20corrigir=20vers=C3=A3o=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/baseof.html | 1 + static/styles.css | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 427b837..c86415c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,6 +5,7 @@ {{ block "title" . }}{{ .Site.Title }}{{ end }} +
diff --git a/static/styles.css b/static/styles.css index c17dfde..78ebef6 100644 --- a/static/styles.css +++ b/static/styles.css @@ -104,14 +104,6 @@ hr { aside h2, .with-divider { background: url(/widget-divider.png); background-repeat: repeat-x; background-position: center; } aside h2 span, .with-divider span { background-color: white; padding-right: 0.5rem; } -@media (max-width: 768px) { - body { - grid-template-areas: "header" "navigation" "main" "sidebar" "footer"; - grid-template-columns: 1fr; - } - aside { border-left: none; padding-left: 0; } -} - .carrousel { position: relative; } @@ -217,3 +209,13 @@ aside h2 span, .with-divider span { background-color: white; padding-right: 0.5r .carrousel #v4:checked ~ .carrousel-controls .carrousel-visible-control[for="v4"], .carrousel #v5:checked ~ .carrousel-controls .carrousel-visible-control[for="v5"] { background-color: #C4302B !important; } + +@media (max-width: 768px) { + body { + grid-template-areas: "header" "navigation" "main" "sidebar" "footer"; + grid-template-columns: 1fr; + } + aside { border-left: none; padding-left: 0; } + + .articles img { max-width: 100px; } +}