From ab3de5023eaee426fd16bfae938347664e17daa3 Mon Sep 17 00:00:00 2001 From: gamerdonkey Date: Mon, 2 Aug 2021 00:56:23 -0500 Subject: Updating the theme. Fixing some small CSS issues. --- themes/gamerdonkey-theme/static/css/style.css | 30 ++++++++++++++++++++++----- themes/gamerdonkey-theme/templates/page.html | 2 ++ 2 files changed, 27 insertions(+), 5 deletions(-) (limited to 'themes/gamerdonkey-theme') diff --git a/themes/gamerdonkey-theme/static/css/style.css b/themes/gamerdonkey-theme/static/css/style.css index bb5fb78..fce750d 100644 --- a/themes/gamerdonkey-theme/static/css/style.css +++ b/themes/gamerdonkey-theme/static/css/style.css @@ -1,19 +1,32 @@ body { - background: black; - color: lightgray; - border: solid 1px lightgray; + background: #090909; + color: ghostwhite; margin: 1em auto; max-width: 50em; padding: 0em 1em 1em 1em; font-family: Futura, "Trebuchet MS", Arial, sans-serif; } +h1, h2, h3, h4, h5, h6 { + color: snow; + content: '~ '; +} + +.entry-content h1:before, +.entry-content h2:before, +.entry-content h3:before, +.entry-content h4:before, +.entry-content h5:before, +.entry-content h6:before { + content: '~ ' +} + a { - color: white; + color: darkorange; } ul { - list-style-type: "* "; + list-style-type: "-> "; } header#banner { @@ -28,6 +41,7 @@ nav#menu { nav#menu ul { list-style: none; + padding-left: 0; } nav#menu ul li { @@ -42,12 +56,18 @@ nav#menu ul li:last-child::after { content: ''; } +section#content { + border: 2px double ghostwhite; + padding: 0em 1em 1em 1em; +} + img { max-width: 100%; height: auto; } footer#contentinfo { + margin-top: 0.5em; font-size: 0.7em; text-align: center; } diff --git a/themes/gamerdonkey-theme/templates/page.html b/themes/gamerdonkey-theme/templates/page.html index c7658fb..3427fec 100644 --- a/themes/gamerdonkey-theme/templates/page.html +++ b/themes/gamerdonkey-theme/templates/page.html @@ -1,8 +1,10 @@ {% extends "!simple/page.html" %} {% block content %} +
{% import 'translations.html' as translations with context %} {{ translations.translations_for(page) }} {{ page.content }} +
{% endblock %} -- cgit v1.2.3