aboutsummaryrefslogtreecommitdiff
path: root/src/css.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-05 15:47:09 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-05 15:47:09 +0100
commitf1f5584a61355333513e633176070337b0455991 (patch)
treeb0e091f3b33b45f435a88d129dc00bc62bb202af /src/css.cc
parent57d5acf8f73d18c1bcd856d6d667d446018508f8 (diff)
add margin directives to user agent style to replace Html_add_indented()
Diffstat (limited to 'src/css.cc')
-rw-r--r--src/css.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/css.cc b/src/css.cc
index eac03450..3078f1d4 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -261,11 +261,13 @@ void CssContext::buildUserAgentStyle () {
"body {background-color: #dcd1ba; font-family: helvetica; color: black;"
" margin: 5px; }"
"big { font-size: 1.17em }"
+ "blockquote, dd {margin-left: 40px; margin-right: 40px}"
"center { text-align: center }"
":link {color: blue; text-decoration: underline; cursor: pointer; } "
":visited {color: green; text-decoration: underline; cursor: pointer; } "
"h1, h2, h3, h4, h5, h6, b, strong {font-weight: bolder; } "
"i, em, cite, address {font-style: italic; } "
+ "frameset, ul, ol, dir {margin-left: 40px} "
"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;} "