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 07:03 am

[dw-nonfree] Backed out changeset 1855a52913b5

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/39ebdb71b3a1]

Backed out changeset 1855a52913b5

Files modified:
  • bin/upgrading/s2layers/sundaymorning/layout.s2
--------------------------------------------------------------------------------
diff -r 1855a52913b5 -r 39ebdb71b3a1 bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2	Wed Oct 27 14:37:23 2010 +0800
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2	Wed Oct 27 15:03:04 2010 +0800
@@ -245,10 +245,6 @@ function Page::print()
 }
 
 function Page::print_default_stylesheet() {
-
-    var int sidebarw = int($*sidebar_width);
-    var string wrap_margin = $sidebarw + 60 + "px";
-
     var string sidebar_position = "";
     var string sidebar_position_alt = "";
     var string image_background_page_position = "100% 70px";
@@ -371,21 +367,21 @@ q { font-style: italic;
 
 #wrap {
     $page_colors
-    padding-$sidebar_position_alt: 200px; /* Fixed: to display the bkg image */
+    padding-$sidebar_position_alt: $*sidebar_width;
     padding-top: 10px;
 }
 
 .one-column #wrap {
     margin-left: 2em;
-    margin-right: 2em;
 }
 
 .two-columns #wrap {
-    margin-$sidebar_position: $wrap_margin;
+    margin-$sidebar_position: 250px;
 }
 
 #content {
     width: 100%;
+    margin-$sidebar_position: 10px;
     z-index: 20;
 }
 
@@ -403,15 +399,17 @@ q { font-style: italic;
 
 .module-section-two {
     width: $*sidebar_width;
-    max-width: $*sidebar_width;
+    max-width: 220px;
     height: 200px;
     $module_base_colors
+    padding-$sidebar_position_alt: 5px;
 }
 
 .two-columns .module-section-two {
     position: absolute;
     $sidebar_position: 2em;
     top: 8em;
+    margin-$sidebar_position_alt: -230px;
 }
 
 .module-section-one ul {
@@ -423,14 +421,10 @@ q { font-style: italic;
 
 .one-column .module-section-one ul {
     margin-left: 2em;
-    padding-left: 0;
-    padding-right: 0;
 }
 
 .two-columns .module-section-one ul {
-    margin-$sidebar_position: $wrap_margin;
-    padding-left: 0;
-    padding-right: 0;
+    margin-$sidebar_position: 250px;
 }
 
 .two-columns-right .module-section-one ul {
--------------------------------------------------------------------------------

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