Fix CSS for title bar display in Transmogrified and Sunday Morning.
Patch by afuna.
diffs (52 lines):
diff -r 17fbe72bf361 -r a992c2697b68
bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2 Sun Sep 13 15:00:23
2009 +0000
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2 Tue Sep 15 21:13:37
2009 -0500
@@ -269,15 +269,17 @@ function Page::print_default_stylesheet(
var string userpic_css = "";
if($*userpics_position == "left") {
- $userpic_css = """.entry-title, .comment-title {margin: 0; }
- .has-userpic .header {margin: 0 0 0 120px; }
- .entry .userpic a, .comment .userpic a {left: 10px; right: auto; }""";
+ $userpic_css = """
+ .entry-title, .comment-title {margin: 0; }
+ .has-userpic .header {margin: 0 0 0 120px; }
+ .entry .userpic a, .comment .userpic a {left: 10px; right: auto; }""";
}
elseif($*userpics_position == "right") {
- $userpic_css = """.has-userpic .entry-title, .has-userpic
.comment-title {margin: 0; margin-right: 120px; }
- .entry .userpic a, .comment .userpic a {right: 10px; left: auto; }""";
+ $userpic_css = """
+ .entry-title, .comment-title {margin: 0; }
+ .has-userpic .entry-title, .has-userpic .comment-title { margin-right:
120px; }
+ .entry .userpic a, .comment .userpic a {right: 10px; left: auto; }""";
}
-
"""
<style type="text/css">
diff -r 17fbe72bf361 -r a992c2697b68
bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2 Sun Sep 13 15:00:23
2009 +0000
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2 Tue Sep 15 21:13:37
2009 -0500
@@ -346,13 +346,16 @@ function Page::print_default_stylesheet
var string userpic_css = "";
if($*userpics_position == "left") {
- $userpic_css = """.entry-title, .comment-title {margin: 0; }
- .has-userpic .header {margin: 0 0 0 120px; }
- .entry .userpic a, .comment .userpic a {left: 10px; right: auto; }""";
+ $userpic_css = """
+ .entry-title, .comment-title {margin: 0; }
+ .has-userpic .header {margin: 0 0 0 120px; }
+ .entry .userpic a, .comment .userpic a {left: 10px; right: auto; }""";
}
elseif($*userpics_position == "right") {
- $userpic_css = """.entry-title, .comment-title {margin: 0;
margin-right: 120px; }
- .entry .userpic a, .comment .userpic a {right: 10px; left: auto; }""";
+ $userpic_css = """
+ .entry-title, .comment-title {margin: 0; }
+ .has-userpic .entry-title, .has-userpic .comment-title { margin-right:
120px; }
+ .entry .userpic a, .comment .userpic a {right: 10px; left: auto; }""";
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog