X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/aea9a6892f40347098d91e4afdb7c1911e59387c..1dde8961f4f93f4210f5e55c5e378198473053be:/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; + } +}