diff options
Diffstat (limited to 'examples/brochure')
-rw-r--r-- | examples/brochure/css/default.css | 10 | ||||
-rw-r--r-- | examples/brochure/hakyll.hs | 4 | ||||
-rw-r--r-- | examples/brochure/index.markdown | 2 |
3 files changed, 16 insertions, 0 deletions
diff --git a/examples/brochure/css/default.css b/examples/brochure/css/default.css index 9ed2b01..3bfeeaf 100644 --- a/examples/brochure/css/default.css +++ b/examples/brochure/css/default.css @@ -15,3 +15,13 @@ div#navigation a { padding: 3px 10px 3px 10px; margin: 0px 10px 0px 10px; } + +div.figure { + float: right; + margin: 20px 0px 20px 20px; +} + +div.figure p.caption { + text-align: center; + font-style: italic; +} diff --git a/examples/brochure/hakyll.hs b/examples/brochure/hakyll.hs index 1bc5919..e298670 100644 --- a/examples/brochure/hakyll.hs +++ b/examples/brochure/hakyll.hs @@ -6,6 +6,10 @@ import Hakyll main :: IO () main = hakyll $ do + match "images/*" $ do + route idRoute + compile copyFileCompiler + match "css/*" $ do route idRoute compile compressCssCompiler diff --git a/examples/brochure/index.markdown b/examples/brochure/index.markdown index b5a32c7..96b63bd 100644 --- a/examples/brochure/index.markdown +++ b/examples/brochure/index.markdown @@ -5,6 +5,8 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tempor, urna et auctor tincidunt, eros mauris facilisis purus, eget sollicitudin leo massa sit amet ipsum. Vivamus eu massa in urna vehicula rutrum eget sit amet purus. +![Haskell logo](/images/haskell-logo.png) + - Mauris sit amet justo mi. - Curabitur vel quam felis. - In hac habitasse platea dictumst. |