X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/582e52d3ca79d0d5d0335486718fe2167d6304cd..a5709a3740bd061cafe16ef5f5038cd1dad62d23:/themes/blueview/style.css?ds=sidebyside 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; + } +}