[dw-free] Crossroads: 5 themes
[commit: http://hg.dwscoalition.org/dw-free/rev/561d4c06e7ba]
http://bugs.dwscoalition.org/show_bug.cgi?id=3439
Fix text and link colors in comments.
Patch by
ninetydegrees.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3439
Fix text and link colors in comments.
Patch by
Files modified:
- bin/upgrading/s2layers/crossroads/layout.s2
--------------------------------------------------------------------------------
diff -r d6d66183e901 -r 561d4c06e7ba bin/upgrading/s2layers/crossroads/layout.s2
--- a/bin/upgrading/s2layers/crossroads/layout.s2 Mon Apr 04 16:15:39 2011 +0800
+++ b/bin/upgrading/s2layers/crossroads/layout.s2 Mon Apr 04 16:20:07 2011 +0800
@@ -123,16 +123,7 @@ if ($*color_entry_background) {
$tagcolor = $*color_entry_background;
}
else {
- $tagcolor = $*color_page_background;
-}
-
-#ditto #comment body background
-var string commentcolor = "";
-if ($*color_entry_background) {
- $commentcolor = $*color_entry_background;
-}
-else {
- $commentcolor = $*color_page_background;
+ $tagcolor = $*color_page_background;
}
var string userpic_css = "";
@@ -341,7 +332,26 @@ ul.entry-interaction-links { text-align:
padding-top: 1px;
margin-bottom: 1em; }
-.comment { background-color: $commentcolor; }
+.comment {
+ background-color: $*color_entry_background;
+ color: $*color_entry_text;
+ }
+
+.comment a {
+ color: $*color_entry_link;
+ }
+
+.comment a:visited {
+ color: $*color_entry_link_visited;
+ }
+
+.comment a:hover {
+ color: $*color_entry_link_hover;
+ }
+
+.comment a:active {
+ color: $*color_entry_link_active;
+ }
.partial .comment {
line-height: 1.75em;
@@ -387,11 +397,13 @@ ul.entry-interaction-links { text-align:
font-style: italic; }
.comment .multiform-checkbox { display: block;
- text-align: right;
+ background-color: $*color_page_background;
+ color: $*color_page_text;
font-size: small;
font-style: italic;
- background-color: $*color_page_background;
- margin: -1px;}
+ margin: -1px;
+ text-align: right;
+ }
.comment .footer { margin: 0 0 .5em 0;
font-size: small;
--------------------------------------------------------------------------------
