From 7ec51393d3790ab72157662ab07831330439f0e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Sun, 11 Dec 2022 21:48:57 +0100 Subject: [PATCH] Remove style attribute and use .css file instead --- discord_rss_bot/static/styles.css | 12 ++++++++++++ discord_rss_bot/templates/base.html | 3 ++- discord_rss_bot/templates/feed.html | 12 ++++++------ discord_rss_bot/templates/index.html | 2 +- discord_rss_bot/templates/nav.html | 2 +- discord_rss_bot/templates/search.html | 4 ++-- 6 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 discord_rss_bot/static/styles.css diff --git a/discord_rss_bot/static/styles.css b/discord_rss_bot/static/styles.css new file mode 100644 index 0000000..392b04a --- /dev/null +++ b/discord_rss_bot/static/styles.css @@ -0,0 +1,12 @@ +body { + background: #111111; +} + +.summary { + max-height: 450px; + overflow-y: auto +} + +.border { + background: #161616; +} \ No newline at end of file diff --git a/discord_rss_bot/templates/base.html b/discord_rss_bot/templates/base.html index abbe713..030ae10 100644 --- a/discord_rss_bot/templates/base.html +++ b/discord_rss_bot/templates/base.html @@ -6,10 +6,11 @@ + discord-rss-bot{% block title %}{% endblock %} {% block head %}{% endblock %} - + {% include "nav.html" %}
diff --git a/discord_rss_bot/templates/feed.html b/discord_rss_bot/templates/feed.html index d167584..d460487 100644 --- a/discord_rss_bot/templates/feed.html +++ b/discord_rss_bot/templates/feed.html @@ -1,14 +1,14 @@ {% extends "base.html" %} {% block title %} | {{ feed.title }}{% endblock %} {% block content %} -