diff options
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index b3ea8b3b..50bd4cb7 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -830,7 +830,9 @@ void StyleEngine::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}" - "address, center, div, h1, h2, h3, h4, h5, h6, ol, p, ul, pre {display: block}" + "address, article, aside, center, div, figure, figcaption, footer," + " h1, h2, h3, h4, h5, h6, header, nav, ol, p, pre, section, ul" + " {display: block}" "i, em, cite, address, var {font-style: italic}" ":link img, :visited img {border: 1px solid}" "frameset, ul, ol, dir {margin-left: 40px}" @@ -839,6 +841,7 @@ void StyleEngine::buildUserAgentStyle () { * look better like this. */ "p {margin: 0.5em 0}" + "figure {margin: 1em 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}" |