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

[dw-nonfree] Styles: 8 NaNoWriMo themes

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

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

NaNo theme for Practicality by [personal profile] cheyinka. Includes the 2010
badge (optional).

Patch by [personal profile] fu. Preview pic by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers-local.dat
  • bin/upgrading/s2layers/practicality/themes-local.s2
  • cgi-bin/LJ/S2Theme/practicality_local.pm
  • htdocs/img/customize/previews/practicality/nnwm2010grounded.png
--------------------------------------------------------------------------------
diff -r e409e8207749 -r ed569e94ea37 bin/upgrading/s2layers-local.dat
--- a/bin/upgrading/s2layers-local.dat	Wed Oct 27 12:10:45 2010 +0800
+++ b/bin/upgrading/s2layers-local.dat	Wed Oct 27 12:23:31 2010 +0800
@@ -1,15 +1,16 @@
 ################################################################
-# base filename         layer type      parent
+# base filename            layer type      parent
 
-colorside/themes-local  theme+          colorside/layout
+colorside/themes-local     theme+          colorside/layout
 
-modish/themes-local     theme+          modish/layout
+modish/themes-local        theme+          modish/layout
 
-modular/themes-local    theme+          modular/layout
+modular/themes-local       theme+          modular/layout
 
-sundaymorning/layout    layout          core2
-sundaymorning/themes    theme+          sundaymorning/layout
+practicality/themes-local  theme+          practicality/layout
 
-transmogrified/layout   layout          core2
-transmogrified/themes   theme+          transmogrified/layout
+sundaymorning/layout       layout          core2
+sundaymorning/themes       theme+          sundaymorning/layout
 
+transmogrified/layout      layout          core2
+transmogrified/themes      theme+          transmogrified/layout
diff -r e409e8207749 -r ed569e94ea37 bin/upgrading/s2layers/practicality/themes-local.s2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/upgrading/s2layers/practicality/themes-local.s2	Wed Oct 27 12:23:31 2010 +0800
@@ -0,0 +1,107 @@
+#NEWLAYER: practicality/nnwm2010grounded
+layerinfo type = "theme";
+layerinfo name = "NNWM 2010 Grounded";
+layerinfo redist_uniq = "practicality/nnwm2010grounded";
+layerinfo author_name = "cheyinka";
+
+set theme_authors = [ { "name" => "cheyinka", "type" => "user" } ];
+
+##===============================
+## Page Colors
+##===============================
+
+set color_page_background = "#88746A";
+set color_page_link = "#0060A0";
+set color_page_link_active = "#FDB713";
+set color_page_link_hover = "#FDB713";
+set color_page_link_visited = "#60A000";
+set color_page_text = "#000";
+set color_page_title = "#E4502E";
+set color_header_background = "#F4E7D9";
+set color_footer_background = "#F4E7D9";
+
+##===============================
+## Entry Colors
+##===============================
+
+set color_entry_background = "#F4E7D9";
+set color_entry_border = "#E4502E";
+set color_entry_interaction_links = "#E4502E";
+set color_entry_link = "#0060A0";
+set color_entry_link_active = "#FDB713";
+set color_entry_link_hover = "#FDB713";
+set color_entry_link_visited = "#60A000";
+set color_entry_text = "#000";
+set color_entry_title = "#000";
+set color_entry_title_background = "#A5C039";
+
+##===============================
+## Module Colors
+##===============================
+
+set color_module_background = "#F4E7D9";
+set color_module_border = "#E4502E";
+set color_module_link = "#003000";
+set color_module_link_active = "#FDB713";
+set color_module_link_hover = "#FDB713";
+set color_module_link_visited = "#200070";
+set color_module_text = "#000000";
+set color_module_title = "#000000";
+set color_module_title_background = "#89CCE2";
+
+##===============================
+## Images
+##===============================
+
+set image_background_header_url = "layouts/nano-badge2010.png";
+set image_background_header_repeat = "no-repeat";
+
+function Page::print_theme_stylesheet() {
+    """
+    #header {
+        background-position: 99% center;
+        border-bottom: thin solid #88746A;
+        min-height: 95px;
+        }
+
+    #header #title,
+    #header #subtitle,
+    #header #pagetitle {
+        margin-right: 135px;
+        }
+
+    span.metadata-item {
+        color: $*color_entry_border;
+        }
+
+    blockquote {
+        background-color: #D0C0B0;
+        }
+
+    div.module-calendar th,
+    .page-archive div.month td.day-has-entries {
+        background-color: $*color_module_title_background;
+        }
+
+    div.module-calendar td.entry-day,
+    .page-archive div.month th {
+        background-color: $*color_entry_title_background;
+        }
+
+    div.module-calendar a {
+        color: #000060;
+        }
+
+    div.module-calendar a:visited {
+        color: #200040;
+        }
+
+    div.module-calendar a:hover {
+        color: $*color_module_link_hover;
+        }
+
+    div.module-calendar a:hover {
+        color: $*color_module_link_active;
+        }
+    """;
+}
diff -r e409e8207749 -r ed569e94ea37 cgi-bin/LJ/S2Theme/practicality_local.pm
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cgi-bin/LJ/S2Theme/practicality_local.pm	Wed Oct 27 12:23:31 2010 +0800
@@ -0,0 +1,8 @@
+use strict;
+
+package LJ::S2Theme::practicality::nnwm2010grounded;
+use base qw( LJ::S2Theme::practicality );
+sub cats { qw() }
+sub designer { "cheyinka" }
+
+1;
diff -r e409e8207749 -r ed569e94ea37 htdocs/img/customize/previews/practicality/nnwm2010grounded.png
Binary file htdocs/img/customize/previews/practicality/nnwm2010grounded.png has changed
--------------------------------------------------------------------------------

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