Add global layout
This commit is contained in:
parent
26e6f3ba79
commit
a19b5cc8ef
|
@ -1,6 +1,6 @@
|
||||||
body {
|
body {
|
||||||
background-color:#004284;
|
background-color:#004284;
|
||||||
background-image:url("%sveltekit.assets%/img/jellyfish-portrait-l.webp");
|
background-image:url("/img/jellyfish-portrait-l.webp");
|
||||||
background-attachment:fixed;
|
background-attachment:fixed;
|
||||||
background-repeat:no-repeat;
|
background-repeat:no-repeat;
|
||||||
background-position:left top;
|
background-position:left top;
|
|
@ -6,7 +6,6 @@
|
||||||
<meta name="description" content="The gateway to FJLA services"/>
|
<meta name="description" content="The gateway to FJLA services"/>
|
||||||
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<link rel="style" href="/main.css">
|
|
||||||
%sveltekit.head%
|
%sveltekit.head%
|
||||||
</head>
|
</head>
|
||||||
<body data-sveltekit-preload-data="hover">
|
<body data-sveltekit-preload-data="hover">
|
||||||
|
|
|
@ -12,6 +12,6 @@
|
||||||
height: 5px;
|
height: 5px;
|
||||||
width: 5px;
|
width: 5px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background-color: yellow;
|
background-color: grey;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
background-color: rgba(64,64,64,0.6);
|
background-color: rgba(64,64,64,0.6);
|
||||||
margin: 10px 10px;
|
margin: 10px 10px;
|
||||||
padding: 10px 10px;
|
padding: 10px 10px;
|
||||||
width: 90%;
|
min-width: 200px;
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -0,0 +1,5 @@
|
||||||
|
<script>
|
||||||
|
import '../app.css'
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<slot />
|
|
@ -13,6 +13,21 @@ import type { BoxContent } from "$lib/types/boxContent";
|
||||||
]
|
]
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<header>FJLA Gateway</header>
|
||||||
|
|
||||||
|
|
||||||
{#each boxes as boxData}
|
{#each boxes as boxData}
|
||||||
<ItemBox {boxData} />
|
<ItemBox {boxData} />
|
||||||
{/each}
|
{/each}
|
||||||
|
|
||||||
|
<style>
|
||||||
|
header {
|
||||||
|
margin: auto;
|
||||||
|
color: white;
|
||||||
|
font-size: xx-large;
|
||||||
|
text-align: center;
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in New Issue