diff options
-rw-r--r-- | css/DroidSerif-webfont.woff | bin | 0 -> 29992 bytes | |||
-rw-r--r-- | css/screen.css | 19 | ||||
-rw-r--r-- | site.hs | 9 |
3 files changed, 18 insertions, 10 deletions
diff --git a/css/DroidSerif-webfont.woff b/css/DroidSerif-webfont.woff Binary files differnew file mode 100644 index 0000000..3d2bc95 --- /dev/null +++ b/css/DroidSerif-webfont.woff diff --git a/css/screen.css b/css/screen.css index 63bb204..e608131 100644 --- a/css/screen.css +++ b/css/screen.css @@ -1,10 +1,17 @@ +@font-face { + font-family: 'droid_serifregular'; + src: url('DroidSerif-webfont.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + html, body { - font-family: "droid serif", Georgia, Gentium, Goudy, "Book Antiqua", "Linux Libertine", "Times New Roman", serif; - text-rendering: optimizelegibility; --moz-font-feature-settings: "liga"; - line-height: 130%; - color: #333; - background: #fcfbf3; } + font-family: "droid_serifregular", serif; + text-rendering: optimizelegibility; + -moz-font-feature-settings: "liga"; + line-height: 130%; + color: #333; + background: #fcfbf3; } @media all {html {font-size: 24px;}} @media all and (max-width:1000px){html {font-size: 24px;}} @@ -27,14 +27,11 @@ main :: IO () main = hakyllWith config $ do tags <- buildTags "posts/*.markdown" (fromCapture "tags/*.html") - match "css/*" $ do - route idRoute - compile compressCssCompiler - match ( "js/libs/*" .||. "js/hyphenator/*" .||. "js/hyphenator/patterns/*" .||. "js/*" + .||. "css/*.woff" .||. "downies/*" .||. "downies/music/*" .||. "images/*" @@ -46,6 +43,10 @@ main = hakyllWith config $ do route idRoute compile copyFileCompiler + match "css/*" $ do + route idRoute + compile compressCssCompiler + -- place static markdown files in site root match ( "static/*.markdown" .||. "static/*/*.markdown" ) $ do route $ setExtension "html" |