From fa96896fe35accac9044375b6891ed72a4964e57 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 4 Oct 2022 00:55:41 -0600 Subject: [PATCH] Logo + branding --- content/.obsidian/workspace | 14 ++--- logo/logo-path-export.svg | 94 +++++++++++++++++++++++++++++ logo/logo-path.svg | 94 +++++++++++++++++++++++++++++ logo/logo.svg | 69 +++++++++++++++++++++ pelicanconf.py | 4 -- publishconf.py | 4 -- themes/theme/templates/article.html | 3 +- themes/theme/templates/base.html | 23 ++++++- themes/theme/templates/index.html | 4 +- themes/theme/templates/style.css | 13 ++++ 10 files changed, 300 insertions(+), 22 deletions(-) create mode 100644 logo/logo-path-export.svg create mode 100644 logo/logo-path.svg create mode 100644 logo/logo.svg diff --git a/content/.obsidian/workspace b/content/.obsidian/workspace index 11ab4ea..faa49f3 100644 --- a/content/.obsidian/workspace +++ b/content/.obsidian/workspace @@ -9,7 +9,7 @@ "state": { "type": "markdown", "state": { - "file": "Hydroponics.md", + "file": "Fake Dog.md", "mode": "source", "source": false } @@ -69,7 +69,7 @@ "state": { "type": "backlink", "state": { - "file": "Hydroponics.md", + "file": "Fake Dog.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -86,7 +86,7 @@ "state": { "type": "outline", "state": { - "file": "Hydroponics.md" + "file": "Fake Dog.md" } } } @@ -99,14 +99,14 @@ }, "active": "160122bd13ae4b72", "lastOpenFiles": [ - "Hydroponics Aphid War.md", + "Backup Strategy.md", + "About.md", + "Acoustic Panels.md", "Hydroponics.md", + "Hydroponics Aphid War.md", "Hand of Ozymandias.md", "Garage Door Opener.md", "Bypassing Ports.md", - "Backup Strategy.md", - "Acoustic Panels.md", - "About.md", "Plant Waterer.md", "Linux Flavour.md" ] diff --git a/logo/logo-path-export.svg b/logo/logo-path-export.svg new file mode 100644 index 0000000..38c6c0f --- /dev/null +++ b/logo/logo-path-export.svg @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/logo/logo-path.svg b/logo/logo-path.svg new file mode 100644 index 0000000..65ed171 --- /dev/null +++ b/logo/logo-path.svg @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/logo/logo.svg b/logo/logo.svg new file mode 100644 index 0000000..0da6309 --- /dev/null +++ b/logo/logo.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + tanner + + diff --git a/pelicanconf.py b/pelicanconf.py index 95fa482..85292c9 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -2,10 +2,6 @@ # -*- coding: utf-8 -*- # from __future__ import unicode_literals -AUTHOR = 'Tanner Collin' -SITENAME = 'Tanner Collin' -SITEURL = '' - PATH = 'content' TIMEZONE = 'Canada/Mountain' diff --git a/publishconf.py b/publishconf.py index a17a0f7..304521f 100644 --- a/publishconf.py +++ b/publishconf.py @@ -2,10 +2,6 @@ # -*- coding: utf-8 -*- # from __future__ import unicode_literals -AUTHOR = 'Tanner Collin' -SITENAME = 'Tanner Collin' -SITEURL = '' - PATH = 'content' TIMEZONE = 'Canada/Mountain' diff --git a/themes/theme/templates/article.html b/themes/theme/templates/article.html index 0d45296..0c4df84 100644 --- a/themes/theme/templates/article.html +++ b/themes/theme/templates/article.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}{{ article.title|striptags }} | {{ SITENAME }}{% endblock %} +{% block title %}{{ article.title|striptags }} | Tanner's Site{% endblock %} {% block head %} {{ super() }} @@ -26,7 +26,6 @@ {% block content %}
-

Return Home

{{ article.title }}

diff --git a/themes/theme/templates/base.html b/themes/theme/templates/base.html index ff263ea..0a9d260 100644 --- a/themes/theme/templates/base.html +++ b/themes/theme/templates/base.html @@ -5,8 +5,8 @@ - {% block title %}{{ SITENAME }}{% endblock title %} - + {% block title %}Tanner's Site{% endblock title %} + {% endblock head %} @@ -21,6 +21,23 @@
+ + {% block content %} {% endblock %}
@@ -29,7 +46,7 @@ Webring: < Previous | Index | Next >

diff --git a/themes/theme/templates/index.html b/themes/theme/templates/index.html index 806af97..915c087 100644 --- a/themes/theme/templates/index.html +++ b/themes/theme/templates/index.html @@ -2,8 +2,8 @@ {% block head %} {{ super() }} - - + + {% endblock %} {% block content %} diff --git a/themes/theme/templates/style.css b/themes/theme/templates/style.css index 7d78713..7f79843 100644 --- a/themes/theme/templates/style.css +++ b/themes/theme/templates/style.css @@ -48,6 +48,15 @@ margin: 1rem auto 12rem auto; } + .logo { + width: 8rem; + height: auto; + } + + .container .logo a { + border-bottom: none; + } + .footer { font: 0.9rem/1.5 serif; text-align: center; @@ -196,6 +205,10 @@ color: #aaa; } + .content.index { + margin-top: 0; + } + .content img { filter: brightness(75%); }