diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 15:48:24 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 15:48:24 +0100 |
| commit | 08dbc1dc92dfa5e6842529775ffcf6f32fc220c8 (patch) | |
| tree | dc4443884335a849c0185f4cb59e532bfab79213 | |
| parent | 8d4b6b2f6a80e7964362b46c2e29434709c98c0b (diff) | |
Smaller Logo
| -rw-r--r-- | public/main.css | 7 | ||||
| -rw-r--r-- | src/components/Navbar.astro | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/public/main.css b/public/main.css index 48aca07..6ca6a44 100644 --- a/public/main.css +++ b/public/main.css @@ -131,6 +131,7 @@ } .title, +.title--small, h1, h2, h3, @@ -340,7 +341,7 @@ footer { margin-inline: auto; } -@media (min-width: 60rem) { +@media (min-width: 50rem) { .back-to-top-link { margin-inline-end: 0; } @@ -437,7 +438,7 @@ nav { padding-inline: var(--spacing-inline-sm); } -@media (min-width: 60rem) { +@media (min-width: 50rem) { nav { flex-direction: row; justify-content: space-between; @@ -476,7 +477,7 @@ nav { content: '/' } -@media (min-width: 60rem) { +@media (min-width: 50rem) { .breadcrumbs { display: flex; } diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 605ba68..d34bfc2 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -15,11 +15,11 @@ const t = translate(locale); --- <nav> - <h1 class="logo"> + <p class="title--small logo"> <a href="/"> {t(tSite, { key: 'scots-leid-associe' })} </a> - </h1> + </p> <SwitchLanguageLink currentLocale={locale} /> <Breadcrumbs /> </nav> |
