From 08bf1e8dbbc5ac908c49f48d39d414dcbd01b389 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Tue, 8 Jun 2021 11:13:38 +0200 Subject: [PATCH] Improve app layout --- public/index.css | 15 ++++++++++++++- src/App.svelte | 10 ++++++---- src/Header.svelte | 2 +- src/Modal.svelte | 2 +- src/base/home/Index.svelte | 12 +++++++----- src/base/orgs/Index.svelte | 12 +++++++++--- src/base/orgs/View.svelte | 3 +++ src/base/registrations/Index.svelte | 6 +----- src/base/registrations/View.svelte | 3 +++ src/base/vesting/Index.svelte | 2 +- 10 files changed, 46 insertions(+), 21 deletions(-) diff --git a/public/index.css b/public/index.css index 627d184bc..d8aeb90eb 100644 --- a/public/index.css +++ b/public/index.css @@ -55,14 +55,18 @@ --font-family-monospace: monospace; --border-radius: 50px; --box-shadow-color: var(--color-secondary-2); + --content-max-width: 1920px; + --content-min-width: 480px; } - body { font-size: 16px; font-weight: 400; line-height: 1.5; min-width: 580px; + height: 100%; + margin: 0; + padding: 0; color: white; text-align: left; background-color: var(--color-background); @@ -271,6 +275,15 @@ input.wide { background: var(--color-yellow-background); } +.centered { + height: 100%; + padding-top: 5rem; + padding-bottom: 24vh; + display: flex; + flex-direction: column; + justify-content: center; +} + span.small { font-size: 0.75rem; } diff --git a/src/App.svelte b/src/App.svelte index 8b5858ba6..a28cd282b 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -23,14 +23,16 @@ diff --git a/src/Header.svelte b/src/Header.svelte index 5980cc0ca..c7acb5843 100644 --- a/src/Header.svelte +++ b/src/Header.svelte @@ -25,7 +25,7 @@ justify-content: space-between; align-items: center; margin: 0; - padding: 1rem; + padding: 1.5rem; } header .nav { display: inline-block; diff --git a/src/Modal.svelte b/src/Modal.svelte index 682740d01..e870f6830 100644 --- a/src/Modal.svelte +++ b/src/Modal.svelte @@ -81,7 +81,7 @@ {/if} -
+