Tweak padding / spacing / positioning for sidebar modules. No major
changes in most themes; only obvious in those which specify a separate
background color for the sidebar -- official themes affected are NNWM 2009
and Nevermore.
Patch by 900degrees.
diffs (50 lines):
diff -r eb15fb3949a9 -r 7be5d27677a6
bin/upgrading/s2layers/funkycircles/layout.s2
--- a/bin/upgrading/s2layers/funkycircles/layout.s2 Mon Nov 02 11:34:18
2009 +0000
+++ b/bin/upgrading/s2layers/funkycircles/layout.s2 Mon Nov 02 12:10:12
2009 +0000
@@ -194,7 +194,7 @@ h2#pagetitle {
.two-columns-left #primary > .inner:first-child,
.three-columns-left #primary > .inner:first-child {
- padding: 1em 2em 1em 4.5em;
+ padding: 1em 2em 1em 5em;
}
.three-columns-sides #primary > .inner:first-child {
@@ -203,8 +203,16 @@ h2#pagetitle {
.two-columns-right #primary > .inner:first-child,
.three-columns-right #primary > .inner:first-child {
- padding: 1em 3em 1em 2.5em;
+ padding: 1em 3.5em 1em 2.5em;
}
+
+#secondary > .inner:first-child {
+ padding: 0;
+ }
+
+ .one-column #secondary > .inner:first-child {
+ padding-top: 1em;
+ }
/* Navigation
***************************************************************************/
@@ -815,6 +823,10 @@ h2#pagetitle {
/* Modules
***************************************************************************/
+.module {
+ padding: 0 .5em;
+ }
+
.module li {
list-style: url($image_module_list_url) disc;
margin: .5em;
@@ -875,7 +887,7 @@ h2#pagetitle {
.module-calendar table {
border-spacing: 4px;
- margin-left: 0;
+ margin: 0 auto;
}
.module-calendar td {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog