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

[dw-free] Brittle: Elegant Brown by rising

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

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

New theme for Brittle by [personal profile] rising: Elegant Brown (with
background texture)

Patch and preview by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/brittle/themes.s2
  • htdocs/img/customize/previews/brittle/elegantbrown.png
  • htdocs/stc/brittle/elegantbrown.png
--------------------------------------------------------------------------------
diff -r 65a2845c6b95 -r a4dc459038d1 bin/upgrading/s2layers/brittle/themes.s2
--- a/bin/upgrading/s2layers/brittle/themes.s2	Mon Apr 18 12:22:30 2011 +0800
+++ b/bin/upgrading/s2layers/brittle/themes.s2	Mon Apr 18 13:18:01 2011 +0800
@@ -333,6 +333,97 @@ set image_background_page_url = "brittle
 set image_background_page_url = "brittle/drab.png";
 
 
+#NEWLAYER: brittle/elegantbrown
+layerinfo type = "theme";
+layerinfo name = "Elegant Brown";
+layerinfo redist_uniq = "brittle/elegantbrown";
+layerinfo author_name = "rising";
+
+set theme_authors = [ { "name" => "rising", "type" => "user" } ];
+
+##===============================
+## Page Colors
+##===============================
+
+set color_page_background = "#796650";
+set color_page_link = "#e6ac27";
+set color_page_link_hover = "#96dcbd";
+set color_page_link_visited = "#80bca3";
+set color_page_text = "#f6f7e8";
+set color_footer_background = "#655643";
+set color_footer_link = "#e6ac27";
+set color_footer_link_hover = "#96dcbd";
+set color_footer_link_visited = "#80bca3";
+
+##===============================
+## Entry Colors
+##===============================
+
+set color_entry_background = "#655643";
+set color_entry_link = "#e6ac27";
+set color_entry_link_hover = "#96dcbd";
+set color_entry_link_visited = "#80bca3";
+set color_entry_text = "#f6f7e8";
+set color_entry_title = "#f6f7e8";
+
+##===============================
+## Module Colors
+##===============================
+
+set color_navigation_module_background = "#655643";
+set color_navigation_module_link = "#e6ac27";
+set color_navigation_module_link_hover = "#96dcbd";
+set color_navigation_module_link_visited = "#80bca3";
+
+##===============================
+## Images
+##===============================
+
+set image_background_page_position = "top left";
+set image_background_page_repeat = "repeat";
+set image_background_page_url = "brittle/elegantbrown.png";
+
+function Page::print_theme_stylesheet() {
+    """
+    blockquote {
+        color: inherit;
+        border: none;
+        font-size: inherit;
+        font-style: normal;
+        margin-top: .9em;
+        margin-bottom: .9em;
+        padding: 1em;
+        }
+
+    a:hover {
+        text-decoration: underline;
+        }
+
+    #primary, #tertiary,
+    #comment, #footer {
+        width: 65%;
+        text-align: left;
+        }
+
+    div.entry, div.entry .inner,
+    div.comment, div.comment .inner { 
+        line-height: 1.05em;
+        }
+
+    span.tag-text,
+    div.tag ul li,
+    div.metadata ul li {
+        font-family: $*font_entry_title;
+        font-size: .9em;
+        }
+
+    div.tag ul {
+        padding: 0;
+        }
+    """;
+}
+
+
 #NEWLAYER: brittle/furcoat
 layerinfo type = "theme";
 layerinfo name = "Fur Coat";
diff -r 65a2845c6b95 -r a4dc459038d1 htdocs/img/customize/previews/brittle/elegantbrown.png
Binary file htdocs/img/customize/previews/brittle/elegantbrown.png has changed
diff -r 65a2845c6b95 -r a4dc459038d1 htdocs/stc/brittle/elegantbrown.png
Binary file htdocs/stc/brittle/elegantbrown.png has changed
--------------------------------------------------------------------------------