From 6f7e7291393c814a0ee35a41873a59544e110b41 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Mon, 4 Mar 2024 12:12:00 +0100 Subject: [PATCH] theme: footer: add "there's no AI here" badge :^) Big thanks to https://ko-fi.com/s/4662b19f61 Signed-off-by: Christoph Heiss --- static/no-ai-here.svg | 1 + themes/hacker/assets/scss/main.scss | 11 ++++++++++- themes/hacker/layouts/partials/footer.html | 14 +++++++++++++- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 static/no-ai-here.svg diff --git a/static/no-ai-here.svg b/static/no-ai-here.svg new file mode 100644 index 0000000..8758c79 --- /dev/null +++ b/static/no-ai-here.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/hacker/assets/scss/main.scss b/themes/hacker/assets/scss/main.scss index 0fd4b2c..c7e386c 100644 --- a/themes/hacker/assets/scss/main.scss +++ b/themes/hacker/assets/scss/main.scss @@ -107,7 +107,16 @@ footer { border-top: 1px var(--text); margin-top: 4em; margin-bottom: 2em; - float: right; + line-height: 40px; + + :nth-child(even) { + float: right; + } + + a:hover { + color: unset; + background-color: unset; + } } a { diff --git a/themes/hacker/layouts/partials/footer.html b/themes/hacker/layouts/partials/footer.html index 1d6078c..ca693ba 100644 --- a/themes/hacker/layouts/partials/footer.html +++ b/themes/hacker/layouts/partials/footer.html @@ -1 +1,13 @@ -
made with ☕ and ❤ by christoph heiss
+