diff options
Diffstat (limited to 'Neutron-trunk/cms-special/admin-v2/$resources/responsive.css')
-rw-r--r-- | Neutron-trunk/cms-special/admin-v2/$resources/responsive.css | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Neutron-trunk/cms-special/admin-v2/$resources/responsive.css b/Neutron-trunk/cms-special/admin-v2/$resources/responsive.css new file mode 100644 index 0000000..75810b1 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/$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 |