From e9369df81b0230e6aaae956f89356da412797e12 Mon Sep 17 00:00:00 2001 From: CasVT Date: Thu, 22 Jun 2023 14:01:11 +0200 Subject: [PATCH] Added logo to UI and docs --- docs/{stylesheets => assets/css}/extra.css | 0 docs/assets/img/favicon.svg | 30 ++++++++++++++++++++++ frontend/static/css/general.css | 5 ++-- frontend/static/img/favicon.svg | 30 ++++++++++++++++++++++ frontend/templates/login.html | 4 ++- frontend/templates/page_not_found.html | 4 ++- frontend/templates/reminders.html | 4 ++- mkdocs.yml | 10 ++++---- 8 files changed, 77 insertions(+), 10 deletions(-) rename docs/{stylesheets => assets/css}/extra.css (100%) create mode 100644 docs/assets/img/favicon.svg create mode 100644 frontend/static/img/favicon.svg diff --git a/docs/stylesheets/extra.css b/docs/assets/css/extra.css similarity index 100% rename from docs/stylesheets/extra.css rename to docs/assets/css/extra.css diff --git a/docs/assets/img/favicon.svg b/docs/assets/img/favicon.svg new file mode 100644 index 0000000..878a5d5 --- /dev/null +++ b/docs/assets/img/favicon.svg @@ -0,0 +1,30 @@ + + + + White + + + + Off-white + + + + Gray + + + + Dark gray + + + + + + + + + + + M + + + \ No newline at end of file diff --git a/frontend/static/css/general.css b/frontend/static/css/general.css index 2aaa5ef..d63c3c0 100644 --- a/frontend/static/css/general.css +++ b/frontend/static/css/general.css @@ -155,8 +155,9 @@ header > div { width: var(--height); } -h1 { - font-size: clamp(1.3rem, 7vw, 2rem); +header img { + height: 3rem; + width: fit-content; } /* */ diff --git a/frontend/static/img/favicon.svg b/frontend/static/img/favicon.svg new file mode 100644 index 0000000..878a5d5 --- /dev/null +++ b/frontend/static/img/favicon.svg @@ -0,0 +1,30 @@ + + + + White + + + + Off-white + + + + Gray + + + + Dark gray + + + + + + + + + + + M + + + \ No newline at end of file diff --git a/frontend/templates/login.html b/frontend/templates/login.html index 02e93f0..5639ab8 100644 --- a/frontend/templates/login.html +++ b/frontend/templates/login.html @@ -6,6 +6,8 @@ + + @@ -14,7 +16,7 @@
-

MIND Reminders

+
diff --git a/frontend/templates/page_not_found.html b/frontend/templates/page_not_found.html index 1d7b929..5f47268 100644 --- a/frontend/templates/page_not_found.html +++ b/frontend/templates/page_not_found.html @@ -5,6 +5,8 @@ + + @@ -12,7 +14,7 @@
-

MIND Reminders

+

MIND

diff --git a/frontend/templates/reminders.html b/frontend/templates/reminders.html index 75f614b..84f002a 100644 --- a/frontend/templates/reminders.html +++ b/frontend/templates/reminders.html @@ -6,6 +6,8 @@ + + @@ -33,7 +35,7 @@ -

MIND Reminders

+