aboutsummaryrefslogtreecommitdiff
path: root/src/css.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-13 21:35:12 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-13 21:35:12 +0100
commit00972ee80a02bfbc57de57ea1f8974ca13602938 (patch)
tree243ee3433c1f951ef70ea7ec6df709c6ec68ed29 /src/css.cc
parentb45b1791eee02392840984d6836368c004fbfb5a (diff)
fix h[1-6] styles
Diffstat (limited to 'src/css.cc')
-rw-r--r--src/css.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/css.cc b/src/css.cc
index 030f3101..58c82b74 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -179,10 +179,13 @@ void CssContext::buildUserAgentStyle () {
" }"
":link {color: blue; text-decoration: underline; cursor: pointer; } "
":visited {color: green; text-decoration: underline; cursor: pointer; } "
- "b, strong {font-weight: bolder; } "
+ "h1, h2, h3, h4, h5, h6, b, strong {font-weight: bolder; } "
"i, em, cite {font-style: italic; } "
- "h1 {font-size: 40em;} "
- "h4 {font-weight: bold} "
+ "h1 {font-size: 2em;} "
+ "h2 {font-size: 1.5em;} "
+ "h3 {font-size: 1.17em;} "
+ "h5 {font-size: 0.83em;} "
+ "h6 {font-size: 0.75em;} "
"table {border-top-style: outset} "
"td {border-top-style: inset} "
"tt, pre {font-family: courier;} ";