summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2018-10-30 16:20:12 -0600
committerAaron Ball <nullspoon@oper.io>2018-10-30 16:20:12 -0600
commit3cb41f4d58a738a83f86f9e6b40b08bf5a3a7723 (patch)
tree205f742e61fbe0607c5495addbecc20737602d0f /res
parent9b7b57b683e1ec183dc68bd71de254e14b094d42 (diff)
downloadoper.io-3cb41f4d58a738a83f86f9e6b40b08bf5a3a7723.tar.gz
oper.io-3cb41f4d58a738a83f86f9e6b40b08bf5a3a7723.tar.xz
style:fix body max width
Previously, body width was governed by percentage. This scaled with browser size, which didn't work very well on mobile browsers. Now we set it to a maximum width, designed for desktops and laptops. Smaller devices will not show the side borders and content will be more readable.
Diffstat (limited to 'res')
-rw-r--r--res/style.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/res/style.css b/res/style.css
index 99cb391..1f6cd18 100644
--- a/res/style.css
+++ b/res/style.css
@@ -198,10 +198,11 @@ div#body-wrapper {
background-color:#eee;
border-radius:5px;
box-shadow:inset 0px 2px 5px #222;
- margin-right:5%;
margin-top:15px;
- margin-left:5%;
+ margin-left:auto;
+ margin-right:auto;
padding:7px 0px 0px 0px;
+ max-width:100em;
}

Generated by cgit