From 7f4bfb830956b2a312a395d397f23872c5d101e9 Mon Sep 17 00:00:00 2001 From: eggy Date: Sun, 27 Aug 2017 11:37:10 +0200 Subject: [PATCH] codebox scrolling bei winzigdisplay, versuch eins --- theme/common.css | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/theme/common.css b/theme/common.css index 57a3620..b95f230 100644 --- a/theme/common.css +++ b/theme/common.css @@ -155,6 +155,7 @@ a:hover { text-decoration: underline; } .page-body { /* margin: 4px 0; */ + margin: 10px 0; } .debianforumde-sidebar { @@ -164,15 +165,30 @@ a:hover { text-decoration: underline; } float:left; } + +@media only screen and (min-width: 1px) { +.page-body { +margin: 10px 0; + float:right; + width:99%; +} + + + + +} + + + @media only screen and (min-width: 680px) { .page-body { - margin: 10px 0; - /* clear: both; */ - float:right; - /* margin-left: 160px; - margin-right: 16px; - padding-left: 15px; */ - width:85%; +margin: 10px 0; +/* clear: both; */ + float:right; + /* margin-left: 160px; + margin-right: 16px; + padding-left: 15px; */ + width:85%; } .debianforumde-sidebar { -- 2.39.2