From b5e2c4b9a7aab20db6dd6072a01abd114e8e55de Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 13 May 2024 20:57:54 +0100 Subject: Fudged in the header in base and the wasp! --- pyblackbird_cc/static/css/wrapper.css | 15 +-- pyblackbird_cc/static/images/favicons/wasp.png | Bin 0 -> 2241 bytes pyblackbird_cc/templates/base.html | 129 ++++++++++++------------- 3 files changed, 71 insertions(+), 73 deletions(-) create mode 100644 pyblackbird_cc/static/images/favicons/wasp.png (limited to 'pyblackbird_cc') diff --git a/pyblackbird_cc/static/css/wrapper.css b/pyblackbird_cc/static/css/wrapper.css index c98d927..f84b87e 100644 --- a/pyblackbird_cc/static/css/wrapper.css +++ b/pyblackbird_cc/static/css/wrapper.css @@ -9,6 +9,14 @@ padding: 0; } +header { + padding-left: 10px; + max-width: fit-content; + margin-left: auto; + margin-right: auto; + margin-top: 50px; +} + @font-face { font-family: 'Franklin'; src: url(../fonts/LibreFranklin-VariableFont_wght.ttf); @@ -155,13 +163,6 @@ a.no-underline:hover { text-decoration: none; } -header { - padding-left: 10px; - max-width: fit-content; - margin-left: auto; - margin-right: auto; - margin-top: 50px; -} .inner-header { display: grid; diff --git a/pyblackbird_cc/static/images/favicons/wasp.png b/pyblackbird_cc/static/images/favicons/wasp.png new file mode 100644 index 0000000..6c2fec0 Binary files /dev/null and b/pyblackbird_cc/static/images/favicons/wasp.png differ diff --git a/pyblackbird_cc/templates/base.html b/pyblackbird_cc/templates/base.html index 7c6f1b6..1eb9966 100644 --- a/pyblackbird_cc/templates/base.html +++ b/pyblackbird_cc/templates/base.html @@ -8,23 +8,25 @@ {% block title %} - pyblackbird-cc + Joanna Lemon Resources {% endblock title %} - + + {% block extra_css %} + {% endblock extra_css %} {% block css %} - + {# #} - + {% endblock css %} + {% endblock javascript %} - - {% block body %} -
- +
-
+ +
+ {% block body %} {% if messages %} {% for message in messages %}
@@ -103,24 +91,33 @@ {% endfor %} {% endif %} {% block main %} - {% block content %} -

Use this document as a way to quick start any new project.

- {% endblock content %} +
+ {% block content %} + {% endblock content %} +
{% endblock main %} -
- {% endblock body %} + {% endblock body %} +
{% block modal %} {% endblock modal %} {% block inline_javascript %} {% comment %} - Script tags with only code, no src (defer by default). To run - with a "defer" so that you run inline code: - + Script tags with only code, no src (defer by default). To run + with a "defer" so that you run inline code: + {% endcomment %} {% endblock inline_javascript %} -- cgit v1.2.3