epub.css: Fix path to embedded fonts

Found with the help of Calibre.
This commit is contained in:
Michael Reed 2020-06-15 12:34:06 -04:00
parent 031ad315b3
commit ed33201f61

View file

@ -4,19 +4,19 @@
font-family: 'mononoki'; font-family: 'mononoki';
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
src: url('fonts/mononoki-Regular.ttf'); src: url('../fonts/mononoki-Regular.ttf');
} }
@font-face { @font-face {
font-family: 'DejaVu Sans Mono'; font-family: 'DejaVu Sans Mono';
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
src: url('fonts/DejaVuSansMono.ttf'); src: url('../fonts/DejaVuSansMono.ttf');
} }
@font-face { @font-face {
font-family: 'Source Code Pro'; font-family: 'Source Code Pro';
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
src: url('fonts/SourceCodePro-Regular.ttf'); src: url('../fonts/SourceCodePro-Regular.ttf');
} }
/* TODO: add freemono font from agda.css */ /* TODO: add freemono font from agda.css */
body { margin: 5%; text-align: justify; font-size: medium; } body { margin: 5%; text-align: justify; font-size: medium; }