diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2014-08-25 01:11:31 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2014-08-25 01:11:31 -0400 |
| commit | 32df4881f8facc3dd19354f6a170a238a0e550c7 (patch) | |
| tree | dad1c0d0259ed251d77f211a9ab8b3c8c59181b4 /theme/static/css | |
| parent | f6863cbf8daede0e453b4e7df284189a384be320 (diff) | |
| download | book-reader-master.tar.gz | |
Diffstat (limited to 'theme/static/css')
| -rwxr-xr-x | theme/static/css/3-crimson.css | 52 | ||||
| -rwxr-xr-x | theme/static/css/3-garamond.css | 20 | ||||
| -rw-r--r-- | theme/static/css/4-main.css | 4 | ||||
| -rw-r--r-- | theme/static/css/5-chapter.css | 2 |
4 files changed, 24 insertions, 54 deletions
diff --git a/theme/static/css/3-crimson.css b/theme/static/css/3-crimson.css deleted file mode 100755 index a956352..0000000 --- a/theme/static/css/3-crimson.css +++ /dev/null @@ -1,52 +0,0 @@ -@font-face { - font-family: 'crimson'; - src: url('../fonts/crimson-bold-webfont.eot'); - src: url('../fonts/crimson-bold-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/crimson-bold-webfont.woff') format('woff'), - url('../fonts/crimson-bold-webfont.ttf') format('truetype'); - font-weight: bold; - font-style: normal; - -} - - - - -@font-face { - font-family: 'crimson'; - src: url('../fonts/crimson-bolditalic-webfont.eot'); - src: url('../fonts/crimson-bolditalic-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/crimson-bolditalic-webfont.woff') format('woff'), - url('../fonts/crimson-bolditalic-webfont.ttf') format('truetype'); - font-weight: bold; - font-style: italic; - -} - - - - -@font-face { - font-family: 'crimson'; - src: url('../fonts/crimson-italic-webfont.eot'); - src: url('../fonts/crimson-italic-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/crimson-italic-webfont.woff') format('woff'), - url('../fonts/crimson-italic-webfont.ttf') format('truetype'); - font-weight: normal; - font-style: italic; - -} - - - - -@font-face { - font-family: 'crimson'; - src: url('../fonts/crimson-roman-webfont.eot'); - src: url('../fonts/crimson-roman-webfont.eot?#iefix') format('embedded-opentype'), - url('../fonts/crimson-roman-webfont.woff') format('woff'), - url('../fonts/crimson-roman-webfont.ttf') format('truetype'); - font-weight: normal; - font-style: normal; - -} diff --git a/theme/static/css/3-garamond.css b/theme/static/css/3-garamond.css new file mode 100755 index 0000000..febedec --- /dev/null +++ b/theme/static/css/3-garamond.css @@ -0,0 +1,20 @@ +@font-face { + font-family: 'garamond'; + src: url('../fonts/EBGaramond12-Regular.eot'); + src: url('../fonts/EBGaramond12-Regular.eot?#iefix') format('embedded-opentype'), + url('../fonts/EBGaramond12-Regular.woff') format('woff'), + url('../fonts/EBGaramond12-Regular.ttf') format('truetype'); + font-weight: normal; + font-style: normal; + +} + +@font-face { + font-family: 'garamond'; + src: url('../fonts/EBGaramond12-Italic.eot'); + src: url('../fonts/EBGaramond12-Italic.eot?#iefix') format('embedded-opentype'), + url('../fonts/EBGaramond12-Italic.woff') format('woff'), + url('../fonts/EBGaramond12-Italic.ttf') format('truetype'); + font-weight: normal; + font-style: italic; +} diff --git a/theme/static/css/4-main.css b/theme/static/css/4-main.css index ac423fa..9517a13 100644 --- a/theme/static/css/4-main.css +++ b/theme/static/css/4-main.css @@ -4,9 +4,11 @@ html { } body { - font-family: "EB Garamond"; + font-family: "garamond"; margin: 0; padding: 0; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; } div.main { diff --git a/theme/static/css/5-chapter.css b/theme/static/css/5-chapter.css index 0df2989..f9684d5 100644 --- a/theme/static/css/5-chapter.css +++ b/theme/static/css/5-chapter.css @@ -48,7 +48,7 @@ section.chapter > p:first-of-type { } section.chapter > p:first-of-type:first-letter { - font-size: 2.5em; + font-size: 2em; } section.chapter blockquote.epigraph { |
