diff --git a/packages/site-kit/src/lib/branding/svelte.svg b/packages/site-kit/src/lib/branding/svelte.svg
new file mode 100644
index 0000000000..1788877c0f
--- /dev/null
+++ b/packages/site-kit/src/lib/branding/svelte.svg
@@ -0,0 +1 @@
+
diff --git a/packages/site-kit/src/lib/nav/Nav.svelte b/packages/site-kit/src/lib/nav/Nav.svelte
index 16fe00353c..b3cb289233 100644
--- a/packages/site-kit/src/lib/nav/Nav.svelte
+++ b/packages/site-kit/src/lib/nav/Nav.svelte
@@ -69,13 +69,11 @@ Top navigation bar for the application. It provides a slot for the left side, th
style:z-index={$overlay_open && ($searching || $on_this_page_open) ? 80 : null}
aria-label="Primary"
>
-
- svelte
-
+
{#if title}
- | {title}
+ {title}
{/if}
@@ -167,6 +165,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
font-size: 0.8em;
color: var(--sk-text-3);
margin-left: 0.4em;
+ padding: 0.1rem 0 0 0;
}
@media (max-width: 800px) {
@@ -184,7 +183,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
.menu :global(a) {
color: var(--sk-text-2);
line-height: 1;
- padding: 0 0.3em;
+ padding: 0.1rem 0.5rem 0 0.5rem;
white-space: nowrap;
height: 100%;
display: flex;
@@ -202,31 +201,12 @@ Top navigation bar for the application. It provides a slot for the left side, th
}
.home-link {
- max-width: max-content;
+ --padding-right: 1rem;
+ width: 13rem;
height: 100%;
- display: flex;
- background-image: url(../branding/svelte-logo.svg);
- background-position: calc(var(--sk-page-padding-side) - 1rem) 50%;
- background-repeat: no-repeat;
- background-size: auto 70%;
- align-items: center;
- padding-left: calc(var(--sk-page-padding-side) + 4rem);
- padding-right: 2rem;
- text-decoration: none;
- text-transform: uppercase;
- letter-spacing: 0.05em;
- font-size: 1.8rem;
- color: var(--sk-text-4);
-
- strong {
- position: relative;
- color: var(--sk-text-1);
- font-weight: inherit;
-
- @media (min-width: 800px) {
- top: 1px;
- }
- }
+ background: url(../branding/svelte.svg) no-repeat var(--sk-page-padding-side) 50% /
+ calc(100% - var(--sk-page-padding-side) - var(--padding-right)) auto;
+ padding: 0 var(--padding-right) 0 calc(var(--sk-page-padding-side) + 0rem);
}
.mobile-menu {
@@ -306,6 +286,11 @@ Top navigation bar for the application. It provides a slot for the left side, th
}
@media (min-width: 800px) {
+ .home-link {
+ --padding-right: 2rem;
+ width: 18rem;
+ }
+
nav {
display: grid;
grid-template-columns: auto 1fr 1fr;