X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/844710c0dad4e35213ca1b55a660ab6c0a525dd8..a6e69822f68864512d49a954a4581511246f0e0b:/themes/blueview/style.css diff --git a/themes/blueview/style.css b/themes/blueview/style.css index af1434574..57813e2ee 100644 --- a/themes/blueview/style.css +++ b/themes/blueview/style.css @@ -279,3 +279,30 @@ body { } +/* lose the border on mobile */ +@media (max-width: 600px) { + body { + padding: 0; + } + .page { + border: none; + margin: 0; + } + #pagebody { + margin: auto; + border: none; + padding: 0.5em; + } + #footer { + padding: 0.5em; + } +} + +/* cancel the minimum width if it would mean scrollbars */ +@media (max-width: 850px) { + .page { + width: auto; + min-width: 0; + padding: 0; + } +}