Use new comment title font props.
Patch by ninetydegrees.
diffs (64 lines):
diff -r da4992cee0a1 -r 8305910eb195
bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2 Wed Nov 03 14:21:31
2010 +0800
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2 Fri Nov 05 15:56:01
2010 +0800
@@ -178,6 +178,9 @@ propgroup fonts {
property use font_entry_title;
property use font_entry_title_size;
property use font_entry_title_units;
+ property use font_comment_title;
+ property use font_comment_title_size;
+ property use font_comment_title_units;
property use font_module_heading;
property use font_module_heading_size;
property use font_module_heading_units;
@@ -291,6 +294,7 @@ function Page::print_default_stylesheet(
var string page_font = generate_font_css("", $*font_base, $*font_fallback,
$*font_base_size, $*font_base_units);
var string page_title_font = generate_font_css($*font_journal_title,
$*font_base, $*font_fallback, $*font_journal_title_size,
$*font_journal_title_units);
var string entry_title_font = generate_font_css($*font_entry_title,
$*font_base, $*font_fallback, $*font_entry_title_size,
$*font_entry_title_units);
+ var string comment_title_font = generate_font_css($*font_comment_title,
$*font_base, $*font_fallback, $*font_comment_title_size,
$*font_comment_title_units);
var string module_font = generate_font_css($*font_module_text,
$*font_base, $*font_fallback, $*font_module_text_size,
$*font_module_text_units);
var string module_title_font = generate_font_css($*font_module_heading,
$*font_base, $*font_fallback, $*font_module_heading_size,
$*font_module_heading_units);
@@ -598,6 +602,10 @@ q { font-style: italic;
border: none;
}
+.comment-title {
+ $comment_title_font
+ }
+
.comment-title h4 {
font-size: inherit;
font-weight: inherit;
diff -r da4992cee0a1 -r 8305910eb195
bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2 Wed Nov 03 14:21:31
2010 +0800
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2 Fri Nov 05 15:56:01
2010 +0800
@@ -250,6 +250,9 @@ propgroup fonts {
property use font_entry_title;
property use font_entry_title_size;
property use font_entry_title_units;
+ property use font_comment_title;
+ property use font_comment_title_size;
+ property use font_comment_title_units;
property use font_module_heading;
property use font_module_heading_size;
property use font_module_heading_units;
@@ -351,6 +354,7 @@ function Page::print_default_stylesheet
var string page_font = generate_font_css("", $*font_base, $*font_fallback,
$*font_base_size, $*font_base_units);
var string page_title_font = generate_font_css($*font_journal_title,
$*font_base, $*font_fallback, $*font_journal_title_size,
$*font_journal_title_units);
var string entry_title_font = generate_font_css($*font_entry_title,
$*font_base, $*font_fallback, $*font_entry_title_size,
$*font_entry_title_units);
+ var string comment_title_font = generate_font_css($*font_comment_title,
$*font_base, $*font_fallback, $*font_comment_title_size,
$*font_comment_title_units);
var string module_font = generate_font_css($*font_module_text,
$*font_base, $*font_fallback, $*font_module_text_size,
$*font_module_text_units);
var string module_title_font = generate_font_css($*font_module_heading,
$*font_base, $*font_fallback, $*font_module_heading_size,
$*font_module_heading_units);
@@ -624,6 +628,10 @@ function Page::print_default_stylesheet
}
.entry .userpic img, .comment .userpic img {
border: none;
+ }
+
+.comment-title {
+ $comment_title_font
}
.comment-title h4 {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog