From 14da5b8bd538ca2d1a66e83fc45a74e98ae16ba5 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 26 Apr 2023 17:42:17 +0200 Subject: [PATCH] add rss link --- static/css/blog/index.css | 27 ++++++++++++++++++++++++++- templates/blog/index.html | 3 +++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/static/css/blog/index.css b/static/css/blog/index.css index 31cc8ac..25f5e44 100644 --- a/static/css/blog/index.css +++ b/static/css/blog/index.css @@ -46,6 +46,7 @@ h1 { color: var(--font-color); text-transform: uppercase; letter-spacing: 0.3cap; + margin-bottom: 0; } h2, @@ -79,7 +80,6 @@ a:hover { .timeline { box-sizing: border-box; - width: 800px; color: var(--font-color); padding: 30px 20px; display: flex; @@ -151,6 +151,31 @@ a:hover { box-shadow: 0px 0px 10px 2px var(--point-hover); } +nav { + display: flex; + justify-content: center; +} + +#rss { + text-transform: lowercase; + color: var(--font-color); + text-decoration: none; +} + +hr { + border: 0; + margin: 0; + height: 1px; + background: var(--line); + margin: 2rem auto; + width: 20%; +} + +#rss:hover { + color: var(--title-color); + text-decoration: underline; +} + @media only screen and (max-width: 300px) { .timeline { padding: 30px 5px 30px 10px; diff --git a/templates/blog/index.html b/templates/blog/index.html index f246164..dc9396a 100644 --- a/templates/blog/index.html +++ b/templates/blog/index.html @@ -8,6 +8,9 @@ {{#data}}

Blog

+ +
+ {{#no_posts}}

Aucun posts

{{/no_posts}} {{^no_posts}}