aboutsummaryrefslogtreecommitdiff
path: root/crumbs
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2018-01-23 00:03:39 +0100
committerKatharina Fey <kookie@spacekookie.de>2018-01-23 00:03:39 +0100
commit4465f6f6e25eb8921b282298651b4bcf468d8d3a (patch)
tree031359301e30498ff590c58c588e20a0e9d9e1b4 /crumbs
parent89defc8520f306590e848d817131123a12c1ca54 (diff)
Adding static page support. Adding legal page. Using markdown parsing for front page
Diffstat (limited to 'crumbs')
-rw-r--r--crumbs/static/css/cr_title.css4
-rw-r--r--crumbs/static/css/crumbs.css7
-rwxr-xr-xcrumbs/templates/home.html16
-rw-r--r--crumbs/templates/page.html11
4 files changed, 23 insertions, 15 deletions
diff --git a/crumbs/static/css/cr_title.css b/crumbs/static/css/cr_title.css
index 4489f41..1e3cfff 100644
--- a/crumbs/static/css/cr_title.css
+++ b/crumbs/static/css/cr_title.css
@@ -54,6 +54,10 @@ a, a:visited a:hover, a:active, a:link {
#email:hover {
color: #99cb9b;
}
+#legal:hover {
+ color: #e7d853;
+ animation: .45s jump infinite linear;
+}
.icons {
padding-top: 25px;
diff --git a/crumbs/static/css/crumbs.css b/crumbs/static/css/crumbs.css
index d625cad..6ef05fb 100644
--- a/crumbs/static/css/crumbs.css
+++ b/crumbs/static/css/crumbs.css
@@ -19,6 +19,7 @@ body {
a {
color: #ce7b59;
+ outline: 0;
}
a:hover {
@@ -48,6 +49,12 @@ h1.normal {
padding-top: 50px;
}
+.footer {
+ border-top: 1px solid #BEBEBE;
+ margin-top: 15px;
+}
+
+
.container {
display: flex;
flex-direction: column;
diff --git a/crumbs/templates/home.html b/crumbs/templates/home.html
index ef11073..0f3774c 100755
--- a/crumbs/templates/home.html
+++ b/crumbs/templates/home.html
@@ -12,19 +12,5 @@
{% with title_type='title' %} {% include "components/title_text.html" %} {% endwith %}
{% include "components/super_gay.html" %}
- <p>
- <strong>Hi – </strong>Welcome to my dusty internet hangout place.
- </p>
- <p>
- My name is <strong>Katharina Fey</strong> and I'm a software developer from Berlin.
- I like taking photos, writing stories and starting way too many personal projects.
- </p>
-
- <div class="icons">
- <a href="https://twitter.com/spacekookie"><h1 id="twitter"><i class="fa fa-twitter"></i> Twitter</h1></a>
- <a href="https://github.com/spacekookie"><h1 id="github"><i class="fa fa-github"></i> Github</h1></a>
- <a href="https://spacekookie.de/kookie.txt"><h1 id="keys"><i class="fa fa-key"></i> Keys</h1></a>
- </div>
-
- <p>To get in touch with me, you can also send an e-mail to <a href="mailto:kookie@spacekookie.de" id="email"><b>kookie@spacekookie.de</b></a></p>
+ {{ page.content }}
{% endblock %}
diff --git a/crumbs/templates/page.html b/crumbs/templates/page.html
new file mode 100644
index 0000000..2312a15
--- /dev/null
+++ b/crumbs/templates/page.html
@@ -0,0 +1,11 @@
+{% extends "normal.html" %}
+
+{% block title %}{{ page.title }} {% endblock title %}
+
+{% block content %}
+<div class="card">
+ <div class="card-content">
+ {{ page.content }}
+ </div>
+</div>
+{% endblock %}