Tweak padding/margin so that modules look better in the header and 
footer.

        Patch by 900degrees. 

diffs (40 lines):

diff -r d703b4856971 -r 07113fa2962c bin/upgrading/s2layers/negatives/layout.s2
--- a/bin/upgrading/s2layers/negatives/layout.s2        Tue May 25 17:52:51 
2010 +0800
+++ b/bin/upgrading/s2layers/negatives/layout.s2        Tue May 25 18:08:10 
2010 +0800
@@ -548,6 +548,12 @@ function Page::print_default_stylesheet(
         text-align: center;
     }
 
+    .module-section-two .module,
+    .module-section-three .module {
+        padding-left: .5em;
+        padding-right: .5em;
+    }
+
     .module-navlinks ul {
         display: block;
         padding: 0;
diff -r d703b4856971 -r 07113fa2962c 
bin/upgrading/s2layers/steppingstones/layout.s2
--- a/bin/upgrading/s2layers/steppingstones/layout.s2   Tue May 25 17:52:51 
2010 +0800
+++ b/bin/upgrading/s2layers/steppingstones/layout.s2   Tue May 25 18:08:10 
2010 +0800
@@ -245,7 +245,7 @@ text-align: center; }
 .one-column #tertiary { margin-top: 0; }
 
 #secondary > .inner:first-child,
-#tertiary > .inner:first-child { padding: .5em;
+#tertiary > .inner:first-child { padding: 0;
     margin: 1em;
     $tertiary_colors }
 
@@ -255,9 +255,9 @@ text-align: center; }
 .two-columns-left #tertiary .module,
 .two-columns-right #tertiary .module { margin-right: 1em; }
 
-.module {  padding: 3px; 
+.module {  padding: .6em; 
     margin-bottom: 1em;
-    border: none; } 
+    border: none; }
 
 .module-header { 
     font-size: large;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to