diff options
| author | gamerdonkey | 2020-05-23 14:54:52 -0500 |
|---|---|---|
| committer | gamerdonkey | 2020-05-23 14:54:52 -0500 |
| commit | 2c8262fc9348ab1a11604d0f5a4cb9410f093399 (patch) | |
| tree | 37c970341a90de8fc27780b9dbfffa6b9c2cd023 | |
| parent | 4e43e209f777b71465558ab809179a1bdf1c17de (diff) | |
| download | gamerdonkey.com-blog-2c8262fc9348ab1a11604d0f5a4cb9410f093399.tar.gz gamerdonkey.com-blog-2c8262fc9348ab1a11604d0f5a4cb9410f093399.tar.bz2 gamerdonkey.com-blog-2c8262fc9348ab1a11604d0f5a4cb9410f093399.zip | |
Created a basic theme based on the site I was making.
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | themes/gamerdonkey-theme/static/css/style.css | 49 | ||||
| -rw-r--r-- | themes/gamerdonkey-theme/templates/base.html | 6 |
3 files changed, 56 insertions, 0 deletions
@@ -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() }} + <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/style.css" /> +{% endblock %} |
