From 529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 24 Aug 2021 15:38:16 +0200 Subject: Update --- .../cms-special/admin/$resources/responsive.css | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Neutron-trunk/cms-special/admin/$resources/responsive.css (limited to 'Neutron-trunk/cms-special/admin/$resources/responsive.css') diff --git a/Neutron-trunk/cms-special/admin/$resources/responsive.css b/Neutron-trunk/cms-special/admin/$resources/responsive.css new file mode 100644 index 0000000..75810b1 --- /dev/null +++ b/Neutron-trunk/cms-special/admin/$resources/responsive.css @@ -0,0 +1,31 @@ +@media (max-width: 500px) { + /* The following CSS will apply ONLY to smartphones or small screens */ + .error-desktop { + display: none; + } + .error-mobile { + display: initial; + } + div#home-grid { + display: grid; + grid-template-columns: 1fr !important; + } +} + +@media (max-width: 720px) { + /* The following CSS will apply ONLY to medium screens (less than 720p) */ + #home-grid { + display: grid; + grid-template-columns: 1fr 1fr !important; + } +} + +@media (min-width: 500px) { + /* The following CSS will NEVER apply to smartphones or small screens */ + .error-desktop { + display: initial; + } + .error-mobile { + display: none; + } +} \ No newline at end of file -- cgit