aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/css.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/css.cc b/src/css.cc
index 01e1251c..8248464b 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -188,11 +188,12 @@ void CssContext::buildUserAgentStyle () {
":visited {color: green; text-decoration: underline; cursor: pointer; } "
"h1, h2, h3, h4, h5, h6, b, strong {font-weight: bolder; } "
"i, em, cite {font-style: italic; } "
- "h1 {font-size: 2em;} "
- "h2 {font-size: 1.5em;} "
- "h3 {font-size: 1.17em;} "
- "h5 {font-size: 0.83em;} "
- "h6 {font-size: 0.75em;} "
+ "h1 {font-size: 2em; margin-top: .67em; margin-bottom: 0em;} "
+ "h2 {font-size: 1.5em; margin-top: .75em; margin-bottom: 0em;} "
+ "h3 {font-size: 1.17em; margin-top: .83em; margin-bottom: 0em;} "
+ "h4 {margin-top: 1.12em; margin-bottom: 0em;} "
+ "h5 {font-size: 0.83em; margin-top: 1.5em; margin-bottom: 0em;} "
+ "h6 {font-size: 0.75em; margin-top: 1.67em; margin-bottom: 0em;} "
"table {border-top-style: outset} "
"td {border-top-style: inset} "
"tt, pre {font-family: courier;} ";