mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2010-04-06 12:06 am

[dw-nonfree] Gift certificate/credits system

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

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

Move standout colors into their own class so I can use them elsewhere
without the margin CSS.

Patch by [staff profile] mark.

Files modified:
  • htdocs/stc/tropo/purple.css
  • htdocs/stc/tropo/red.css
--------------------------------------------------------------------------------
diff -r f1a662a80a6a -r c408a7987b43 htdocs/stc/tropo/purple.css
--- a/htdocs/stc/tropo/purple.css	Mon Apr 05 09:07:59 2010 -0700
+++ b/htdocs/stc/tropo/purple.css	Tue Apr 06 00:06:00 2010 +0000
@@ -384,12 +384,14 @@ a:active,
     text-align: center;
 }
 .standout .standout-inner {
+    margin-top: 0.5em;
+    margin-left: auto;
+    margin-right: auto;
+}
+.standout .standout-inner, .standout-colors {
     background-color: #8356E6;
     color: #fff;
     border: 1px solid #3a155a;
-    margin-top: 0.5em;
-    margin-left: auto;
-    margin-right: auto;
 }
 .standout .standout-inner td {
     padding: 0.5em;
diff -r f1a662a80a6a -r c408a7987b43 htdocs/stc/tropo/red.css
--- a/htdocs/stc/tropo/red.css	Mon Apr 05 09:07:59 2010 -0700
+++ b/htdocs/stc/tropo/red.css	Tue Apr 06 00:06:00 2010 +0000
@@ -380,12 +380,14 @@ a:active,
     text-align: center;
 }
 .standout .standout-inner {
+    margin-top: 0.5em;
+    margin-left: auto;
+    margin-right: auto;
+}
+.standout .standout-inner, .standout-colors {
     background-color: #ffafb6;
     color: #111;
     border: 1px solid #c1272d;
-    margin-top: 0.5em;
-    margin-left: auto;
-    margin-right: auto;
 }
 .standout .standout-inner td {
     padding: 0.5em;
--------------------------------------------------------------------------------