From e7d37d5a81537668a71d373c8eb59d08242c25d4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 29 Apr 2019 08:52:24 +0200 Subject: Switch to App/Mobile first, no longer rely on BrowserDetect plugin "App" with force_mobile=1 is now the default view even on desktop -- The infoscreen template's extra large font wasn't really nice. This breaks the setup of everyone who was relying on infoscreen being the default -- please append `mode=infoscreen` to your requests. --- public/static/default.css | 17 +++++++++++++++++ public/static/mobile.css | 18 ++++-------------- 2 files changed, 21 insertions(+), 14 deletions(-) (limited to 'public') diff --git a/public/static/default.css b/public/static/default.css index 1b8780a..6f2f603 100644 --- a/public/static/default.css +++ b/public/static/default.css @@ -1,3 +1,7 @@ +body { + margin: 0; +} + html { font-family: Sans-Serif; } @@ -7,6 +11,19 @@ a { text-decoration: none; } +p, +div.about, +div.input-field, +div.notes { + max-width: 94%; + margin-left: auto; + margin-right: auto; +} + +p { + text-align: justify; +} + div.app { border-width:1px 2px; width:100%; diff --git a/public/static/mobile.css b/public/static/mobile.css index 17d9539..c57246c 100644 --- a/public/static/mobile.css +++ b/public/static/mobile.css @@ -1,5 +1,7 @@ -body { - margin: 0; +div.app { + max-width: 60em; + margin-left: auto; + margin-right: auto; } div.app > ul > li { @@ -9,15 +11,3 @@ div.app > ul > li { div.app li .moreinfo { font-size: 2.6em; } - -p, -div.input-field, -div.notes { - max-width: 94%; - margin-left: auto; - margin-right: auto; -} - -p { - text-align: justify; -} -- cgit v1.2.3