diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-09-17 23:13:27 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-09-17 23:13:27 +0200 |
commit | de069598570c05a2bb8359700872974e24f9eee6 (patch) | |
tree | 337cae270dd5ee5d0de1ce335859d6610c70e719 /src/css.cc | |
parent | 3d530af5285a6b6238a683a87d637d22ec0855f3 (diff) |
set font and color on <html> tag, so authors can override it
Diffstat (limited to 'src/css.cc')
-rw-r--r-- | src/css.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -558,8 +558,7 @@ void CssContext::addRule (CssSelector *sel, CssPropertyList *props, */ void CssContext::buildUserAgentStyle () { const char *cssBuf = - "body {background-color: #e0e0a3; font-family: sans-serif; color: black;" - " margin: 5px}" + "body {margin: 5px}" "big {font-size: 1.17em}" "blockquote, dd {margin-left: 40px; margin-right: 40px}" "center {text-align: center}" @@ -567,6 +566,7 @@ void CssContext::buildUserAgentStyle () { ":link {color: blue; text-decoration: underline; cursor: pointer}" ":visited {color: #800080; text-decoration: underline; cursor: pointer}" "h1, h2, h3, h4, h5, h6, b, strong {font-weight: bolder}" + "html {font-family: sans-serif; color: black}" "i, em, cite, address, var {font-style: italic}" ":link img, :visited img {border: 1px solid}" "frameset, ul, ol, dir {margin-left: 40px}" |