tweak layout a bit

pull/1901/head
Rich Harris 6 years ago
parent d4c6539908
commit 2d0d9cad17

@ -11,8 +11,6 @@
<Nav segment={child.segment} />
{/if}
{@debug path}
<main>
<svelte:component this={child.component} {...child.props} />
</main>
@ -21,7 +19,7 @@
main {
position: relative;
margin: 0 auto;
padding: var(--nav-h) 0 0 0;
padding: var(--nav-h) var(--side-nav) 0 var(--side-nav);
overflow-x: hidden;
}
</style>

@ -8,7 +8,8 @@
<style>
.container {
position: relative;
margin: 10rem var(--side-page);
margin: 10rem auto;
max-width: 120rem;
}
.container ul {
@ -156,7 +157,7 @@
<ul class='grid stretch'>
<li class='box bg-prime white'>
<h2 style='padding:2.4rem 0 0 0'>Write less code</h2>
<p>Write boilerplate-free components using languages you already know — HTML, CSS and JavaScript</p>
<p>Build boilerplate-free components using languages you already know — HTML, CSS and JavaScript</p>
<a href="TODO-blog-post-on-loc">learn more</a>
</li>

Loading…
Cancel
Save