fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[epub, mobi] fix for IT #3356 - new line char is problemtic in toc.ncx - replace...
[librarian.git]
/
librarian
/
epub
/
style.css
diff --git
a/librarian/epub/style.css
b/librarian/epub/style.css
index
249ae09
..
c773481
100644
(file)
--- a/
librarian/epub/style.css
+++ b/
librarian/epub/style.css
@@
-109,29
+109,8
@@
p
.annotation
{
.annotation
{
- font-style: normal;
- font-weight: normal;
- font-size: 0.875em;
-}
-
-#footnotes .annotation
-{
- display: block;
- float: left;
- width: 2.5em;
- clear: both;
-}
-
-#footnotes div
-{
- margin: 0;
- margin-top: 1.5em;
-}
-
-#footnotes p
-{
- margin-left: 2.5em;
- font-size: 0.875em;
+ margin-bottom: 0.3em;
+ text-align: left;
}
.block
}
.block
@@
-140,20
+119,16
@@
p
padding: 1em;
}
padding: 1em;
}
+
/* ============= */
/* = Numbering = */
/* ============= */
/* ============= */
/* = 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;
-}
+ line-height: 0;
+ font-size: 0.7em;
+}
/* =================== */
/* = Custom elements = */
/* =================== */
/* = Custom elements = */
@@
-231,10
+206,11
@@
div.didaskalia
{
font-style: italic;
margin-top: 0.5em;
{
font-style: italic;
margin-top: 0.5em;
+ margin-bottom: 0.5em;
margin-left: 1.5em;
}
margin-left: 1.5em;
}
-
div
.kwestia
+.kwestia
{
margin-top: 0.5em;
}
{
margin-top: 0.5em;
}
@@
-242,7
+218,18
@@
div.kwestia
.paragraph
{
text-align: justify;
.paragraph
{
text-align: justify;
- margin-top: 1.5em;
+ margin: 0;
+ text-indent: 1.2em;
+}
+
+h1 + .paragraph, h2 + .paragraph
+{
+ text-indent: 0;
+}
+
+h2 + .paragraph:first-letter
+{
+ font-size: 1.6em;
}
.motto
}
.motto
@@
-252,40
+239,38
@@
div.kwestia
margin-top: 1.5em;
}
margin-top: 1.5em;
}
-.motto_podpis
+.motto_podpis
, .motto_podpis .paragraph
{
font-size: 0.875em;
text-align: right;
{
font-size: 0.875em;
text-align: right;
+ font-style: italic;
}
}
-
div
.fragment
+.fragment
{
border-bottom: 0.1em solid #999;
padding-bottom: 1.5em;
}
{
border-bottom: 0.1em solid #999;
padding-bottom: 1.5em;
}
-
div
.note
+.note
{
text-align: right;
font-style: italic;
{
text-align: right;
font-style: italic;
+ margin-top: 1em;
+ margin-bottom: 0.5em;
}
}
-div.note div.paragraph
-{
- text-align: right;
- font-style: italic;
-}
-div.dedication
+
+.note .paragraph
{
{
- text-align: right;
- font-style: italic;
+ text-align: justify;
}
}
-div.dedication div.paragaph
+
+.dedication, .dedication .paragraph
{
text-align: right;
font-style: italic;
}
{
text-align: right;
font-style: italic;
}
-
hr.spacer
{
height: 3em;
hr.spacer
{
height: 3em;
@@
-351,20
+336,26
@@
em.author-emphasis
text-transform: uppercase;
}
text-transform: uppercase;
}
-
p
.info
+.info
{
text-align: center;
margin-bottom: 1em;
}
{
text-align: center;
margin-bottom: 1em;
}
+.info div
+{
+ text-align: center;
+}
-
p
.info img
+.info img
{
margin: 0;
margin-left: 2em;
margin-right: 2em;
}
{
margin: 0;
margin-left: 2em;
margin-right: 2em;
}
-p.minor {
+p.minor-info {
+ text-align: center;
+ margin-bottom: 1em;
font-size: 0.75em;
}
p.footer {
font-size: 0.75em;
}
p.footer {