Styling changes
This commit is contained in:
parent
6afa6d55d4
commit
06778c219a
18
css/highlight.css
Normal file
18
css/highlight.css
Normal file
@ -0,0 +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; }
|
||||
td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
|
||||
td.sourceCode { padding-left: 5px; }
|
||||
.sourceCode span.kw { color: #007020; font-weight: bold; }
|
||||
.sourceCode span.dt { color: #902000; }
|
||||
.sourceCode span.dv { color: #40a070; }
|
||||
.sourceCode span.bn { color: #40a070; }
|
||||
.sourceCode span.fl { color: #40a070; }
|
||||
.sourceCode span.ch { color: #4070a0; }
|
||||
.sourceCode span.st { color: #4070a0; }
|
||||
.sourceCode span.co { color: #60a0b0; font-style: italic; }
|
||||
.sourceCode span.ot { color: #007020; }
|
||||
.sourceCode span.al { color: red; font-weight: bold; }
|
||||
.sourceCode span.fu { color: #06287e; }
|
||||
.sourceCode span.re { }
|
||||
.sourceCode span.er { color: red; font-weight: bold; }
|
4
site.hs
4
site.hs
@ -21,6 +21,10 @@ main = hakyll $ do
|
||||
route idRoute
|
||||
compile compressCssCompiler
|
||||
|
||||
match "js/*" $ do
|
||||
route idRoute
|
||||
compile compressCssCompiler
|
||||
|
||||
match (fromList ["about.markdown", "contact.markdown"]) $ do
|
||||
route $ setExtension "html"
|
||||
compile $ pandocCompiler
|
||||
|
@ -6,6 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>rauhala.info - $title$</title>
|
||||
<link rel="stylesheet" href="/css/default.css" />
|
||||
<link rel="stylesheet" href="/css/highlight.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<ul>
|
||||
$for(posts)$
|
||||
<li>
|
||||
<a href="$url$">$title$</a> - $date$
|
||||
<a href="$url$">$title$</a> - $modified$
|
||||
</li>
|
||||
$endfor$
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user