]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - themes/blueview/style.css
Scratch that, more work needed ☹
[git.ikiwiki.info.git] / themes / blueview / style.css
index af1434574b537259e4bbf77fee8780788fe18856..57813e2ee145b27d2dac263a4c312962e4906d35 100644 (file)
@@ -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;
+       }
+}