summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiri Reiter <siri@jones.dk>2017-08-29 20:59:17 +0200
committerSiri Reiter <siri@jones.dk>2017-08-29 20:59:17 +0200
commit17c2d193696530b5adcddd2711d64e076125094f (patch)
treebd3d68960a900712f4f9e549d2b75c9752660386
parenta81ffbe1984349400ae9cb2a0ada7d31ce500784 (diff)
Responsive design of content, sidebar and farbar.
-rw-r--r--local.scss25
1 files changed, 25 insertions, 0 deletions
diff --git a/local.scss b/local.scss
index 4a19119..266597c 100644
--- a/local.scss
+++ b/local.scss
@@ -313,3 +313,28 @@ div.pagecopyright p {
margin-top: 0;
margin-bottom: 1em;
}
+
+
+//Responsive design
+
+@media screen and (max-width: 480px) {
+ div#content {
+ max-width: 96%;
+ margin: 0;
+ padding: 0 4%;
+ }
+ div.inlinepage {
+ margin: 0;
+ }
+ div.farbar {
+ width: 96%;
+ margin-left: 0;
+ padding: 0 4%;
+ }
+ div.sidebar {
+ float: none;
+ width: 96%;
+ margin-left: 0;
+ padding: 0 4%;
+ }
+}