geekier css
This commit is contained in:
parent
ffa36b27d5
commit
fecd03b370
|
@ -94,7 +94,7 @@ getBlogpostFromMetas path toc pandoc@(Pandoc meta _) = do
|
|||
title <- fmap (T.dropEnd 1) $ inlineToText $ docTitle meta
|
||||
date <- fmap reformatDate $ inlineToText $ docDate meta
|
||||
author <- case head $ docAuthors meta of
|
||||
Just m -> inlineToText m
|
||||
Just m -> fmap T.strip $ inlineToText m
|
||||
Nothing -> return ""
|
||||
let tags = tagsToList $ lookupMeta "keywords" meta
|
||||
description = descr $ lookupMeta "description" meta
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
set -e # fail on first error
|
||||
set -u # fail if a variable is not set
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)" || exit 1
|
||||
rootdir=${0:h}
|
||||
rootdir="${0:h}"
|
||||
echo "$rootdir"
|
||||
|
||||
./engine/clean.sh
|
||||
./engine/build.sh
|
||||
./engine/pre-deploy.sh
|
||||
./engine/build.sh full
|
||||
./engine/sync.sh
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
html {
|
||||
font-family: "Helvetica Neue", sans-serif;
|
||||
font-size: 16px;
|
||||
font-family: Courier,monospace;
|
||||
font-size: 14px;
|
||||
line-height: calc(1ex/0.37); }
|
||||
html,body { margin: 0; padding: 0; border: 0; }
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
|
@ -9,8 +9,8 @@ h1,h2,h3,h4,h5,h6 {
|
|||
#preamble h1 { margin: 0; }
|
||||
p { text-align: justify; hyphens: auto; }
|
||||
pre { overflow-x: scroll; border: solid 1px; padding: 1ex; }
|
||||
pre > code { font-size: 0.875em; }
|
||||
code,pre { font-size: 0.875em; }
|
||||
pre > code { font-size: 0.875em; background: none; }
|
||||
code,pre { font-family: Courier, monospace; }
|
||||
figure { margin: 1rem 0; padding: 0; }
|
||||
.meta { font-size: small;}
|
||||
.abstract { margin: 1rem; font-size: 0.875em; font-style: italic; }
|
||||
|
@ -168,6 +168,7 @@ body, body > div {
|
|||
}
|
||||
a,a:visited { color: var(--hl); }
|
||||
figcaption { color: var(--fg0); }
|
||||
code { background: var(--rbg); }
|
||||
|
||||
/* ---- SYNTAX HIGHLIGHTING ---- */
|
||||
#table-of-contents { text-align: left; }
|
||||
|
|
Loading…
Reference in New Issue