summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-08-03 17:47:52 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-08-03 17:47:52 +0200
commitd80e220029bfe495c86d6e9abe187d1a940c7dfe (patch)
tree03db4b987940c129da2f1925f561c62c9fa0fd58
parent52b67951f1e8a7f1af9b85d4ae8e7689d194574a (diff)
downloaddirty-haskell.org-d80e220029bfe495c86d6e9abe187d1a940c7dfe.tar
dirty-haskell.org-d80e220029bfe495c86d6e9abe187d1a940c7dfe.tar.gz
dirty-haskell.org-d80e220029bfe495c86d6e9abe187d1a940c7dfe.tar.bz2
dirty-haskell.org-d80e220029bfe495c86d6e9abe187d1a940c7dfe.tar.xz
dirty-haskell.org-d80e220029bfe495c86d6e9abe187d1a940c7dfe.zip
Fixed syntax highlighting
-rw-r--r--provider/css/syntax.css18
-rw-r--r--provider/templates/default.html1
2 files changed, 19 insertions, 0 deletions
diff --git a/provider/css/syntax.css b/provider/css/syntax.css
new file mode 100644
index 0000000..57b31eb
--- /dev/null
+++ b/provider/css/syntax.css
@@ -0,0 +1,18 @@
1/* Generated by pandoc. */
2table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
3 { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }
4td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
5td.sourceCode { padding-left: 5px; }
6.sourceCode span.kw { color: #007020; font-weight: bold; }
7.sourceCode span.dt { color: #902000; }
8.sourceCode span.dv { color: #40a070; }
9.sourceCode span.bn { color: #40a070; }
10.sourceCode span.fl { color: #40a070; }
11.sourceCode span.ch { color: #4070a0; }
12.sourceCode span.st { color: #4070a0; }
13.sourceCode span.co { color: #60a0b0; font-style: italic; }
14.sourceCode span.ot { color: #007020; }
15.sourceCode span.al { color: red; font-weight: bold; }
16.sourceCode span.fu { color: #06287e; }
17.sourceCode span.re { }
18.sourceCode span.er { color: red; font-weight: bold; }
diff --git a/provider/templates/default.html b/provider/templates/default.html
index 14497b2..0476655 100644
--- a/provider/templates/default.html
+++ b/provider/templates/default.html
@@ -10,6 +10,7 @@
10 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> 10 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
11 <![endif]--> 11 <![endif]-->
12 <link rel="stylesheet" href="/css/default.css"> 12 <link rel="stylesheet" href="/css/default.css">
13 <link rel="stylesheet" href="/css/syntax.css">
13</head> 14</head>
14<body> 15<body>
15$if(title)$ 16$if(title)$