From e83700268c9184ee4d3851ccba463e1166927e19 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Robert=20B=C5=82aut?=
Date: Thu, 16 Jan 2014 21:01:49 +0100
Subject: [PATCH] [ePub Mobi] Removed unnecessary annotations clutter. Make
them according typography rules
---
librarian/epub/style.css | 22 +++-------------------
librarian/epub/xsltAnnotations.xsl | 13 +++++--------
librarian/mobi/style.css | 22 +++-------------------
3 files changed, 11 insertions(+), 46 deletions(-)
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 = */
/* ============= */
--
2.20.1