{post.metadata.title}
{post.metadata.description}
@@ -45,7 +45,7 @@ color: var(--text); max-width: 18em; font-size: var(--h3); - font-weight: 300; + font-weight: 400; } .post:first-child { @@ -56,7 +56,7 @@ .post:first-child h2 { font-size: 4rem; - font-weight: 600; + font-weight: 400; color: var(--second); } @@ -65,7 +65,7 @@ content: 'Latest post • ' attr(data-pubdate); color: var(--flash); font-size: var(--h6); - font-weight: 600; + font-weight: 400; letter-spacing: .05em; text-transform: uppercase; } diff --git a/site/src/routes/docs/_GuideContents.svelte b/site/src/routes/docs/_GuideContents.svelte index 7b200052eb..3d93869cf0 100644 --- a/site/src/routes/docs/_GuideContents.svelte +++ b/site/src/routes/docs/_GuideContents.svelte @@ -50,6 +50,9 @@ position: relative; opacity: 0.75; transition: opacity 0.2s; + border-bottom: none; + padding: 0; + color: white; } .section { diff --git a/site/src/routes/docs/index.svelte b/site/src/routes/docs/index.svelte index f635690dd5..07cd1fa191 100644 --- a/site/src/routes/docs/index.svelte +++ b/site/src/routes/docs/index.svelte @@ -367,7 +367,7 @@ -
diff --git a/site/src/routes/examples/_TableOfContents.svelte b/site/src/routes/examples/_TableOfContents.svelte
index 0e591659b2..a3e8b23216 100644
--- a/site/src/routes/examples/_TableOfContents.svelte
+++ b/site/src/routes/examples/_TableOfContents.svelte
@@ -33,38 +33,6 @@
});
-
- {#each sections as section}
- -
-
- {section.title}
-
-
- {#each section.examples as example}
-
-
-
-
-
- {example.title}
-
-
- {#if example.slug === active_section}
-
- {/if}
-
-
- {/each}
-
- {/each}
-
-
+
+
+ {#each sections as section}
+ -
+
+ {section.title}
+
+
+ {#each section.examples as example}
+
+
+
+
+
+ {example.title}
+
+
+ {#if example.slug === active_section}
+
+ {/if}
+
+
+ {/each}
+
+ {/each}
+
diff --git a/site/src/routes/index.svelte b/site/src/routes/index.svelte
index 04ca5ebcb3..3b2447c222 100644
--- a/site/src/routes/index.svelte
+++ b/site/src/routes/index.svelte
@@ -72,6 +72,10 @@
width: 100%;
}
+ .example a {
+ color: inherit;
+ }
+
.example > p {
margin: 4.4rem 2.4rem 2.4rem 0;
}
@@ -155,7 +159,7 @@
-
+
Svelte components are built on top of HTML. Just add data.
@@ -168,7 +172,7 @@
-
+
CSS is component-scoped by default — no more style collisions or specificity wars. Or you can use your favourite CSS-in-JS library.
@@ -181,7 +185,7 @@
-
+
Trigger efficient, granular updates by assigning to local variables. The compiler does the rest.
@@ -194,7 +198,7 @@
-
+
Build beautiful UIs with a powerful, performant transition engine built right into the framework.
@@ -217,7 +221,7 @@
Contributors
- Svelte is free and open source software, made possible by the work of dozens of volunteers. Join us!
+ Svelte is free and open source software, made possible by the work of dozens of volunteers. Join us!
{#each contributors as contributor, i}
-
+
diff --git a/site/src/routes/tutorial/[slug]/index.svelte b/site/src/routes/tutorial/[slug]/index.svelte
index d61af3ebce..5b2c2a6398 100644
--- a/site/src/routes/tutorial/[slug]/index.svelte
+++ b/site/src/routes/tutorial/[slug]/index.svelte
@@ -173,7 +173,7 @@
}
.chapter-markup :global(a) {
- text-decoration: underline;
+ color: white;
}
.chapter-markup :global(ul) {
@@ -227,12 +227,16 @@
}
a.next {
- text-decoration: none;
+ /* border-bottom: none; */
+ padding-right: 1.2em;
+ background: no-repeat 100% 50% url(/icons/arrow-right.svg);
+ background-size: 1em 1em;
margin-left: auto;
}
a.next:hover {
- text-decoration: underline;
+ /* border-bottom: 2px solid currentColor; */
+ /* text-decoration: underline; */
}
.improve-chapter {
@@ -244,6 +248,9 @@
font-size: 14px;
text-decoration: none;
opacity: .3;
+ padding-left: 1.2em;
+ background: no-repeat 0 50% url(/icons/edit.svg);
+ background-size: 1em 1em;
}
.improve-chapter a:hover {
@@ -281,12 +288,12 @@
{/if}
{#if selected.next}
- Next
+ Next
{/if}
Svelte components are built on top of HTML. Just add data.
CSS is component-scoped by default — no more style collisions or specificity wars. Or you can use your favourite CSS-in-JS library.
Trigger efficient, granular updates by assigning to local variables. The compiler does the rest.
Build beautiful UIs with a powerful, performant transition engine built right into the framework.
Contributors
-Svelte is free and open source software, made possible by the work of dozens of volunteers. Join us!
+Svelte is free and open source software, made possible by the work of dozens of volunteers. Join us!
{#each contributors as contributor, i}