From 01236210257de645e734afc085a6f5e11ddde232 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 6 Apr 2015 17:22:57 +0200 Subject: [PATCH] [ticket/522] Hide portal on all pages on low resolutions B3P-522 --- .../prosilver/theme/portal_all_responsive.css | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/styles/prosilver/theme/portal_all_responsive.css b/styles/prosilver/theme/portal_all_responsive.css index b20ba095..b91d9543 100644 --- a/styles/prosilver/theme/portal_all_responsive.css +++ b/styles/prosilver/theme/portal_all_responsive.css @@ -1,14 +1,29 @@ @media only screen and (max-width: 870px), only screen and (max-device-width: 870px) { - .portal-body-center dd.posts, .portal-body-center dd.views { - display: none !important; - } - .portal-body-center dt { width: 130% !important; } + .portal-body-center dd.posts, .portal-body-center dd.views { + display: none !important; + } + .portal-body-center dt { width: 130% !important; } + .portal-body-center dd.lastpost { width: auto; } } @media only screen and (max-width: 740px), only screen and (max-device-width: 740px) { - .portal-body-center dt { width: 140% !important; } - #portal-left ul.topiclist dd, #portal-right ul.topiclist dd { display: block !important; } + #portal-left ul.topiclist dd, #portal-right ul.topiclist dd { display: block !important; } - #portal-right > .portal-clear, #portal-body > .portal-clear, #portal-left > .portal-clear, - #portal-center > .portal-clear, #portal-login-box .portal-clear { display: none !important; } -} \ No newline at end of file + #portal-right > .portal-clear, #portal-body > .portal-clear, #portal-left > .portal-clear, + #portal-center > .portal-clear, #portal-login-box .portal-clear { display: none !important; } +} + +@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) { + .portal-body-center dt { width: 100% !important; } +} + +@media only screen and (max-width: 540px), only screen and (max-device-width: 540px) { + #portal-left, #portal-right { + display: none; + } + + .portal-body-center { + margin: 0 !important; + padding: 0 !important; + } +}