some styling + headline refactoring
This commit is contained in:
15
src/lib/components/headline.svelte
Normal file
15
src/lib/components/headline.svelte
Normal file
@ -0,0 +1,15 @@
|
||||
<header>
|
||||
<h1><slot /></h1>
|
||||
</header>
|
||||
|
||||
<style>
|
||||
h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: var(--color-dark);
|
||||
color: var(--color-light);
|
||||
padding: 0.5em 1em;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user