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:05 am

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

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

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

Set properties for hardcoded font faces in Fluid Measure.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/fluidmeasure/layout.s2
--------------------------------------------------------------------------------
diff -r a07d47fccc7a -r d60ed9570e18 bin/upgrading/s2layers/fluidmeasure/layout.s2
--- a/bin/upgrading/s2layers/fluidmeasure/layout.s2	Wed Oct 27 16:56:16 2010 +0800
+++ b/bin/upgrading/s2layers/fluidmeasure/layout.s2	Wed Oct 27 17:05:12 2010 +0800
@@ -16,6 +16,13 @@ propgroup colors_child {
 }
 
 set color_page_details_text = "#999";
+
+##===============================
+## Fonts
+##===============================
+
+set font_base = "Verdana, Helvetica";
+set font_fallback = "sans-serif";
 
 function print_module_navlinks() {
     var Page p = get_page();
@@ -138,7 +145,7 @@ a:hover {text-decoration: none; }
 a:hover {text-decoration: none; }
 
 body { margin: 0;
-    font-family: Verdana, Helvetica, sans-serif; border: none; }
+    border: none; }
 
 H1, H2, H3, H4, H5 { font-weight: normal; font-style: italic;}
 
--------------------------------------------------------------------------------