diff options
Diffstat (limited to 'extras/html/themes')
| -rw-r--r-- | extras/html/themes/default/style.css | 91 | ||||
| -rw-r--r-- | extras/html/themes/default/theme.conf | 8 |
2 files changed, 99 insertions, 0 deletions
diff --git a/extras/html/themes/default/style.css b/extras/html/themes/default/style.css new file mode 100644 index 0000000..f2cf40b --- /dev/null +++ b/extras/html/themes/default/style.css @@ -0,0 +1,91 @@ +@font-face { + font-family: 'text'; + src: url("./text.ttf") format("truetype"); +} + +@font-face { + font-family: 'heading'; + src: url("./heading.ttf") format("truetype"); +} + +@font-face { + font-family: 'code'; + src: url("./code.ttf") format("truetype"); +} + +@font-face { + font-family: 'handnotes'; + src: url("./handnotes.ttf") format("truetype"); +} + +body { + font-family: text, sans-serif; + max-width: 1200px; + padding: 20px; + margin: 20px auto; + border: 1px solid #eeeeee; + border-radius: 15px; +} + +a { + font-family: code, monospace; + text-decoration: none; + color: #0e0e0e; +} + +h1, h2, h3 { + font-family: heading, serif; +} + +a { + color: #666666; + padding: 0 0 0 0; +} + +a:hover { + text-decoration: underline; +} + +a.textlink:before { + content: "⇒ "; +} + +.quote { + font-style: italic; +} + +.quote:before { + content: "« "; + padding-left: 2px; +} + +.quote:after { + content: " »"; + padding-right: 2px; +} + +ul { + list-style: none; + margin: 0 0 0 0; + padding: 0 0 0 0; +} + +li:before { + content: "★"; + padding-right: 5px; +} + +img { + max-width: 90%; +} + +pre { + font-family: code, monospace; + padding: 20px; + border: 1px solid #cccccc; +} + +span.inlinecode { + font-family: code, monospace; + border: 1px solid #999999; +} diff --git a/extras/html/themes/default/theme.conf b/extras/html/themes/default/theme.conf new file mode 100644 index 0000000..9e06b30 --- /dev/null +++ b/extras/html/themes/default/theme.conf @@ -0,0 +1,8 @@ +declare -xr HTML_HEADER=./extras/html/header.html.part +declare -xr HTML_FOOTER=./extras/html/footer.html.part +declare -xr HTML_CSS_STYLE=$HTML_THEME_DIR/style.css +declare -xr HTML_WEBFONT_HEADING=./extras/html/fonts/Merriweather/Merriweather-Bold.ttf +declare -xr HTML_WEBFONT_TEXT=./extras/html/fonts/Merriweather/Merriweather-Regular.ttf +declare -xr HTML_WEBFONT_CODE=./extras/html/fonts/hack/Hack-Regular.ttf +declare -xr HTML_WEBFONT_HANDNOTES=./extras/html/fonts/khand/khand.ttf +declare -xr SOURCE_HIGHLIGHT_CSS=./extras/html/source-highlight-styles/mono.css |
