From bb21ff8e9b9333eeab1867751012107a2ff11652 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Fri, 2 Sep 2022 00:44:42 -0400 Subject: [PATCH] Add a few more things. 'Return to home' to download page. Javascript filter mockup. GitLab link on NavBar. Misc visual improvements. --- src/app.css | 31 ++++++- src/lib/header/NavBar.svelte | 18 +++- src/routes/+page.svelte | 140 +++++++++++++++++++++++-------- src/routes/download/+page.svelte | 3 + 4 files changed, 153 insertions(+), 39 deletions(-) diff --git a/src/app.css b/src/app.css index 7b128f2..8af9d56 100644 --- a/src/app.css +++ b/src/app.css @@ -47,7 +47,6 @@ select option { } button { - padding: 0.4em 1.0em; border-radius: 5px; border-style: solid; background-color: white; @@ -55,6 +54,8 @@ button { width: auto;; transition: 100ms linear; font-weight: 600; + padding: 0.5em 2em; + font-size: 100%; } button:hover { @@ -113,6 +114,12 @@ button.danger:hover { border-color: black; } +.button-container { + margin-top: 2em; + text-align: center; +} + + .collapsed-hint { width: 100%; text-align: right; @@ -165,7 +172,7 @@ h1 { font-weight: normal; font-family: serif; color: black; - font-size: 3rem; + font-size: 4rem; } h1 .fun { @@ -226,6 +233,26 @@ button:focus:not(:focus-visible) { outline: none; } +.pulse { + animation: pulse 2s infinite; +} + +.white-glow:hover { + filter: drop-shadow(0px 0px 2px #ffffff); +} + +@keyframes pulse { + 0% { + opacity: 1; + } + 50% { + opacity: 0.8; + } + 100% { + opacity: 1; + } +} + @media (min-width: 720px) { h1 { font-size: 5rem; diff --git a/src/lib/header/NavBar.svelte b/src/lib/header/NavBar.svelte index 8c19a45..7dec3c9 100644 --- a/src/lib/header/NavBar.svelte +++ b/src/lib/header/NavBar.svelte @@ -8,6 +8,9 @@ diff --git a/src/routes/download/+page.svelte b/src/routes/download/+page.svelte index 8e22415..40a2b4a 100644 --- a/src/routes/download/+page.svelte +++ b/src/routes/download/+page.svelte @@ -4,6 +4,9 @@

Thank you for your interest!

Kafka Dance is not yet available for download

However, a demo version is available online.

+
+ +