diff web/css/dottes.css @ 635:f9ed1b7953ca

Impose maximum width on main content.
author Jim Hague <jim.hague@acm.org>
date Mon, 07 Nov 2016 20:31:16 +0000
parents 7a64aeaaa294
children 3a71f1fe4c55
line wrap: on
line diff
--- a/web/css/dottes.css	Sun Nov 06 23:10:17 2016 +0000
+++ b/web/css/dottes.css	Mon Nov 07 20:31:16 2016 +0000
@@ -21,7 +21,7 @@
     background: white;
 }
 
-div.banner
+div.banner, div.dottes-body
 {
     background-color: black;
 
@@ -38,6 +38,17 @@
     -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 @@
 {
     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