mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-06-27 02:20:24 +12:00
Enable hyphenation and ligatures!
This commit is contained in:
parent
71c4ab70e3
commit
535aea460e
|
@ -12,8 +12,18 @@ body {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
color: black;
|
color: black;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
hyphens: auto;
|
|
||||||
-epub-hyphens: auto;
|
-epub-hyphens: auto;
|
||||||
|
-webkit-hyphens: auto;
|
||||||
|
-moz-hyphens: auto;
|
||||||
|
-ms-hyphens: auto;
|
||||||
|
hyphens: auto;
|
||||||
|
|
||||||
|
font-kerning: normal;
|
||||||
|
font-variant: common-ligatures lining-nums;
|
||||||
|
-webkit-font-feature-settings: "kern", "liga", "clig", "lnum";
|
||||||
|
font-feature-settings: "kern", "liga", "clig", "lnum";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a, u {
|
a, u {
|
||||||
|
@ -25,6 +35,19 @@ p {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
text-indent: 0;
|
text-indent: 0;
|
||||||
|
|
||||||
|
-epub-hyphens: auto;
|
||||||
|
-webkit-hyphens: auto;
|
||||||
|
-moz-hyphens: auto;
|
||||||
|
-ms-hyphens: auto;
|
||||||
|
hyphens: auto;
|
||||||
|
|
||||||
|
-webkit-hyphenate-limit-before: 3;
|
||||||
|
-webkit-hyphenate-limit-after: 2;
|
||||||
|
-ms-hyphenate-limit-chars: 6 3 2;
|
||||||
|
hyphenate-limit-chars: 6 3 2;
|
||||||
|
-webkit-hyphenate-limit-lines: 2;
|
||||||
|
hyphenate-limit-lines: 2;
|
||||||
|
|
||||||
&.double {
|
&.double {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
@ -42,8 +65,12 @@ div p {
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6, header {
|
h1, h2, h3, h4, h5, h6, header {
|
||||||
text-align: left !important;
|
text-align: left !important;
|
||||||
hyphens: none;
|
adobe-hyphenate: none;
|
||||||
-epub-hyphens: none;
|
-epub-hyphens: none;
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
em {
|
em {
|
||||||
|
@ -256,6 +283,7 @@ code {
|
||||||
}
|
}
|
||||||
pre {
|
pre {
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
|
-epub-hyphens: none;
|
||||||
-webkit-hyphens: none;
|
-webkit-hyphens: none;
|
||||||
-moz-hyphens: none;
|
-moz-hyphens: none;
|
||||||
-ms-hyphens: none;
|
-ms-hyphens: none;
|
||||||
|
|
Loading…
Reference in a new issue