website/app/src/lib/header.svelte

29 lines
447 B
Svelte
Raw Normal View History

2023-08-20 00:57:35 +03:00
<script></script>
<header>
<h1>
<slot></slot>
</h1>
</header>
<style>
header {
background:
2023-08-21 08:23:11 +03:00
linear-gradient(rgba(11, 11, 11, 0.808), rgba(1, 1, 1, 0.96)),
2023-11-12 17:43:23 +03:00
url("https://files.ngn.tf/banner.png");
2023-08-20 00:57:35 +03:00
background-size: 50%;
width: 100%;
height: 100%;
}
h1 {
font-weight: 900;
font-size: 5.5vw;
padding: 120px;
text-align: center;
color: white;
text-shadow: var(--text-shadow);
text-size-adjust: 80%;
}
</style>