Simple SSG website with company title in svelte #1

Merged
Sveskejuice merged 6 commits from dev into main 2024-02-19 20:30:58 +01:00
1 changed files with 23 additions and 2 deletions
Showing only changes of commit f5bc1db8f1 - Show all commits

View File

@ -1,2 +1,23 @@
<h1>Welcome to SvelteKit</h1>
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
<div class="main-title">
<h1>The Deprived Devs</h1>
</div>
<style>
@font-face {
font-family: 'CozetteVector';
src:
local("CozetteVector"),
url('/fonts/CozetteVector.ttf') format('truetype');
}
.main-title {
font-family: 'CozetteVector';
margin: 0 auto;
width: 80%;
text-align: center;
}
.main-title > h1 {
font-size: 4.5vw; /* Change if title changes */
}
</style>