From b1c4ed512419798d876e05fe77ef94401db32935 Mon Sep 17 00:00:00 2001 From: foswret Date: Sun, 22 Mar 2026 18:27:12 -0500 Subject: add tiling background to --- static/bg.webp | Bin 0 -> 6874 bytes static/style.css | 5 +++++ templates/index.html | 4 +--- templates/post-page.html | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 static/bg.webp diff --git a/static/bg.webp b/static/bg.webp new file mode 100644 index 0000000..36ca46a Binary files /dev/null and b/static/bg.webp differ diff --git a/static/style.css b/static/style.css index 73c3565..37e7ab5 100644 --- a/static/style.css +++ b/static/style.css @@ -1,6 +1,8 @@ html { /* overflow-y needed for chromium browsers to not shift */ overflow-y: scroll; + background-image: url("/bg.webp"); + background-repeat: repeat; } nav { @@ -9,7 +11,10 @@ nav { body { /* margin: 0 auto; */ + background-color: white; max-width: 50%; + padding: 2rem; + padding-top: 0.2rem; } img { diff --git a/templates/index.html b/templates/index.html index 795d85a..575141f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,7 +1,5 @@ {% extends "base.html" %} {% block content %} -

- This is a blog made with Zola. -

+{{ section.content | safe }} {% endblock content %} diff --git a/templates/post-page.html b/templates/post-page.html index 5bb6f40..bfb891c 100644 --- a/templates/post-page.html +++ b/templates/post-page.html @@ -6,5 +6,6 @@ {{ page.title }}

{{ page.date }}

+

<-- Back

{{ page.content | safe }} {% endblock content %} -- cgit v1.2.3