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
|
@ -55,14 +55,6 @@ img {
|
|||
animation: bookmark 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
|
||||
}
|
||||
|
||||
// TODO: Move this into a dedicated component
|
||||
.loading {
|
||||
position: absolute;
|
||||
left: 48%;
|
||||
top: 20%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
|
||||
.highlight {
|
||||
background-color: var(--manga-reader-next-highlight-bg-color) !important;
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -49,11 +49,13 @@
|
|||
@font-face {
|
||||
font-family: "EBGarmond";
|
||||
src: url("assets/fonts/EBGarmond/EBGaramond-VariableFont_wght.ttf") format("truetype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Spartan";
|
||||
src: url("assets/fonts/Spartan/Spartan-VariableFont_wght.ttf");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
label, select, .clickable {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue