Skip to content

Commit 6ea9551

Browse files
committed
Styling
1 parent eaa6ecf commit 6ea9551

File tree

1 file changed

+26
-12
lines changed

1 file changed

+26
-12
lines changed

src/routes/admin/+page.svelte

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,29 @@
3737
});
3838
</script>
3939

40-
{#if error}
41-
<Error pageName="Admin list" errorMSG="Unknown" />
42-
{:else}
43-
<FlexWrapper width="100%" height="100%">
44-
{#if Authenticated}
45-
<LinkButton href="https://account.davidnet.net/admin/">Account Admin</LinkButton>
46-
<LinkButton href="https://kanban.davidnet.net/admin/">Kanban Admin</LinkButton>
47-
{:else}
48-
<Loader />
49-
{/if}
50-
</FlexWrapper>
51-
{/if}
40+
<div id="background">
41+
{#if error}
42+
<Error pageName="Admin list" errorMSG="Unknown" />
43+
{:else}
44+
<FlexWrapper width="100%" height="100%">
45+
{#if Authenticated}
46+
<LinkButton href="https://account.davidnet.net/admin/">Account Admin</LinkButton>
47+
<LinkButton href="https://kanban.davidnet.net/admin/">Kanban Admin</LinkButton>
48+
{:else}
49+
<Loader />
50+
{/if}
51+
</FlexWrapper>
52+
{/if}
53+
</div>
54+
55+
<style>
56+
#background {
57+
background-color: var(--token-color-surface-sunken-normal);
58+
padding: 4rem 5rem;
59+
padding-top: 0rem;
60+
border-radius: 1rem;
61+
width: 300px;
62+
height: 680px;
63+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
64+
}
65+
</style>

0 commit comments

Comments
 (0)