Allow to tweak margins for Negatives.

        Patch by ninetydegrees. 

diffs (25 lines):

diff -r 03b1e2c8f06a -r 9d0bd3358c2d bin/upgrading/s2layers/negatives/layout.s2
--- a/bin/upgrading/s2layers/negatives/layout.s2        Mon May 02 19:35:24 
2011 +0800
+++ b/bin/upgrading/s2layers/negatives/layout.s2        Mon May 02 19:38:52 
2011 +0800
@@ -16,6 +16,8 @@ propgroup presentation {
     property use num_items_reading;
     property use use_journalstyle_entry_page;
     property use layout_type;
+    property use margins_size;
+    property use margins_unit;
     property use tags_page_type;
     property use userpics_style_group;
     property use userpics_position;
@@ -294,6 +296,12 @@ function Page::print_default_stylesheet(
         $page_background
         color:$*color_page_text;
         }
+
+    html body {
+        margin-left: $*margins_size$*margins_unit;
+        margin-right: $*margins_size$*margins_unit;
+        }
+
     a {
         text-decoration: none;
         font-weight: bold;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to