fix terminal (#8748)

Co-authored-by: Rich Harris <git@rich-harris.dev>
pull/8754/head
Rich Harris 1 year ago committed by GitHub
parent e964254f6d
commit 312f94443a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,16 +6,19 @@
<div class="try-container">
<Section --background="var(--background-2)">
<div class="grid" style="--columns: 2">
<div class="try">
<TryTerminal />
</div>
<div class="copy">
<h2>see for yourself</h2>
<div>
Try it locally, <a target="_blank" rel="noreferrer" href="https://sveltekit.new">on StackBlitz</a>, or<br />
with <a target="_blank" href="https://learn.svelte.dev">the interactive tutorial</a>.
Try it locally, <a target="_blank" rel="noreferrer" href="https://sveltekit.new"
>on StackBlitz</a
>, or with
<a target="_blank" href="https://learn.svelte.dev">the interactive tutorial</a>.
</div>
</div>
<div class="try">
<TryTerminal />
</div>
</div>
</Section>
</div>
@ -41,7 +44,7 @@
.grid {
display: grid;
gap: 1em;
gap: 2em;
margin: 0 0 4rem 0;
}
@ -49,13 +52,6 @@
margin-bottom: 0;
}
@media (min-width: 900px) {
.grid {
grid-template-columns: repeat(var(--columns), 1fr);
gap: 7rem;
}
}
.try {
width: 100%;
margin: 0 auto;
@ -64,20 +60,38 @@
}
.copy {
text-align: center;
margin: 0 0 8rem;
text-align: left;
}
h2 {
display: inline-block;
width: 25rem;
margin: 4rem 0 1rem;
margin: 0 0 1rem;
font-size: var(--sk-text-xl);
text-align: justify;
}
a {
color: inherit;
text-decoration: underline;
}
@media (min-width: 900px) {
.grid {
grid-template-columns: repeat(var(--columns), 1fr);
gap: 7rem;
}
.copy {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
order: 2;
}
.copy div {
max-width: 15em;
text-align: center;
}
}
</style>

@ -5,5 +5,9 @@ import adapter from '@sveltejs/adapter-vercel';
export default {
kit: {
adapter: adapter()
},
vitePlugin: {
inspector: true
}
};

Loading…
Cancel
Save