From bfcc214f2f0784b65f2409f7a0d1ee30076665a9 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Mon, 7 Nov 2016 20:31:16 +0000 Subject: [PATCH] Impose maximum width on main content. --- web/css/dottes.css | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/web/css/dottes.css b/web/css/dottes.css index ce4414c..727f548 100644 --- a/web/css/dottes.css +++ b/web/css/dottes.css @@ -21,7 +21,7 @@ p background: white; } -div.banner +div.banner, div.dottes-body { background-color: black; @@ -38,6 +38,17 @@ div.banner -moz-border-radius-bottomright: 5px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; + + padding: 10px; + + max-width: 1300px; + margin-left: auto; + margin-right: auto; +} + +div.banner +{ + background-color: black; } div.banner img @@ -64,24 +75,8 @@ div.dottes-body { background-color: white; - -webkit-border-top-left-radius: 5px; - -webkit-border-top-right-radius: 5px; - -moz-border-radius-topleft: 5px; - -moz-border-radius-topright: 5px; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - - -webkit-border-bottom-left-radius: 5px; - -webkit-border-bottom-right-radius: 5px; - -moz-border-radius-bottomleft: 5px; - -moz-border-radius-bottomright: 5px; - border-bottom-left-radius: 5px; - border-bottom-right-radius: 5px; - margin-top: 5px; margin-bottom: 5px; - - padding: 10px; } div.dottes-body h1