diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-24 15:38:16 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-24 15:38:16 +0200 |
commit | 529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105 (patch) | |
tree | 8a50c30271b9b328cde0d907b1441f2dabdc341b /Neutron-trunk/cms-special/admin-v2/$resources/responsive.css | |
parent | 15e4724761c50b30803df1811a525c85058f70bf (diff) | |
download | electrode-529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105.tar.gz electrode-529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105.tar.bz2 electrode-529ffcbfa97ab51a64a97f6dff08aeb2bc0cc105.zip |
Update
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 |