diff options
author | Andrew Dolgov <[email protected]> | 2020-10-08 16:59:23 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-10-08 16:59:23 +0300 |
commit | d73ed30d76a5abd7dbfc15202f432f83a79f99ac (patch) | |
tree | b068c227ffcddb038a59e2f1bf0641db57fa4017 /css/reader_iframe.less | |
parent | 3ab0cbc47c62a738164310b98b67b34ad0c5db8c (diff) |
gulp stuff: themes
Diffstat (limited to 'css/reader_iframe.less')
-rw-r--r-- | css/reader_iframe.less | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/css/reader_iframe.less b/css/reader_iframe.less new file mode 100644 index 0000000..35b14bf --- /dev/null +++ b/css/reader_iframe.less @@ -0,0 +1,46 @@ +a { + color : #007d71; + text-decoration : none; +} + +a:visited { + text-decoration: underline; +} + +a:hover, +a:focus { + color: #00302c; + text-decoration: underline; +} + +blockquote { + font-style : italic; +} + +/* 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 |