fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2012-02-24 05:26 am

[dw-free] New Style: Abstractia by chiming

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

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

Minor tweaks: Float the username next to the entry block if the entry /
comment poster is on the right. And remove margins on lists when inside
blockquotes.

Patch by [personal profile] chiming.

Files modified:
  • bin/upgrading/s2layers/abstractia/layout.s2
--------------------------------------------------------------------------------
diff -r 34b3c4ba3afb -r 43c0ae14d11f bin/upgrading/s2layers/abstractia/layout.s2
--- a/bin/upgrading/s2layers/abstractia/layout.s2	Thu Feb 23 02:21:54 2012 +0800
+++ b/bin/upgrading/s2layers/abstractia/layout.s2	Fri Feb 24 13:26:03 2012 +0800
@@ -597,9 +597,11 @@
          }
 
      var string entry_poster_display_margin = "";
+     var string entry_poster_float = "";
          if ($*entry_poster_position == "header") {
              if ($*entry_poster_alignment == "right") {
                 $entry_poster_display_margin = """margin: 0;""";
+                $entry_poster_float = """float: right;""";
              } else {
                 $entry_poster_display_margin = """margin: 1em 0 0;""";
              }
@@ -685,6 +687,13 @@
     padding: .833em;
 }
 
+blockquote ul, blockquote ol, blockquote dl,
+blockquote li, blockquote dt, blockquote dd {
+/* specifications to handle the way different browsers handle the margin/padding on lists */
+    margin-left: 0;
+    padding-left: 0;
+}
+
 #subjectIconList {
     margin: auto;
 }
@@ -1102,6 +1111,7 @@
 .entry .entry-poster,.comment .comment-poster {
     display: block;
     $entry_poster_display_margin
+    $entry_poster_float
     clear: both;
     $entry_poster_display
 }
--------------------------------------------------------------------------------