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 09:08 am

[dw-free] Misc. Layouts: hard-coded font faces into the CSS

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

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

Set properties for hardcoded font faces in Basic Boxes.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/basicboxes/layout.s2
--------------------------------------------------------------------------------
diff -r d60ed9570e18 -r 0613169e3117 bin/upgrading/s2layers/basicboxes/layout.s2
--- a/bin/upgrading/s2layers/basicboxes/layout.s2	Wed Oct 27 17:05:12 2010 +0800
+++ b/bin/upgrading/s2layers/basicboxes/layout.s2	Wed Oct 27 17:08:44 2010 +0800
@@ -14,6 +14,13 @@ propgroup colors_child {
 }
 
 set color_page_details_text = "#999";
+
+##===============================
+## Fonts
+##===============================
+
+set font_journal_title = "'Book Antiqua', Palatino, 'Times New Roman', serif";
+set font_journal_subtitle = "'Book Antiqua', Palatino, 'Times New Roman', serif";
 
 ##===============================
 ## Navigation Module
@@ -176,9 +183,10 @@ a { text-decoration: none; }
 
 a:hover { text-decoration: underline; }
 
-body { margin: 0;
-font-family: $*font_base, Verdana, Arial, Helvetica, sans-serif;  }
-    
+body {
+    margin: 0;
+    }
+
 #canvas { position: relative; 
  float: left; width: 100%; /*asinine IE7 hack to keep left sidebar from sliding under #primary when #canvas is relative*/  }
 
@@ -195,13 +203,6 @@ font-family: $*font_base, Verdana, Arial
     padding: 0 .5em;
     text-align: center;
     }
-
-#header h1,
-#header h2 {
-    font-family: "Book Antiqua", Palatino, "Times New Roman", serif;
-    font-family: $*font_journal_title;
-    }
-
 
 /* main column */
 
--------------------------------------------------------------------------------

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