diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-09-02 14:16:40 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-09-02 14:16:40 +0200 |
commit | c5c9f26583a4f3941539b884343a25719b9bcd73 (patch) | |
tree | 9af53d5bf308899c0d7c4e7c3990569ce29bfcf3 | |
parent | 7848e95a799e933becd8a12396b97e0e47aea252 (diff) | |
download | hakyll-c5c9f26583a4f3941539b884343a25719b9bcd73.tar.gz |
Update syntax css to work with pandoc 1.6
-rw-r--r-- | examples/brochure/css/syntax.css | 30 | ||||
-rw-r--r-- | examples/hakyll/css/syntax.css | 30 | ||||
-rw-r--r-- | examples/hakyll/hakyll.hs | 3 |
3 files changed, 29 insertions, 34 deletions
diff --git a/examples/brochure/css/syntax.css b/examples/brochure/css/syntax.css index 0dbb47e..1aed859 100644 --- a/examples/brochure/css/syntax.css +++ b/examples/brochure/css/syntax.css @@ -1,20 +1,18 @@ /* Generated by pandoc. */ table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre -{ margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; } + { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; } td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; } td.sourceCode { padding-left: 5px; } -pre.sourceCode { } -pre.sourceCode span.Normal { } -pre.sourceCode span.Keyword { color: #007020; font-weight: bold; } -pre.sourceCode span.DataType { color: #902000; } -pre.sourceCode span.DecVal { color: #40a070; } -pre.sourceCode span.BaseN { color: #40a070; } -pre.sourceCode span.Float { color: #40a070; } -pre.sourceCode span.Char { color: #4070a0; } -pre.sourceCode span.String { color: #4070a0; } -pre.sourceCode span.Comment { color: #60a0b0; font-style: italic; } -pre.sourceCode span.Others { color: #007020; } -pre.sourceCode span.Alert { color: red; font-weight: bold; } -pre.sourceCode span.Function { color: #06287e; } -pre.sourceCode span.RegionMarker { } -pre.sourceCode span.Error { color: red; font-weight: bold; } +pre.sourceCode span.kw { color: #007020; font-weight: bold; } +pre.sourceCode span.dt { color: #902000; } +pre.sourceCode span.dv { color: #40a070; } +pre.sourceCode span.bn { color: #40a070; } +pre.sourceCode span.fl { color: #40a070; } +pre.sourceCode span.ch { color: #4070a0; } +pre.sourceCode span.st { color: #4070a0; } +pre.sourceCode span.co { color: #60a0b0; font-style: italic; } +pre.sourceCode span.ot { color: #007020; } +pre.sourceCode span.al { color: red; font-weight: bold; } +pre.sourceCode span.fu { color: #06287e; } +pre.sourceCode span.re { } +pre.sourceCode span.er { color: red; font-weight: bold; } diff --git a/examples/hakyll/css/syntax.css b/examples/hakyll/css/syntax.css index 0dbb47e..1aed859 100644 --- a/examples/hakyll/css/syntax.css +++ b/examples/hakyll/css/syntax.css @@ -1,20 +1,18 @@ /* Generated by pandoc. */ table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre -{ margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; } + { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; } td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; } td.sourceCode { padding-left: 5px; } -pre.sourceCode { } -pre.sourceCode span.Normal { } -pre.sourceCode span.Keyword { color: #007020; font-weight: bold; } -pre.sourceCode span.DataType { color: #902000; } -pre.sourceCode span.DecVal { color: #40a070; } -pre.sourceCode span.BaseN { color: #40a070; } -pre.sourceCode span.Float { color: #40a070; } -pre.sourceCode span.Char { color: #4070a0; } -pre.sourceCode span.String { color: #4070a0; } -pre.sourceCode span.Comment { color: #60a0b0; font-style: italic; } -pre.sourceCode span.Others { color: #007020; } -pre.sourceCode span.Alert { color: red; font-weight: bold; } -pre.sourceCode span.Function { color: #06287e; } -pre.sourceCode span.RegionMarker { } -pre.sourceCode span.Error { color: red; font-weight: bold; } +pre.sourceCode span.kw { color: #007020; font-weight: bold; } +pre.sourceCode span.dt { color: #902000; } +pre.sourceCode span.dv { color: #40a070; } +pre.sourceCode span.bn { color: #40a070; } +pre.sourceCode span.fl { color: #40a070; } +pre.sourceCode span.ch { color: #4070a0; } +pre.sourceCode span.st { color: #4070a0; } +pre.sourceCode span.co { color: #60a0b0; font-style: italic; } +pre.sourceCode span.ot { color: #007020; } +pre.sourceCode span.al { color: red; font-weight: bold; } +pre.sourceCode span.fu { color: #06287e; } +pre.sourceCode span.re { } +pre.sourceCode span.er { color: red; font-weight: bold; } diff --git a/examples/hakyll/hakyll.hs b/examples/hakyll/hakyll.hs index 6c26977..ca4cd6e 100644 --- a/examples/hakyll/hakyll.hs +++ b/examples/hakyll/hakyll.hs @@ -1,8 +1,7 @@ import Text.Hakyll import Text.Hakyll.Render -import Text.Hakyll.CreateContext import Text.Hakyll.File -import Text.Hakyll.Regex +import Text.Hakyll.CreateContext import Control.Monad.Reader (liftIO) import System.Directory import Control.Monad (mapM_, forM_, liftM) |