diff --git a/templates/BlogPost.html b/templates/BlogPost.html index c456103..39df615 100644 --- a/templates/BlogPost.html +++ b/templates/BlogPost.html @@ -2,6 +2,7 @@ + {{ title }} diff --git a/templates/Home.html b/templates/Home.html index 8646df6..05f6138 100644 --- a/templates/Home.html +++ b/templates/Home.html @@ -2,6 +2,7 @@ + Home diff --git a/webResources/styles.css b/webResources/styles.css index dea792c..0ffc327 100644 --- a/webResources/styles.css +++ b/webResources/styles.css @@ -114,3 +114,43 @@ img { background-color: #c7ae95; color: #000000; } + +/* Copied from pandoc --self-contained with zenburn style */ +/* pandoc -r org -w html --self-contained --highlight-style zenburn -o delme.html test.org */ +code{white-space: pre;} +div.sourceCode { overflow-x: auto; } +table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode { + margin: 0; padding: 0; vertical-align: baseline; border: none; } +table.sourceCode { width: 100%; line-height: 100%; background-color: #303030; color: #cccccc; } +td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; } +td.sourceCode { padding-left: 5px; } +pre, code { color: #cccccc; background-color: #303030; } +code > span.kw { color: #f0dfaf; } /* Keyword */ +code > span.dt { color: #dfdfbf; } /* DataType */ +code > span.dv { color: #dcdccc; } /* DecVal */ +code > span.bn { color: #dca3a3; } /* BaseN */ +code > span.fl { color: #c0bed1; } /* Float */ +code > span.ch { color: #dca3a3; } /* Char */ +code > span.st { color: #cc9393; } /* String */ +code > span.co { color: #7f9f7f; } /* Comment */ +code > span.ot { color: #efef8f; } /* Other */ +code > span.al { color: #ffcfaf; } /* Alert */ +code > span.fu { color: #efef8f; } /* Function */ +code > span.er { color: #c3bf9f; } /* Error */ +code > span.wa { color: #7f9f7f; font-weight: bold; } /* Warning */ +code > span.cn { color: #dca3a3; font-weight: bold; } /* Constant */ +code > span.sc { color: #dca3a3; } /* SpecialChar */ +code > span.vs { color: #cc9393; } /* VerbatimString */ +code > span.ss { color: #cc9393; } /* SpecialString */ +code > span.im { } /* Import */ +code > span.va { } /* Variable */ +code > span.cf { color: #f0dfaf; } /* ControlFlow */ +code > span.op { color: #f0efd0; } /* Operator */ +code > span.bu { } /* BuiltIn */ +code > span.ex { } /* Extension */ +code > span.pp { color: #ffcfaf; font-weight: bold; } /* Preprocessor */ +code > span.at { } /* Attribute */ +code > span.do { color: #7f9f7f; } /* Documentation */ +code > span.an { color: #7f9f7f; font-weight: bold; } /* Annotation */ +code > span.cv { color: #7f9f7f; font-weight: bold; } /* CommentVar */ +code > span.in { color: #7f9f7f; font-weight: bold; } /* Information */