From 3105d5844c75b43ccfa9da70e0204ccc82351db4 Mon Sep 17 00:00:00 2001 From: af-n <733093@gmail.com> Date: Wed, 20 Jul 2022 20:22:57 -0400 Subject: [PATCH] button shenanigans, download selector almost done --- src/lib/components/atoms/Button.svelte | 6 +- .../components/atoms/DownloadChannel.svelte | 4 +- .../components/atoms/DownloadSelector.svelte | 70 ++++++++----------- src/lib/components/atoms/Navigation.svelte | 4 +- .../molecules/DownloadChannelHost.svelte | 8 +-- .../molecules/DownloadSelectorHost.svelte | 21 +++--- .../organisms/IndexDescription.svelte | 6 +- src/routes/__layout.svelte | 21 +++++- 8 files changed, 79 insertions(+), 61 deletions(-) diff --git a/src/lib/components/atoms/Button.svelte b/src/lib/components/atoms/Button.svelte index 67dc98e..acb71b2 100644 --- a/src/lib/components/atoms/Button.svelte +++ b/src/lib/components/atoms/Button.svelte @@ -2,10 +2,12 @@ export let kind = 'secondary'; $: type = 'button-' + kind; export let href = '#'; + export let fontsize = '1.2rem'; + - @@ -25,10 +27,8 @@ padding: 12px 40px; cursor: pointer; background-color: transparent; - font-size: 1.5rem; margin-top: 45px; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); - margin-right: 20px; user-select: none; } diff --git a/src/lib/components/atoms/DownloadChannel.svelte b/src/lib/components/atoms/DownloadChannel.svelte index b5c733f..000c97e 100644 --- a/src/lib/components/atoms/DownloadChannel.svelte +++ b/src/lib/components/atoms/DownloadChannel.svelte @@ -22,8 +22,8 @@ button { font-weight: 300; - font-size: 1.5rem; - height: 60px; + font-size: 1.4rem; + height: 55px; width: 100%; color: var(--white); border-radius: 200px; diff --git a/src/lib/components/atoms/DownloadSelector.svelte b/src/lib/components/atoms/DownloadSelector.svelte index 47d7920..6e7f30e 100644 --- a/src/lib/components/atoms/DownloadSelector.svelte +++ b/src/lib/components/atoms/DownloadSelector.svelte @@ -3,26 +3,17 @@