From a365cbec827ad44e196c62558272e723e3a3b564 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Tue, 23 Dec 2025 17:39:29 +0100 Subject: comic page, other than buttons, finished --- comic/assets/css/comic.css | 26 +++++++++++++++++++++++++- comic/assets/images/banner_placeholder.png | Bin 0 -> 13661 bytes comic/templates/comic_feed.xml.j2 | 24 ++++++++++++++++++++++++ comic/templates/issue.html.j2 | 10 ++++++++-- 4 files changed, 57 insertions(+), 3 deletions(-) create mode 100644 comic/assets/images/banner_placeholder.png create mode 100644 comic/templates/comic_feed.xml.j2 (limited to 'comic') diff --git a/comic/assets/css/comic.css b/comic/assets/css/comic.css index f571a16..9449cab 100644 --- a/comic/assets/css/comic.css +++ b/comic/assets/css/comic.css @@ -21,6 +21,20 @@ main, footer { margin-top: 0.5rem; } +footer { + padding-top: 1rem !important; + padding-bottom: 1rem !important;; +} + +hr { + width: 30%; + color: #e9d3ff; +} + +img.banner { + width: 100%; +} + img.comic { width: 100%; border: 0.1rem solid black; @@ -31,6 +45,16 @@ p { margin: 0.2rem; } +a { + color: #801396; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + p.description { - margin-top: 3rem; + margin-top: 2rem; + margin-bottom: 2rem; } \ No newline at end of file diff --git a/comic/assets/images/banner_placeholder.png b/comic/assets/images/banner_placeholder.png new file mode 100644 index 0000000..64bff87 Binary files /dev/null and b/comic/assets/images/banner_placeholder.png differ diff --git a/comic/templates/comic_feed.xml.j2 b/comic/templates/comic_feed.xml.j2 new file mode 100644 index 0000000..eeb177d --- /dev/null +++ b/comic/templates/comic_feed.xml.j2 @@ -0,0 +1,24 @@ + + + + {{ comic.comic_name }} + https://comic.wazul.moe/feed.xml + Silly comic ideas by Wazul + en + {{ build_date }} + {% for issue in issues %} + + {{ issue.title() }} + {{ issue.get_link() }} + + <img src="{{ issue.get_link() }}/comic.png"/> + <br> + <p>{{ issue.description() }}</p> + + {{ issue.get_link() }} + contact@wazul.moe + {{ issue.get_publish_time_rfc2822() }} + + {% endfor %} + + \ No newline at end of file diff --git a/comic/templates/issue.html.j2 b/comic/templates/issue.html.j2 index 7eca898..70b4745 100644 --- a/comic/templates/issue.html.j2 +++ b/comic/templates/issue.html.j2 @@ -14,12 +14,12 @@
- +

{{ issue.title() }}

- + comic

{{ issue.description() }}

@@ -27,6 +27,12 @@
-- cgit v1.2.3-70-g09d2