From 10c252cd16687622d8790489f0713608d4f98b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Tue, 20 Feb 2024 19:14:17 +0100 Subject: [PATCH] =?UTF-8?q?Rozh=C3=A1zen=C3=AD=20@media,=20o=20kter=C3=BDc?= =?UTF-8?q?h=20je=20jasn=C3=A9,=20kam=20pat=C5=99=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/static/css/layout.css | 44 ++++++++++++----------------------- mamweb/static/css/modules.css | 18 ++++++++++++++ 2 files changed, 33 insertions(+), 29 deletions(-) diff --git a/mamweb/static/css/layout.css b/mamweb/static/css/layout.css index 7465b9d3..d488c3b0 100644 --- a/mamweb/static/css/layout.css +++ b/mamweb/static/css/layout.css @@ -200,6 +200,21 @@ p.license-mobile { display: none; margin-bottom: 0px; } + +@media (max-width: 650px) { + #footer { + display: none; + } + + p.license-mobile { + position: relative; + display: block; + font-size: 90%; + background-color: var(--hlavni-oranzova); + padding: 5%; + text-align: justify; + } +} /****************/ @@ -508,15 +523,6 @@ div.zadani_termin .datum { margin-top: 8px; /* mezera mezi hlavním menu a submenu */ } - a.ref-org-foto { - pointer-events: none; - } - - table#reseni.form td, table#reseni.form tr { - display: inline-grid; - max-width: 300px; - } - /* titulni stranka */ .titulnistrana { @@ -670,26 +676,6 @@ div.zadani_termin .datum { display: block; } - - /*patička mobil*/ - - #footer { - display: none; - } - - p.license-mobile { - position: relative; - display: block; - font-size: 90%; - background-color: var(--hlavni-oranzova); - padding: 5%; - text-align: justify; - } - - table.form td, table.form tr { - display: inherit; - } - /* titulni stranka */ .titulnistrana { diff --git a/mamweb/static/css/modules.css b/mamweb/static/css/modules.css index 17047f1c..24984f67 100644 --- a/mamweb/static/css/modules.css +++ b/mamweb/static/css/modules.css @@ -120,6 +120,10 @@ div.flip-card-foto, div.flip-card-foto img { background-color: white; } +@media(max-width: 800px) { + a.ref-org-foto { pointer-events: none; } +} + /* karty archiv */ div.popis_rocniku { @@ -331,6 +335,20 @@ table#reseni.form td, table#reseni.form tr { display: inline-table; } +@media (max-width: 650px) { + table.form td, table.form tr { + display: inherit; + } +} + +@media(max-width: 800px) { + + table#reseni.form td, table#reseni.form tr { + display: inline-grid; + max-width: 300px; + } +} + .field-with-comment{ position:relative; }