From 228fdbc6cb93c62c1c2debc61aec567a7b228987 Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Mon, 26 Jul 2021 15:54:31 +0200 Subject: [PATCH] =?UTF-8?q?Ora=20il=20post-it=20=C3=A8=20pi=C3=B9=20largo?= =?UTF-8?q?=20e=20centrato=20su=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/style.css b/style.css index 15f3d33..42bc8cc 100644 --- a/style.css +++ b/style.css @@ -196,12 +196,14 @@ h1, h2, h3, h4 { /* Mobile */ +/* Only Desktop */ @media screen and (min-width: 513px) { #mobile-nav-menu { display: none; } } +/* Only Mobile */ @media screen and (max-width: 512px) { header { padding: 0; @@ -240,4 +242,13 @@ h1, h2, h3, h4 { #mobile-nav-menu:not(.openned) ~ .nav-item { display: none; } + + .news { + float: none; + width: 100%; + max-width: unset; + + margin: 0 auto 1rem; + padding: 0.1px 1rem; + } } \ No newline at end of file