aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-09 16:56:48 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-09 16:56:48 +0100
commitc4f9b611e72fae43e354af489ece509525309b2a (patch)
treee932a10d384d373b8f47d8b6a162df21b7ec85fa /src
parentfa2e7494ce8d023a51d888263f3027c5722037f6 (diff)
cleanup user agent style
Diffstat (limited to 'src')
-rw-r--r--src/css.cc66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/css.cc b/src/css.cc
index 1e655332..578ccfb7 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -286,40 +286,40 @@ void CssContext::addRule (CssRule *rule, CssPrimaryOrder order) {
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);
}