Přesunuto na GitHub https://github.com/ksp/kurz
https://ksp.mff.cuni.cz/kurz
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.
30 lines
453 B
30 lines
453 B
4 years ago
|
<script>
|
||
|
export let name;
|
||
|
</script>
|
||
|
|
||
|
<main>
|
||
|
<h1>Hello {name}!</h1>
|
||
|
<p>Visit the <a href="https://svelte.dev/tutorial">Svelte tutorial</a> to learn how to build Svelte apps.</p>
|
||
|
</main>
|
||
|
|
||
|
<style>
|
||
|
main {
|
||
|
text-align: center;
|
||
|
padding: 1em;
|
||
|
max-width: 240px;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
color: #ff3e00;
|
||
|
text-transform: uppercase;
|
||
|
font-size: 4em;
|
||
|
font-weight: 100;
|
||
|
}
|
||
|
|
||
|
@media (min-width: 640px) {
|
||
|
main {
|
||
|
max-width: none;
|
||
|
}
|
||
|
}
|
||
|
</style>
|