Remove the "style" tags from within Page::print_default_stylesheet().
Patch by fu.
diffs (39 lines):
diff -r 0a76e0eb96f3 -r e838fb791660
bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2 Mon Jun 28 14:48:13
2010 -0500
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2 Tue Jun 29 17:47:43
2010 +0800
@@ -311,8 +311,6 @@ function Page::print_default_stylesheet(
.entry .userpic a, .comment .userpic a {right: 10px; left: auto; }""";
}
"""
-
-<style type="text/css">
/* believe me, this style is much easier to deal with if you
just leave this here. It says "lets use the IE box model" for
non IE browsers */
@@ -848,7 +846,6 @@ q { font-style: italic;
width: 95%;
}
-</style>
""";
}
diff -r 0a76e0eb96f3 -r e838fb791660
bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2 Mon Jun 28 14:48:13
2010 -0500
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2 Tue Jun 29 17:47:43
2010 +0800
@@ -373,8 +373,6 @@ function Page::print_default_stylesheet
# NB Background image stuff in container, not in body, and colors fixed
accordingly. Otherwise it messes up the layout.
# Homegrown logic for entry and module colors to fit with Transmog specialist
options for alternating
- """<style type="text/css">""";
- start_css();
"""
/* believe me, this style is much easier to deal with if you
just leave this here. It says "lets use the IE box model" for
@@ -961,6 +959,4 @@ function Page::print_default_stylesheet
.two-columns-left #wrap { padding-$sidebar_position: $*sidebar_width; }
""";
- end_css();
- "</style>\n";
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog