From: Robert BÅ‚aut Date: Wed, 15 Jan 2014 22:39:42 +0000 (+0100) Subject: [Mobi] CSS improvements for paragraph and footnotes X-Git-Tag: 1.7~104^2~27 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/941039d54dfab74b51442b4712aefb89c693608e [Mobi] CSS improvements for paragraph and footnotes --- diff --git a/librarian/mobi/style.css b/librarian/mobi/style.css index 99792e5..9afe2ae 100644 --- a/librarian/mobi/style.css +++ b/librarian/mobi/style.css @@ -2,7 +2,6 @@ /* = Common elements: headings, paragraphs and lines = */ /* =================================================== */ - .h2 { font-size: 2em; @@ -31,9 +30,15 @@ .paragraph { - margin-top: 0; + margin: 0; +} + +.paragraph + .paragraph +{ + text-indent: 1.5em; } + /* ======================== */ /* = Footnotes and themes = */ /* ======================== */ @@ -71,15 +76,10 @@ /* = Numbering = */ /* ============= */ -.anchor +.anchor sup { - margin: -0.25em -0.5em; - color: #777; - font-size: 0.875em; - width: 2em; - text-align: center; - padding: 0.25em 0.5em; - line-height: 1.5em; + vertical-align: text-top; + font-size: 0.7em; } /* =================== */