fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reorder CSS rules for ePUB because FBReader is weird
[librarian.git]
/
librarian
/
epub
/
style.css
diff --git
a/librarian/epub/style.css
b/librarian/epub/style.css
index
6225c7a
..
82ad4b9
100644
(file)
--- a/
librarian/epub/style.css
+++ b/
librarian/epub/style.css
@@
-1,3
+1,6
@@
+@page {
+ margin: 5pt;
+}
@font-face {
font-family: "DejaVu Serif";
font-weight: normal;
@font-face {
font-family: "DejaVu Serif";
font-weight: normal;
@@
-44,17
+47,8
@@
a img {
border: 0;
}
border: 0;
}
-#book-text
-{
- margin: 2em;
-}
-
-@media amzn-kf8
-{
- #book-text
- {
- margin: 0;
- }
+#book-text {
+ margin: 0;
}
/* =================================================== */
}
/* =================================================== */
@@
-135,7
+129,7
@@
p
{
line-height: 0;
font-size: 0.7em;
{
line-height: 0;
font-size: 0.7em;
-}
+}
/* =================== */
/* = Custom elements = */
/* =================== */
/* = Custom elements = */
@@
-259,6
+253,12
@@
h2 + .paragraph:first-letter
padding-bottom: 1.5em;
}
padding-bottom: 1.5em;
}
+.dedication, .dedication .paragraph
+{
+ text-align: right;
+ font-style: italic;
+}
+
.note
{
text-align: right;
.note
{
text-align: right;
@@
-272,10
+272,12
@@
h2 + .paragraph:first-letter
text-align: justify;
}
text-align: justify;
}
-.
dedication, .dedication .paragraph
+.
frame
{
{
- text-align: right;
- font-style: italic;
+ border: 1px darkgray solid;
+ padding: 1em;
+ margin-top: 1em;
+ margin-bottom: 1em;
}
hr.spacer
}
hr.spacer
@@
-336,6
+338,12
@@
em.author-emphasis
letter-spacing: 0.1em;
}
letter-spacing: 0.1em;
}
+em.wieksze-odstepy
+{
+ font-style: normal;
+ word-spacing: 1em;
+}
+
.person-list em.person
{
font-style: normal;
.person-list em.person
{
font-style: normal;
@@
-368,3
+376,15
@@
p.minor-info {
p.footer {
margin-top: 2em;
}
p.footer {
margin-top: 2em;
}
+
+table {
+ border-collapse: collapse;
+ width: 100%;
+}
+table.border th, table.border td {
+ border: 1px solid black;
+}
+
+th, td {
+ vertical-align: top;
+}
\ No newline at end of file