From: Robert BÅ‚aut Date: Thu, 16 Jan 2014 20:01:49 +0000 (+0100) Subject: [ePub Mobi] Removed unnecessary annotations clutter. Make them according typography... X-Git-Tag: 1.7~104^2~24 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/e83700268c9184ee4d3851ccba463e1166927e19?ds=sidebyside [ePub Mobi] Removed unnecessary annotations clutter. Make them according typography rules --- diff --git a/librarian/epub/style.css b/librarian/epub/style.css index 81ce12b..6b6a047 100644 --- a/librarian/epub/style.css +++ b/librarian/epub/style.css @@ -107,27 +107,10 @@ p text-align: left; } -.annotation-anchor -{ - font-style: normal; - font-weight: normal; - font-size: 0.875em; - display: block; - float: left; - width: 2.5em; - clear: both; -} - .annotation { - margin: 0; - margin-top: 1.5em; -} - -.annotation-body -{ - margin-left: 2.5em; - font-size: 0.875em; + margin-bottom: 0.3em; + text-align: left; } .block @@ -136,6 +119,7 @@ p padding: 1em; } + /* ============= */ /* = Numbering = */ /* ============= */ diff --git a/librarian/epub/xsltAnnotations.xsl b/librarian/epub/xsltAnnotations.xsl index 2deef8d..faba10f 100644 --- a/librarian/epub/xsltAnnotations.xsl +++ b/librarian/epub/xsltAnnotations.xsl @@ -31,16 +31,13 @@ -
-

- - - -

+

+ + + . [przypis autorski] -

-
+

diff --git a/librarian/mobi/style.css b/librarian/mobi/style.css index bc171c3..cf1f662 100644 --- a/librarian/mobi/style.css +++ b/librarian/mobi/style.css @@ -43,27 +43,10 @@ /* = Footnotes and themes = */ /* ======================== */ -.annotation-anchor -{ - font-style: normal; - font-weight: normal; - font-size: 0.875em; - display: block; - float: left; - width: 2.5em; - clear: both; -} - .annotation { - margin: 0; - margin-top: 1.5em; -} - -.annotation-body -{ - margin-left: 2.5em; - font-size: 0.875em; + margin-bottom: 0.3em; + text-align: left; } .block @@ -72,6 +55,7 @@ padding: 1em; } + /* ============= */ /* = Numbering = */ /* ============= */