From 997fa352ffc90de537b95dafeb179da19d9c5c22 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sat, 27 Dec 2025 19:24:45 +0100 Subject: added icon to rss feed link on comic --- comic/assets/css/comic.css | 23 ++++++++++++++++++++++- comic/assets/image/banner_placeholder.png | Bin 0 -> 13661 bytes comic/assets/image/rss.svg | 1 + comic/assets/images/banner_placeholder.png | Bin 13661 -> 0 bytes comic/templates/issue.html.j2 | 7 +++++-- 5 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 comic/assets/image/banner_placeholder.png create mode 100644 comic/assets/image/rss.svg delete mode 100644 comic/assets/images/banner_placeholder.png diff --git a/comic/assets/css/comic.css b/comic/assets/css/comic.css index a828323..1811c3f 100644 --- a/comic/assets/css/comic.css +++ b/comic/assets/css/comic.css @@ -61,6 +61,26 @@ ul.navigation li a:hover { text-decoration: none; } +.icon-text { + display: flex; + flex-flow: row; + align-items: center; + margin-top: 0.2rem; + margin-bottom: 0.2rem; +} + +.icon-text > :first-child { + margin-right: 0.3rem; +} + +.svg-icon { + max-width: 1.5rem; + max-height: 1.5rem; + border: none; + width: 1.5rem; + height: 1.5rem; +} + img.banner { width: 100%; } @@ -71,8 +91,9 @@ img.comic { } p { - text-align: center; + font-size: 1rem; margin: 0.2rem; + text-align: center; } a { diff --git a/comic/assets/image/banner_placeholder.png b/comic/assets/image/banner_placeholder.png new file mode 100644 index 0000000..64bff87 Binary files /dev/null and b/comic/assets/image/banner_placeholder.png differ diff --git a/comic/assets/image/rss.svg b/comic/assets/image/rss.svg new file mode 100644 index 0000000..45f911c --- /dev/null +++ b/comic/assets/image/rss.svg @@ -0,0 +1 @@ + diff --git a/comic/assets/images/banner_placeholder.png b/comic/assets/images/banner_placeholder.png deleted file mode 100644 index 64bff87..0000000 Binary files a/comic/assets/images/banner_placeholder.png and /dev/null differ diff --git a/comic/templates/issue.html.j2 b/comic/templates/issue.html.j2 index a25d616..679b778 100644 --- a/comic/templates/issue.html.j2 +++ b/comic/templates/issue.html.j2 @@ -14,7 +14,7 @@
- +
@@ -41,7 +41,10 @@

Image url: {{ url }}/comic.png

{{ issue.get_publish_time() }}


-

RSS feed

+ + + RSS feed +

This comic series is heavily inspired by XKCD


-- cgit v1.2.3-70-g09d2