From 80001f6de92dd39c9a96f0d3c89a3fbca620b192 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Sun, 1 Jan 2023 14:18:09 -0600 Subject: [PATCH] settings and style stuff for Dungeon23 --- config.py | 1 + custom-static/css/dungeon.css | 23 +++++++++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index b8b3938..305304c 100644 --- a/config.py +++ b/config.py @@ -1,5 +1,6 @@ TITLE_SUFFIX = 'orb.moe' CONTACT_EMAIL = 'bss@orb.moe' +MARKDOWN_EXTENSIONS = ['extra', 'incorporealcms.mdx.figures', 'sane_lists', 'smarty', 'toc', 'attr_list'] DEFAULT_PAGE_STYLE = 'dungeon' PAGE_STYLES = { 'dungeon': '/custom-static/css/dungeon.css', diff --git a/custom-static/css/dungeon.css b/custom-static/css/dungeon.css index 81641d0..6545a47 100644 --- a/custom-static/css/dungeon.css +++ b/custom-static/css/dungeon.css @@ -1,5 +1,5 @@ @import '/static/css/light.css'; -@import url('https://fonts.googleapis.com/css2?family=Jost&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500&display=swap'); html { font-family: 'Jost', sans-serif; @@ -7,14 +7,33 @@ html { div.content { font-size: 12pt; - line-height: 1.3em; + line-height: 1.2em; } h1, h2, h3, h4, h5, h6 { color: #222; text-transform: uppercase; + line-height: 1.2em; } a { text-decoration: underline; } + +.dungeon h2 ~ p { + margin: 0.5em 0; +} + +.dungeon p + p { + text-indent: 3em; +} + +blockquote { + background: none; + font-style: italic; + border: 1px solid #222; +} + +.content blockquote p { + margin: 5px; +}