From 8eff8e990e03f16f4b6aa46ccafc295ece27918a Mon Sep 17 00:00:00 2001 From: Alfie King Date: Mon, 19 May 2025 15:23:28 +0100 Subject: [PATCH] add logo --- src/html/templates/base.html | 1 + src/static/content/prismic_logo.svg | 61 +++++++++++++++++++++++++++++ src/static/css/base.css | 21 +++++----- 3 files changed, 74 insertions(+), 9 deletions(-) create mode 100644 src/static/content/prismic_logo.svg diff --git a/src/html/templates/base.html b/src/html/templates/base.html index eb7c2db..c75c653 100644 --- a/src/html/templates/base.html +++ b/src/html/templates/base.html @@ -11,6 +11,7 @@
+

Prismic

ver: 2.0

diff --git a/src/static/content/prismic_logo.svg b/src/static/content/prismic_logo.svg new file mode 100644 index 0000000..4be3f86 --- /dev/null +++ b/src/static/content/prismic_logo.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/static/css/base.css b/src/static/css/base.css index 046eeab..f788e36 100644 --- a/src/static/css/base.css +++ b/src/static/css/base.css @@ -31,8 +31,18 @@ header { header #title { display: flex; - align-items: baseline; - gap: 2px; + align-items: center; + gap: 4px; + background: linear-gradient(90deg, var(--accent), var(--admin)); + background-clip: text; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +#title img { + width: 50px; + height: 50px; + border-radius: 50%; } header h1 { @@ -134,13 +144,6 @@ ul.post-list { color: var(--time); } -#title { - background: linear-gradient(90deg, var(--accent), var(--admin)); - background-clip: text; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; -} - .attachments { display: flex; gap: 10px;