2024-11-19 01:46:59 -03:00
|
|
|
<script>
|
|
|
|
import NavBar from '$lib/components/nav-bar.svelte'
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div class='content'>
|
|
|
|
<NavBar />
|
|
|
|
|
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
:root {
|
|
|
|
--border-color: #3b3b3b;
|
|
|
|
--font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
|
|
|
|
--navbar-height: 3em;
|
2024-12-01 00:23:21 -03:00
|
|
|
--shade-color: #ccc;
|
2024-11-19 01:46:59 -03:00
|
|
|
--theme-background: white;
|
2024-11-24 01:23:54 -03:00
|
|
|
--theme-color: #444;
|
2024-11-19 01:46:59 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
text-align: center;
|
|
|
|
margin: auto;
|
|
|
|
height: calc(100vh - 6em);
|
2024-11-24 01:23:54 -03:00
|
|
|
max-width: 60em;
|
2024-11-19 01:46:59 -03:00
|
|
|
overflow: clip;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
:global(body) {
|
|
|
|
margin: 0;
|
|
|
|
font-family: var(--font-family);
|
|
|
|
font-weight: 400;
|
|
|
|
background: var(--theme-background);
|
|
|
|
color: var(--theme-color);
|
|
|
|
overflow: clip;
|
|
|
|
}
|
|
|
|
|
2024-11-24 01:23:54 -03:00
|
|
|
:global(button) {
|
2024-11-19 01:46:59 -03:00
|
|
|
margin: 1em;
|
|
|
|
width: 10em;
|
|
|
|
height: 3em;
|
|
|
|
font-family: var(--font-family-text);
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 16px;
|
|
|
|
color: var(--button-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
:global(button:hover) {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
:global(button:disabled) {
|
|
|
|
background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));
|
|
|
|
color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));
|
|
|
|
border-color: light-dark(rgba(118, 118, 118, 0.3), rgba(195, 195, 195, 0.3));
|
|
|
|
}
|
2024-12-01 00:23:21 -03:00
|
|
|
|
|
|
|
:global(input) {
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-weight: 400;
|
|
|
|
padding: 0 1em;
|
|
|
|
height: 3em;
|
|
|
|
border: none;
|
|
|
|
border-radius: 2px;
|
|
|
|
outline: solid thin var(--border-color);
|
|
|
|
}
|
2024-11-19 01:46:59 -03:00
|
|
|
</style>
|