nicco.io/src/routes/index.svelte

51 lines
727 B
Svelte
Raw Normal View History

2020-07-23 20:30:57 +02:00
<style>
2020-07-23 21:19:25 +02:00
h1,
figure,
p {
text-align: center;
margin: 0 auto;
}
h1 {
font-size: 2.8em;
text-transform: uppercase;
font-weight: 700;
margin: 0 0 0.5em 0;
}
figure {
margin: 0 0 1em 0;
}
img {
width: 100%;
max-width: 400px;
margin: 0 0 1em 0;
}
p {
margin: 1em auto;
}
@media (min-width: 480px) {
h1 {
font-size: 4em;
}
}
2020-07-23 20:30:57 +02:00
</style>
<svelte:head>
2020-07-23 21:19:25 +02:00
<title>Sapper project template</title>
2020-07-23 20:30:57 +02:00
</svelte:head>
2020-07-23 21:19:25 +02:00
<h1>Letse go</h1>
2020-07-23 20:30:57 +02:00
<figure>
2020-07-23 21:19:25 +02:00
<img alt="Success Kid" src="successkid.jpg" />
<figcaption>Have fun with Sapper!</figcaption>
2020-07-23 20:30:57 +02:00
</figure>
2020-07-23 21:19:25 +02:00
<p>
<strong>Try editing this file (src/routes/index.svelte) to test live reloading.</strong>
</p>