From 178899dfe99d3079e86652188357a59abbe27d90 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Sat, 31 Dec 2022 20:39:00 -0600 Subject: [PATCH] create a simple D&D 1e-style theme, use it --- config.py | 6 +++++- custom-static/css/dungeon.css | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 custom-static/css/dungeon.css diff --git a/config.py b/config.py index 07e3af6..b8b3938 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,8 @@ TITLE_SUFFIX = 'orb.moe' CONTACT_EMAIL = 'bss@orb.moe' -DEFAULT_PAGE_STYLE = 'dark' +DEFAULT_PAGE_STYLE = 'dungeon' +PAGE_STYLES = { + 'dungeon': '/custom-static/css/dungeon.css', + 'plain': '/static/css/plain.css', +} MARKDOWN_EXTENSIONS = ['extra', 'sane_lists', 'smarty', 'toc', 'tables'] diff --git a/custom-static/css/dungeon.css b/custom-static/css/dungeon.css new file mode 100644 index 0000000..81641d0 --- /dev/null +++ b/custom-static/css/dungeon.css @@ -0,0 +1,20 @@ +@import '/static/css/light.css'; +@import url('https://fonts.googleapis.com/css2?family=Jost&display=swap'); + +html { + font-family: 'Jost', sans-serif; +} + +div.content { + font-size: 12pt; + line-height: 1.3em; +} + +h1, h2, h3, h4, h5, h6 { + color: #222; + text-transform: uppercase; +} + +a { + text-decoration: underline; +}