Epub 3.2 Grouping issue (#1823)
* Added font swapping and removed some unneeded css * Fixed a bug where epub 3 tags weren't being applied for grouping
This commit is contained in:
parent
9b80eba53e
commit
9103228ccc
7 changed files with 27 additions and 35 deletions
|
|
@ -1,36 +1,43 @@
|
|||
@font-face {
|
||||
font-family: "Fira_Sans";
|
||||
src: url(../../../../assets/fonts/Fira_Sans/FiraSans-Regular.ttf) format("truetype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Lato";
|
||||
src: url(../../../../assets/fonts/Lato/Lato-Regular.ttf) format("truetype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Libre_Baskerville";
|
||||
src: url(../../../../assets/fonts/Libre_Baskerville/LibreBaskerville-Regular.ttf) format("truetype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Merriweather";
|
||||
src: url(../../../../assets/fonts/Merriweather/Merriweather-Regular.ttf) format("truetype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Nanum_Gothic";
|
||||
src: url(../../../../assets/fonts/Nanum_Gothic/NanumGothic-Regular.ttf) format("truetype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "RocknRoll_One";
|
||||
src: url(../../../../assets/fonts/RocknRoll_One/RocknRollOne-Regular.ttf) format("truetype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "OpenDyslexic2";
|
||||
src: url(../../../../assets/fonts/OpenDyslexic2/OpenDyslexic-Regular.otf) format("opentype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
:root {
|
||||
|
|
|
|||
|
|
@ -1,26 +1 @@
|
|||
@use '../../../../manga-reader-common';
|
||||
|
||||
.full-height {
|
||||
width: auto;
|
||||
margin: 0 auto;
|
||||
max-height: calc(var(--vh)*100);
|
||||
vertical-align: top;
|
||||
|
||||
&.wide {
|
||||
height: 100vh;
|
||||
}
|
||||
}
|
||||
|
||||
.original {
|
||||
align-self: center;
|
||||
width: auto;
|
||||
margin: 0 auto;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.full-width {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
vertical-align: top;
|
||||
max-width: fit-content;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
@use '../../../../manga-reader-common';
|
||||
@use '../../../../manga-reader-common';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue