diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-13 21:52:42 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-13 21:52:42 +0100 |
commit | 145ed02060f6a24dac31090e8d18429ddcbbfab1 (patch) | |
tree | 6ae546988c997322c7704a9ee0dad3e1d89f8ffd /src/css.cc | |
parent | 497adef5f55bd5c8d9000783e3e291dc7b4382da (diff) |
set margins for h[1-6]
Diffstat (limited to 'src/css.cc')
-rw-r--r-- | src/css.cc | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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;} "; |