summaryrefslogtreecommitdiff
path: root/public/static
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-29 08:52:24 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-29 08:52:24 +0200
commite7d37d5a81537668a71d373c8eb59d08242c25d4 (patch)
treed208d334d9d5dd6dc2a0b1f3dae7985e567573f9 /public/static
parentcd1dc7572478988591389f75e15109419089c440 (diff)
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.
Diffstat (limited to 'public/static')
-rw-r--r--public/static/default.css17
-rw-r--r--public/static/mobile.css18
2 files changed, 21 insertions, 14 deletions
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;
-}