API redesign, better styling for the blog page

This commit is contained in:
ngn
2024-07-24 01:15:37 +03:00
parent 51b9214a5c
commit 6400f1fa95
16 changed files with 622 additions and 558 deletions

View File

@ -1,9 +1,12 @@
<script></script>
<script>
export let subtitle = ""
</script>
<header>
<h1>
<slot></slot>
</h1>
<h4><c>{subtitle}</c></h4>
</header>
<style>
@ -20,9 +23,19 @@ h1 {
font-weight: 900;
font-size: 5.5vw;
padding: 120px;
padding-bottom: 0;
text-align: center;
color: white;
text-shadow: var(--text-shadow);
text-size-adjust: 80%;
}
h4 {
padding-bottom: 120px;
font-weight: 600;
font-size: 2.2vw;
text-align: center;
color: white;
text-size-adjust: 80%;
}
</style>