From 3f4452b8a8e0dbf5c84719a0e86421a22b135efd Mon Sep 17 00:00:00 2001 From: kjj6198 Date: Sun, 22 Nov 2020 02:39:29 +0900 Subject: [PATCH] Added footer and loading --- public/global.css | 4 ++++ src/API.svelte | 10 +++++++-- src/App.svelte | 3 +++ src/Footer.svelte | 37 +++++++++++++++++++++++++++++++ src/Loading.svelte | 55 ++++++++++++++++++++++++++++++++++++++++++++++ src/Section.svelte | 1 + 6 files changed, 108 insertions(+), 2 deletions(-) create mode 100644 src/Footer.svelte create mode 100644 src/Loading.svelte diff --git a/public/global.css b/public/global.css index 65cf746..2401480 100644 --- a/public/global.css +++ b/public/global.css @@ -16,6 +16,10 @@ html { Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; } +p { + line-height: 1.67; +} + *, *:before, *:after { diff --git a/src/API.svelte b/src/API.svelte index 2587627..47afaf4 100644 --- a/src/API.svelte +++ b/src/API.svelte @@ -1,5 +1,7 @@ {#if loaded} - -{:else}loading{/if} +
+ +
+{:else} + +{/if} diff --git a/src/App.svelte b/src/App.svelte index d7c80ea..b615aaa 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,6 +1,7 @@ + + + +
+
+
+
+
+
+
+
diff --git a/src/Section.svelte b/src/Section.svelte index 0ab43c5..80ed877 100644 --- a/src/Section.svelte +++ b/src/Section.svelte @@ -28,6 +28,7 @@ .issue { position: absolute; + z-index: 0; right: 20px; top: 20px; font-size: 4rem;