changeset 748:291f5cf844bd

cleanup user agent style
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fri, 09 Jan 2009 16:56:48 +0100
parents 0df766ebc2e9
children cd56f9fc951d
files src/css.cc
diffstat 1 files changed, 33 insertions(+), 33 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.cc	Fri Jan 09 16:36:08 2009 +0100
+++ b/src/css.cc	Fri Jan 09 16:56:48 2009 +0100
@@ -286,40 +286,40 @@
 void CssContext::buildUserAgentStyle () {
    const char *cssBuf =
      "body  {background-color: #dcd1ba; font-family: helvetica; color: black;" 
-     "       margin: 5px; }"
-     "big { font-size: 1.17em }"
+     "       margin: 5px}"
+     "big {font-size: 1.17em}"
      "blockquote, dd {margin-left: 40px; margin-right: 40px}"
-     "center { text-align: center }"
-     "dt { font-weight: bolder }"
-     ":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; } "
-     "img:link, img:visited {border: 1px solid } "
-     "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;} "
-     "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;} "
-     "hr {width: 100%; border: 1px inset} "
-     "pre {white-space: pre} "
-     "ol {list-style-type: decimal} "
-     "ul {list-style-type: disc} "
-     "ul > ul {list-style-type: circle} "
-     "ul > ul > ul {list-style-type: square} "
-     "ul > ul > ul > ul {list-style-type: disc} "
-     "u {text-decoration: underline } "
-     "small, sub, sup { font-size: 0.83em } "
-     "sub { vertical-align: sub } "
-     "sup { vertical-align: super } "
-     "s, strike, del { text-decoration: line-through }"
-     "table {border-style: outset; border-spacing: 1px} "
-     "td {border-style: inset; padding: 2px;} "
-     "thead, tbody, tfoot { vertical-align: middle }"
-     "th { font-weight: bolder; text-align: center }"
-     "code, tt, pre, samp, kbd {font-family: courier;} ";
+     "center {text-align: center}"
+     "dt {font-weight: bolder}"
+     ":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}"
+     "img:link, img:visited {border: 1px solid}"
+     "frameset, ul, ol, dir {margin-left: 40px}"
+     "h1 {font-size: 2em; margin-top: .67em; margin-bottom: 0}"
+     "h2 {font-size: 1.5em; margin-top: .75em; margin-bottom: 0}"
+     "h3 {font-size: 1.17em; margin-top: .83em; margin-bottom: 0}"
+     "h4 {margin-top: 1.12em; margin-bottom: 0}"
+     "h5 {font-size: 0.83em; margin-top: 1.5em; margin-bottom: 0}"
+     "h6 {font-size: 0.75em; margin-top: 1.67em; margin-bottom: 0}"
+     "hr {width: 100%; border: 1px inset}"
+     "pre {white-space: pre}"
+     "ol {list-style-type: decimal}"
+     "ul {list-style-type: disc}"
+     "ul > ul {list-style-type: circle}"
+     "ul > ul > ul {list-style-type: square}"
+     "ul > ul > ul > ul {list-style-type: disc}"
+     "u {text-decoration: underline}"
+     "small, sub, sup { font-size: 0.83em}"
+     "sub { vertical-align: sub}"
+     "sup { vertical-align: super}"
+     "s, strike, del { text-decoration: line-through}"
+     "table {border-style: outset; border-spacing: 1px}"
+     "td {border-style: inset; padding: 2px}"
+     "thead, tbody, tfoot { vertical-align: middle}"
+     "th { font-weight: bolder; text-align: center}"
+     "code, tt, pre, samp, kbd {font-family: courier}";
 
    a_Css_parse (this, cssBuf, strlen (cssBuf), 0, CSS_ORIGIN_USER_AGENT);
 }