From 8f97640709ac4cc5c23b0e7ca131f7f8cd040cf9 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sun, 25 Sep 2022 14:27:16 -0600 Subject: [PATCH] Layout changes --- themes/theme/templates/about.html | 93 ----------------------------- themes/theme/templates/article.html | 10 +--- themes/theme/templates/base.html | 5 -- themes/theme/templates/style.css | 45 ++++---------- 4 files changed, 13 insertions(+), 140 deletions(-) delete mode 100644 themes/theme/templates/about.html diff --git a/themes/theme/templates/about.html b/themes/theme/templates/about.html deleted file mode 100644 index 3df99a6..0000000 --- a/themes/theme/templates/about.html +++ /dev/null @@ -1,93 +0,0 @@ -{% extends "base.html" %} - -{% block head %} - {{ super() }} - - - -{% endblock %} - -{% block info %} - - - - me smiling wide and looking into the camera lit up brightly - - -
-

Tanner Collin

-

- email - telegram - github -

-
-{% endblock %} - -{% block content %} -
-

- Hi, I'm Tanner! I like home automation, sensors, privacy, bots, Python, Debian, coffee, and makerspaces. -

- -

Contact Info

- -

- Email: site4@tannercollin.com
- Telegram: @tannercollin -

- -

Resume

- - - -

Projects

- -

- My main hobby is working on software projects. I typically design websites or - build tools that make my life easier. -

- - {% for article in articles_page.object_list if article.category.name == 'Projects' %} -

{{ article.title }}

-
- {{ article.summary }} -
- {% endfor %} - -

- standardnotes-fs -

-
-

A filesystem that mounts your Standard Notes account as a directory of text files that you can edit.

-
- -

Creations

- -

Sometimes I create art or interactive tech.

- - {% for article in articles_page.object_list if article.category.name == 'Creations' %} -

{{ article.title }}

-
- {{ article.summary }} -
- {% endfor %} - -

Writing

- -

Various articles, mostly about computers.

- - {% for article in articles_page.object_list if article.category.name == 'Writing' %} -

{{ article.title }}

-
- {{ article.summary }} -
- {% endfor %} -
-{% endblock %} diff --git a/themes/theme/templates/article.html b/themes/theme/templates/article.html index 73ecd7c..0d45296 100644 --- a/themes/theme/templates/article.html +++ b/themes/theme/templates/article.html @@ -24,17 +24,9 @@ {% endblock %} -{% block info %} -

Return Home

-{% endblock %} - {% block content %} - {% if article.wide %} -
- {% else %}
- {% endif %} - +

Return Home

{{ article.title }}

diff --git a/themes/theme/templates/base.html b/themes/theme/templates/base.html index dbbb15a..ff263ea 100644 --- a/themes/theme/templates/base.html +++ b/themes/theme/templates/base.html @@ -21,11 +21,6 @@
-
- {% block info %} - {% endblock %} -
- {% block content %} {% endblock %}
diff --git a/themes/theme/templates/style.css b/themes/theme/templates/style.css index 0f67d53..7d78713 100644 --- a/themes/theme/templates/style.css +++ b/themes/theme/templates/style.css @@ -24,7 +24,7 @@ } .index h3 { - font: 1.1rem/1.5 serif; + font: 1.2rem/1.5 serif; } .source { @@ -44,7 +44,7 @@ } .container { - max-width: 56rem; + max-width: 42rem; margin: 1rem auto 12rem auto; } @@ -79,16 +79,8 @@ margin-left: 1.5rem; } - .content { - max-width: 36rem; - } - - .content-wide { - max-width: none; - } - .content p { - font: 1.1rem/1.5 serif; + font: 1.2rem/1.5 serif; } .content ul { @@ -96,13 +88,15 @@ } .content li { - font: 1.1rem/1.5 serif; + font: 1.2rem/1.5 serif; } .content img:not(.floated) { width: 100%; max-width: 36rem; height: auto; + display: block; + margin: 0 auto; } .content .floated { @@ -118,19 +112,7 @@ border-bottom: none; } - @media screen and (min-width:36rem) { - .content { - margin-left: 10rem; - } - - .bar { - margin-top: 2px; - float: left; - width: 8rem; - text-align: right; - white-space: nowrap; - } - + @media screen and (min-width:62rem) { .content .aside { display: inline; float: left; @@ -141,13 +123,6 @@ } } - @media screen and (max-width:36rem) { - .bar { - overflow: auto; - margin-bottom: -1rem; - } - } - body { background-color: #fff; @@ -164,7 +139,11 @@ border-bottom: 1px solid #555; } - a.return-home:visited, a.toclink:visited, .toc a:visited { + .return-home { + margin-bottom: 2rem; + } + + .return-home a:visited, a.toclink:visited, .toc a:visited { color: inherit; border-bottom: inherit; }