From 41bb1677ca215e96dd5964bc86d7d37cfdf5d00b Mon Sep 17 00:00:00 2001 From: Lol3rrr Date: Sun, 27 Sep 2026 02:20:10 +0200 Subject: [PATCH] Overwrite some styles from the template --- sass/styles.scss | 28 ++++++++++++++++++++++++++++ templates/_base.html | 10 ++++++++++ 2 files changed, 38 insertions(+) create mode 100644 sass/styles.scss diff --git a/sass/styles.scss b/sass/styles.scss new file mode 100644 index 0000000..9c0fdd6 --- /dev/null +++ b/sass/styles.scss @@ -0,0 +1,28 @@ +article[itemprop="articleBody"] { + + h1 { + font-size: 1.2rem !important; + } +} + +article[itemprop="articleBody"] { + + h2, + h3, + h4, + h5, + h6 { + margin-top: 1rem !important; + font-size: 1.1rem !important; + } +} + +.hack h2, +.hack h3, +.hack h4, +.hack h5, +.hack h6 { + position: relative; + margin-bottom: 1.2rem; + margin-top: 1.75rem +} diff --git a/templates/_base.html b/templates/_base.html index ad8c666..8c56e3e 100644 --- a/templates/_base.html +++ b/templates/_base.html @@ -21,3 +21,13 @@ {% endblock %} + +{% block styles %} + {{ super() }} + + + +{% endblock %}