diff options
author | Andrew Dolgov <[email protected]> | 2021-04-13 09:51:14 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-04-13 09:51:14 +0300 |
commit | fc79ba314eca4748ede798ea628489ce91b13177 (patch) | |
tree | 6b7c2088bdb457eeb221692f3b4e0e04f0289e7d /css | |
parent | f31faf69176ef3cd6b0d3e899e8cf8eed2c0c926 (diff) |
load custom ttf files inside iframe using base64
Diffstat (limited to 'css')
-rw-r--r-- | css/reader_iframe.less | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/css/reader_iframe.less b/css/reader_iframe.less index ed73ec8..6a4397f 100644 --- a/css/reader_iframe.less +++ b/css/reader_iframe.less @@ -21,30 +21,4 @@ big, small { font-size : inherit; } -/* ugly hack: this assumes default prefix used for epube - /books/ - * since CSS is loaded inline, relative urls won't work properly so - * it's hardcoded for the time being (the alternative is pointing to - * website root) */ - -/* fonts below are freely available although license is likely proprietary - * so i'm not bundling the files */ - -@font-face { - font-family: Caecilia; - src: local('PMN Caecilia 55'), url('/books/lib/fonts/pmn-caecilia-55.ttf') format('truetype'); - font-weight : normal; -} - -@font-face { - font-family: Caecilia; - src: local('PMN Caecilia 75'), url('/books/lib/fonts/pmn-caecilia-75.ttf') format('truetype'); - font-weight : bold; -} - -@font-face { - font-family: Caecilia; - src: local('PMN Caecilia 56'), url('/books/lib/fonts/pmn-caecilia-56.ttf') format('truetype'); - font-style : italic; -} - -@import "themes.less";
\ No newline at end of file +@import "themes.less"; |