fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable test for unsupported behaviour in pictures.
[librarian.git]
/
librarian
/
epub
/
style.css
diff --git
a/librarian/epub/style.css
b/librarian/epub/style.css
index
4e6ee91
..
1f5d11b
100644
(file)
--- a/
librarian/epub/style.css
+++ b/
librarian/epub/style.css
@@
-30,14
+30,14
@@
body, p, h1, h2, h3, h4 {
body
{
body
{
-
line-height: 1.5em;
-
margin: 0;
+ line-height: 1.5em;
+ margin: 0;
}
a
{
}
a
{
-
text-decoration: none;
-
color: #00e;
+ text-decoration: none;
+ color: #00e;
}
a img {
}
a img {
@@
-46,8
+46,15
@@
a img {
#book-text
{
#book-text
{
- margin: 2em;
- /*margin-right: 9em;*/
+ margin: 2em;
+}
+
+@media amzn-kf8
+{
+ #book-text
+ {
+ margin: 0;
+ }
}
/* =================================================== */
}
/* =================================================== */
@@
-57,11
+64,11
@@
a img {
.h2
{
.h2
{
-
font-size: 2em;
-
margin: 0;
-
margin-top: 1.5em;
-
font-weight: bold;
-
line-height: 1.5em;
+ font-size: 2em;
+ margin: 0;
+ margin-top: 1.5em;
+ font-weight: bold;
+ line-height: 1.5em;
}
.h3
}
.h3
@@
-75,15
+82,15
@@
a img {
.h4
{
.h4
{
-
font-size: 1em;
+ font-size: 1em;
margin: 0;
margin-top: 1.5em;
margin: 0;
margin-top: 1.5em;
-
line-height: 1.5em;
+ line-height: 1.5em;
}
p
{
}
p
{
-
margin: 0;
+ margin: 0;
}
/* ======================== */
}
/* ======================== */
@@
-92,31
+99,31
@@
p
.theme-begin
{
.theme-begin
{
-
border-left: 0.1em solid #DDDDDD;
-
color: #777;
-
padding: 0 0.5em;
-
width: 7.5em;
-
font-style: normal;
-
font-weight: normal;
-
font-size: 0.875em;
-
float: right;
-
margin-right: -9.5em;
-
clear: both;
-
left: 40em;
-
line-height: 1.5em;
-
text-align: left;
+ border-left: 0.1em solid #DDDDDD;
+ color: #777;
+ padding: 0 0.5em;
+ width: 7.5em;
+ font-style: normal;
+ font-weight: normal;
+ font-size: 0.875em;
+ float: right;
+ margin-right: -9.5em;
+ clear: both;
+ left: 40em;
+ line-height: 1.5em;
+ text-align: left;
}
.annotation
{
}
.annotation
{
-
margin-bottom: 0.3em;
-
text-align: left
;
+ margin-bottom: 0.3em;
+
text-align: justify
;
}
.block
{
}
.block
{
-
font-size: 0.875em;
-
padding: 1em;
+ font-size: 0.875em;
+ padding: 1em;
}
}
@@
-126,9
+133,9
@@
p
.anchor sup
{
.anchor sup
{
-
line-height: 0;
-
font-size: 0.7em;
-}
+ line-height: 0;
+ font-size: 0.7em;
+}
/* =================== */
/* = Custom elements = */
/* =================== */
/* = Custom elements = */
@@
-186,9
+193,9
@@
p
text-align: center;
font-weight: bold;
text-align: center;
font-weight: bold;
-
font-size: 1.125em;
-
line-height: 1.5em;
-
margin-bottom: -0.25em;
+ font-size: 1.125em;
+ line-height: 1.5em;
+ margin-bottom: -0.25em;
}
.subtitle
}
.subtitle
@@
-197,60
+204,67
@@
p
text-align: center;
font-weight: bold;
text-align: center;
font-weight: bold;
-
font-size: 1.5em;
-
line-height: 1.5em;
-
margin-top: -0.25em;
+ font-size: 1.5em;
+ line-height: 1.5em;
+ margin-top: -0.25em;
}
div.didaskalia
{
}
div.didaskalia
{
- font-style: italic;
- margin-top: 0.5em;
- margin-left: 1.5em;
+ font-style: italic;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+ margin-left: 1.5em;
}
.kwestia
{
}
.kwestia
{
-
margin-top: 0.5em;
+ margin-top: 0.5em;
}
.paragraph
{
}
.paragraph
{
- text-align: justify;
- margin: 0
+ text-align: justify;
+ margin: 0;
+ text-indent: 1.2em;
+}
+
+h1 + .paragraph, h2 + .paragraph
+{
+ text-indent: 0;
}
}
-.paragraph + .paragraph
+h2 + .paragraph:first-letter
{
{
-
text-indent: 1.2
em;
+
font-size: 1.6
em;
}
.motto
{
}
.motto
{
-
text-align: justify;
-
font-style: italic;
-
margin-top: 1.5em;
+ text-align: justify;
+ font-style: italic;
+ margin-top: 1.5em;
}
.motto_podpis, .motto_podpis .paragraph
{
}
.motto_podpis, .motto_podpis .paragraph
{
-
font-size: 0.875em;
-
text-align: right;
+ font-size: 0.875em;
+ text-align: right;
font-style: italic;
}
.fragment
{
font-style: italic;
}
.fragment
{
-
border-bottom: 0.1em solid #999;
-
padding-bottom: 1.5em;
+ border-bottom: 0.1em solid #999;
+ padding-bottom: 1.5em;
}
.note
{
}
.note
{
-
text-align: right;
-
font-style: italic;
-
margin-top: 0.5
em;
-
margin-bottom: 0.5em;
+ text-align: right;
+ font-style: italic;
+
margin-top: 1
em;
+ margin-bottom: 0.5em;
}
.note .paragraph
}
.note .paragraph
@@
-266,43
+280,43
@@
div.didaskalia
hr.spacer
{
hr.spacer
{
-
height: 3em;
-
visibility: hidden;
+ height: 3em;
+ visibility: hidden;
}
hr.spacer-line
{
}
hr.spacer-line
{
-
margin: 0;
-
margin-top: 1.5em;
-
margin-bottom: 1.5em;
-
border: none;
-
border-bottom: 0.1em solid #000;
+ margin: 0;
+ margin-top: 1.5em;
+ margin-bottom: 1.5em;
+ border: none;
+ border-bottom: 0.1em solid #000;
}
.spacer-asterisk
{
}
.spacer-asterisk
{
-
padding: 0;
+ padding: 0;
margin: 0;
margin-top: 1.5em;
margin-bottom: 1.5em;
margin: 0;
margin-top: 1.5em;
margin-bottom: 1.5em;
-
text-align: center;
+ text-align: center;
}
div.person-list ol
{
}
div.person-list ol
{
-
list-style: none;
-
padding: 0;
-
padding-left: 1.5em;
+ list-style: none;
+ padding: 0;
+ padding-left: 1.5em;
}
.place-and-time
{
}
.place-and-time
{
-
font-style: italic;
+ font-style: italic;
}
em.math
{
}
em.math
{
-
font-style: italic;
+ font-style: italic;
}
em.foreign-word
{
}
em.foreign-word
{
@@
-319,20
+333,20
@@
em.didaskalia
em.author-emphasis
{
em.author-emphasis
{
-
letter-spacing: 0.1em;
+ letter-spacing: 0.1em;
}
.person-list em.person
{
}
.person-list em.person
{
-
font-style: normal;
-
/*font-variant: small-caps;*/
-
text-transform: uppercase;
+ font-style: normal;
+ /*font-variant: small-caps;*/
+ text-transform: uppercase;
}
.info
{
}
.info
{
-
text-align: center;
-
margin-bottom: 1em;
+ text-align: center;
+ margin-bottom: 1em;
}
.info div
{
}
.info div
{
@@
-341,9
+355,9
@@
em.author-emphasis
.info img
{
.info img
{
-
margin: 0;
-
margin-left: 2em;
-
margin-right: 2em;
+ margin: 0;
+ margin-left: 2em;
+ margin-right: 2em;
}
p.minor-info {
}
p.minor-info {