changeset 546:d77627f1d6f6

add h4 style
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 10 Nov 2008 20:32:09 +0100
parents 7789abebb0c8
children 27ef002a9652
files src/css.cc
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.cc	Mon Nov 10 20:28:38 2008 +0100
+++ b/src/css.cc	Mon Nov 10 20:32:09 2008 +0100
@@ -155,6 +155,12 @@
    props->set (CssProperty::CSS_PROPERTY_FONT_SIZE, 20);
    s->addRule (new CssSelector(a_Html_tag_index("h3"), NULL, NULL), props);
 
+   // <h4>
+   props = new CssPropertyList ();
+   props->set (CssProperty::CSS_PROPERTY_FONT_SIZE, 12);
+   props->set (CssProperty::CSS_PROPERTY_FONT_WEIGHT, CssProperty::CSS_FONT_WEIGHT_BOLD);
+   s->addRule (new CssSelector(a_Html_tag_index("h4"), NULL, NULL), props);
+
    // <ol>
    props = new CssPropertyList ();
    props->set (CssProperty::CSS_PROPERTY_LIST_STYLE_TYPE, LIST_STYLE_TYPE_DECIMAL);