X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/4f25efaff3aadd672ac0c10b7f15f70899a1da4f..8a537f9b52caa25fb6fcd6003f2848a6cdd5d5e2:/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; + } +}