You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
899 B
57 lines
899 B
<script>
|
|
import successkid from "images/successkid.jpg";
|
|
</script>
|
|
|
|
<svelte:head>
|
|
<title>Sapper project template</title>
|
|
</svelte:head>
|
|
|
|
<h1>Great success!</h1>
|
|
|
|
<figure>
|
|
<img alt="Success Kid" src={successkid} />
|
|
<figcaption>Have fun with Sapper!</figcaption>
|
|
</figure>
|
|
|
|
<p>
|
|
<strong>
|
|
Try editing (src/routes/index.svelte) to test live reloading.
|
|
</strong>
|
|
</p>
|
|
|
|
<style>
|
|
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;
|
|
}
|
|
}
|
|
</style>
|