changeset 593:d0b4d55a5d1c

support <sub> and <sup>
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fri, 14 Nov 2008 17:02:48 +0100
parents 102e682c1196
children 2392fa2b02ad
files src/css.cc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.cc	Fri Nov 14 16:53:24 2008 +0100
+++ b/src/css.cc	Fri Nov 14 17:02:48 2008 +0100
@@ -194,6 +194,9 @@
      "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;} "
+     "small, sub, sup { font-size: 0.83em } "
+     "sub             { vertical-align: sub } "
+     "sup             { vertical-align: super } "
      "table {border-top-style: outset} "
      "td {border-top-style: inset} "
      "tt, pre {font-family: courier;} ";