mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-09-28 07:11:16 +12:00
Enable hyphenation and ligatures!
This commit is contained in:
parent
71c4ab70e3
commit
535aea460e
1 changed files with 30 additions and 2 deletions
|
@ -12,8 +12,18 @@ body {
|
|||
background-color: white;
|
||||
color: black;
|
||||
text-align: justify;
|
||||
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 {
|
||||
|
@ -25,6 +35,19 @@ p {
|
|||
margin-bottom: 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 {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
@ -42,8 +65,12 @@ div p {
|
|||
|
||||
h1, h2, h3, h4, h5, h6, header {
|
||||
text-align: left !important;
|
||||
hyphens: none;
|
||||
adobe-hyphenate: none;
|
||||
-epub-hyphens: none;
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
em {
|
||||
|
@ -256,6 +283,7 @@ code {
|
|||
}
|
||||
pre {
|
||||
margin: 1em 0;
|
||||
-epub-hyphens: none;
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
|
|
Loading…
Reference in a new issue