changeset 1726:548d4f2bc61d

set font and color on <html> tag, so authors can override it
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fri, 17 Sep 2010 23:13:27 +0200
parents f86d7aa97e94
children beea6d3a79a7
files src/css.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.cc	Fri Sep 17 22:05:15 2010 +0200
+++ b/src/css.cc	Fri Sep 17 23:13:27 2010 +0200
@@ -558,8 +558,7 @@
  */
 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 @@
      ":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}"