fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-07-20 04:58 pm

[dw-free] Practicality: 24 themes by nornoriel & rising

[commit: http://hg.dwscoalition.org/dw-free/rev/fe6739febb32]

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

Correctly prioritize link colors.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/practicality/layout.s2
--------------------------------------------------------------------------------
diff -r b5fd9f19127f -r fe6739febb32 bin/upgrading/s2layers/practicality/layout.s2
--- a/bin/upgrading/s2layers/practicality/layout.s2	Thu Jul 21 00:55:50 2011 +0800
+++ b/bin/upgrading/s2layers/practicality/layout.s2	Thu Jul 21 00:58:06 2011 +0800
@@ -452,9 +452,9 @@
     }
 
 div.module-calendar td.entry-day a { color: $*color_page_link; }
+div.module-calendar td.entry-day a:visited { color: $*color_page_link_visited; }
+div.module-calendar td.entry-day a:hover { color: $*color_page_link_hover; }
 div.module-calendar td.entry-day a:active { color: $*color_page_link_active; }
-div.module-calendar td.entry-day a:hover { color: $*color_page_link_hover; }
-div.module-calendar td.entry-day a:visited { color: $*color_page_link_visited; }
 
 /*--- Entries ---*/
 
@@ -611,9 +611,9 @@
     }
 
 .month a { color: $*color_entry_link; }
+.month a:visited { color: $*color_entry_link_visited; }
+.month a:hover { color: $*color_entry_link_hover; }
 .month a:active { color: $*color_entry_link_active; }
-.month a:hover { color: $*color_entry_link_hover; }
-.month a:visited { color: $*color_entry_link_visited; }
 
 table.month {
     border-bottom: none;
@@ -669,9 +669,9 @@
     }
 
 .month td.day-has-entries p a { color: $*color_page_link; }
+.month td.day-has-entries p a:visited { color: $*color_page_link_visited; }
+.month td.day-has-entries p a:hover { color: $*color_page_link_hover; }
 .month td.day-has-entries p a:active { color: $*color_page_link_active; }
-.month td.day-has-entries p a:hover { color: $*color_page_link_hover; }
-.month td.day-has-entries p a:visited { color: $*color_page_link_visited; }
 
 /*--- Tags Page ---*/
 
@@ -683,9 +683,9 @@
     }
 
 .page-tags .tags-container a { color: $*color_entry_link; }
+.page-tags .tags-container a:visited { color: $*color_entry_link_visited; }
+.page-tags .tags-container a:hover { color: $*color_entry_link_hover; }
 .page-tags .tags-container a:active { color: $*color_entry_link_active; }
-.page-tags .tags-container a:hover { color: $*color_entry_link_hover; }
-.page-tags .tags-container a:visited { color: $*color_entry_link_visited; }
 
 .page-tags .tags-container h2 {
     $entry_title_font
@@ -714,9 +714,9 @@
     }
 
 .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; }
-.comment a:hover { color: $*color_entry_link_hover; }
-.comment a:visited { color: $*color_entry_link_visited; }
 
 .comment-title, .comment-title a {
     color: $*color_entry_title;
@@ -795,9 +795,9 @@
     }
 
 .bottomcomment a { color: $*color_entry_link; }
+.bottomcomment a:visited { color: $*color_entry_link_visited; }
+.bottomcomment a:hover { color: $*color_entry_link_hover; }
 .bottomcomment a:active { color: $*color_entry_link_active; }
-.bottomcomment a:hover { color: $*color_entry_link_hover; }
-.bottomcomment a:visited { color: $*color_entry_link_visited; }
 
 /*--- Contextual Pop-ups ---*/
 
@@ -823,7 +823,10 @@
     color: $*color_entry_text;
     }
 
-div.ContextualPopup div.Inner a, div.ContextualPopup div.Inner a:link, div.ContextualPopup div.Inner a:visited, div.ContextualPopup div.Inner a:active {
+div.ContextualPopup div.Inner a,
+div.ContextualPopup div.Inner a:link,
+div.ContextualPopup div.Inner a:visited,
+div.ContextualPopup div.Inner a:active {
     color: $*color_entry_link;
     text-decoration: none;
     }
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org