fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-08-18 03:07 am

[dw-nonfree] Tropospherical flashes of background color may be painful

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/5aba243102b1]

http://bugs.dwscoalition.org/show_bug.cgi?id=2965

Tweak body background to be a more neutral color. Also, remove the
background for overflowing content, because these can just now go over the
current body.

Patch by [personal profile] fu.

Files modified:
  • htdocs/stc/tropo/tropo-base.css
  • htdocs/stc/tropo/tropo-purple.css
  • htdocs/stc/tropo/tropo-red.css
--------------------------------------------------------------------------------
diff -r 7a99b27e96a1 -r 5aba243102b1 htdocs/stc/tropo/tropo-base.css
--- a/htdocs/stc/tropo/tropo-base.css	Tue Aug 17 14:11:29 2010 -0500
+++ b/htdocs/stc/tropo/tropo-base.css	Wed Aug 18 11:07:27 2010 +0800
@@ -44,9 +44,11 @@ body {
 #canvas {
     font-size: .75em;
     line-height: 1.5;
-    margin: 2em 0 2em 0;
+    margin: 0;
     width: 92%;
     padding: 0 4%;
+    border-style: solid;
+    border-width: 2em 0;
 }
 #page {
     max-width: 80em;
diff -r 7a99b27e96a1 -r 5aba243102b1 htdocs/stc/tropo/tropo-purple.css
--- a/htdocs/stc/tropo/tropo-purple.css	Tue Aug 17 14:11:29 2010 -0500
+++ b/htdocs/stc/tropo/tropo-purple.css	Wed Aug 18 11:07:27 2010 +0800
@@ -36,7 +36,7 @@
  */
 
 body {
-    background-color: #3a155a;
+    background-color: #f7f7f7;
     color: #111;
 }
 
@@ -56,6 +56,7 @@ a:active,
 }
 #canvas {
     background-color: #f7f7f7;
+    border-color: #3a155a;
 }
 
 /**
@@ -845,8 +846,3 @@ div.adult_warning {
 .userslist-table tr.even {
     background-color: #f7f7f7;
 }
-
-/* for items which could have wide content, that could overflow outside the bounds of #content */
-#page_talkread  #Comments .talk-comment td.commentbody {
-    background-color: #f7f7f7;
-}
diff -r 7a99b27e96a1 -r 5aba243102b1 htdocs/stc/tropo/tropo-red.css
--- a/htdocs/stc/tropo/tropo-red.css	Tue Aug 17 14:11:29 2010 -0500
+++ b/htdocs/stc/tropo/tropo-red.css	Wed Aug 18 11:07:27 2010 +0800
@@ -34,7 +34,7 @@
  */
 
 body {
-    background-color: #c1272d;
+    background-color: #f7f7f7;
     color: #111;
 }
 
@@ -54,6 +54,7 @@ a:active,
 }
 #canvas {
     background-color: #f7f7f7;
+    border-color: #c1272d;
 }
 
 /**
@@ -843,8 +844,3 @@ div.adult_warning {
 .userslist-table tr.even {
     background-color: #fff;
 }
-
-/* for items which could have wide content, that could overflow outside the bounds of #content */
-#page_talkread  #Comments .talk-comment td.commentbody {
-    background-color: #f7f7f7;
-}
--------------------------------------------------------------------------------