summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgamerdonkey2020-05-23 14:54:52 -0500
committergamerdonkey2020-05-23 14:54:52 -0500
commit2c8262fc9348ab1a11604d0f5a4cb9410f093399 (patch)
tree37c970341a90de8fc27780b9dbfffa6b9c2cd023
parent4e43e209f777b71465558ab809179a1bdf1c17de (diff)
downloadgamerdonkey.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--.gitignore1
-rw-r--r--themes/gamerdonkey-theme/static/css/style.css49
-rw-r--r--themes/gamerdonkey-theme/templates/base.html6
3 files changed, 56 insertions, 0 deletions
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() }}
+ <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/style.css" />
+{% endblock %}