From c4053a52db01bd18db8b167970656b769e1a1d5b Mon Sep 17 00:00:00 2001 From: Jeff MacKinnon Date: Wed, 22 Jun 2022 10:42:20 -0300 Subject: [PATCH] General changes --- static/css/pelican.css | 50 +++++++++++++++++++++++++++++++----------- templates/article.html | 5 ++--- templates/index.html | 14 +++++++----- templates/sidebar.html | 2 +- 4 files changed, 49 insertions(+), 22 deletions(-) diff --git a/static/css/pelican.css b/static/css/pelican.css index 5ef6d0c..d98b7f2 100644 --- a/static/css/pelican.css +++ b/static/css/pelican.css @@ -25,10 +25,10 @@ ol { .post st-link { text-decoration: none; } + + /************************************************/ - - -/* main */ +/* main */ .tmpl-library .photo_gallery { border: 1px solid var(--base-dark); @@ -39,6 +39,7 @@ ol { /************************************************/ /* This is the stuff for my reading library */ + .wip { width: 150px; opacity: 75%; @@ -52,8 +53,6 @@ ol { opacity: 75%; filter: grayscale(100%); } -/************************************************/ - /************************************************/ @@ -62,7 +61,6 @@ ol { /* "sourced" aka copied from - https://www.pagemelt.ink/published/ */ /* I have probably made enough changes that is it now "inspired by", but where is that lie really? */ - .tmpl-library { margin: 0 auto; overflow-x: hidden; @@ -77,9 +75,10 @@ ol { width: 100%; border: 1px; } - -/* photos */ + +/************************************************/ +/* photos */ .photo { display: flex; @@ -153,13 +152,13 @@ transform: scale(2); box-shadow: 0 0 10px rgba(0,0,0,.5); } + /************************************************/ +/* Article/Entry Info */ - -/* Article/Entry Info */ #entry-info { margin: 0 0 2em 0; - border-bottom: solid 5px #f56a6a; + border-bottom: solid 5px var(--style-colour); padding: 1em 0 0 0; position: relative; } @@ -167,12 +166,37 @@ VB .pentry { margin: 0 0 0 0; } -/************************************************/ -/* Special Classes */ + +/************************************************/ +/* Special Classes */ .share { margin: 1em 0 1em 0; } + /************************************************/ +/* Post Series Styling */ + +.post-series p { + color: var(--header-colour); + font-family: "Roboto Slab", serif; + font-weight: 700; + font-size: 1.5em; + text-decoration: underline; + margin-top: 1em; + margin-bottom: -0.5em; +} + +.parts { + display: block; + list-style-type: decimal; + margin-top: 1em; + margin-bottom: 2em; + margin-left: 0; + margin-right: 0; + padding-left: 40px; +} + +/************************************************/ \ No newline at end of file diff --git a/templates/article.html b/templates/article.html index 502fa80..3f860f4 100644 --- a/templates/article.html +++ b/templates/article.html @@ -57,7 +57,7 @@

{{ article.title }}

{% if article.photo_image %} - + {% endif %} @@ -100,8 +100,7 @@ {% endif %} {% if article.series %} -
-

+

This post is part {{ article.series.index }} of the "{{ article.series.name }}" series:

    {% for part_article in article.series.all %} diff --git a/templates/index.html b/templates/index.html index ade0ec8..2144537 100644 --- a/templates/index.html +++ b/templates/index.html @@ -12,20 +12,24 @@ {% if article.photo_image %} {% endif %} -
    + {% if (article.category != MICROBLOG ) %} + +
    --> + +
    {{ article.summary }}
    {% if article.category %} - {% endif %} + {% endif %} - + {% endif %} + {% endfor %}
diff --git a/templates/sidebar.html b/templates/sidebar.html index 828bf99..31c5bd3 100644 --- a/templates/sidebar.html +++ b/templates/sidebar.html @@ -142,7 +142,7 @@