From 17c2d193696530b5adcddd2711d64e076125094f Mon Sep 17 00:00:00 2001 From: Siri Reiter Date: Tue, 29 Aug 2017 20:59:17 +0200 Subject: Responsive design of content, sidebar and farbar. --- local.scss | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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%; + } +} -- cgit v1.2.3