From 2c8262fc9348ab1a11604d0f5a4cb9410f093399 Mon Sep 17 00:00:00 2001 From: gamerdonkey Date: Sat, 23 May 2020 14:54:52 -0500 Subject: Created a basic theme based on the site I was making. --- .gitignore | 1 + themes/gamerdonkey-theme/static/css/style.css | 49 +++++++++++++++++++++++++++ themes/gamerdonkey-theme/templates/base.html | 6 ++++ 3 files changed, 56 insertions(+) create mode 100644 themes/gamerdonkey-theme/static/css/style.css create mode 100644 themes/gamerdonkey-theme/templates/base.html diff --git a/.gitignore b/.gitignore index bacca8e..7805c45 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ __pycache__/ output/ +*.swp diff --git a/themes/gamerdonkey-theme/static/css/style.css b/themes/gamerdonkey-theme/static/css/style.css new file mode 100644 index 0000000..5c26248 --- /dev/null +++ b/themes/gamerdonkey-theme/static/css/style.css @@ -0,0 +1,49 @@ +body { + background: black; + color: lightgray; + border: solid 1px lightgray; + margin: 1em auto; + max-width: 40em; + padding: 1em; + font-family: monospace; + font-size: 12pt; +} + +a { + color: white; + font-weight: bold; +} + +ul { + list-style-type: "* "; +} + +header#banner { + display: none; +} + +nav#menu { + width: 100%; + text-align: center; +} + +nav#menu ul { + list-style: none; +} + +nav#menu ul li { + display: inline; +} + +nav#menu ul li::after { + content: ' | '; +} + +nav#menu ul li:last-child::after { + content: ''; +} + +footer#contentinfo { + font-size: 0.7em; + text-align: center; +} diff --git a/themes/gamerdonkey-theme/templates/base.html b/themes/gamerdonkey-theme/templates/base.html new file mode 100644 index 0000000..ad0ae3a --- /dev/null +++ b/themes/gamerdonkey-theme/templates/base.html @@ -0,0 +1,6 @@ +{% extends "!simple/base.html" %} + +{% block head %} +{{ super() }} + +{% endblock %} -- cgit v1.2.3