summaryrefslogtreecommitdiff
path: root/public/main.css
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-18 19:12:08 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-18 19:12:08 +0100
commit873263efd06201981f9047011079d07dba97745a (patch)
tree772c0ff4d2bac772b098b9343af63acf9b6c54c2 /public/main.css
parent0ca6be1d9ed78a9da7daf685715c6c6cba647df7 (diff)
Reorders navbar items
Diffstat (limited to 'public/main.css')
-rw-r--r--public/main.css56
1 files changed, 26 insertions, 30 deletions
diff --git a/public/main.css b/public/main.css
index 2d08235..c41c9cb 100644
--- a/public/main.css
+++ b/public/main.css
@@ -427,7 +427,7 @@ nav {
padding-inline: var(--spacing-inline-sm);
}
-.nav__top-banner {
+.nav__bottom-row {
display: flex;
flex-direction: column;
align-items: center;
@@ -451,8 +451,31 @@ nav {
margin-block-end: 0;
}
+.nav__logo {
+ text-align: center;
+}
+
+.nav__logo a {
+ text-decoration: none;
+}
+
+.breadcrumbs {
+ display: flex;
+ flex-wrap: wrap;
+}
+
+.breadcrumbs li {
+ margin-inline: var(--spacing-inline-xs);
+ list-style-type: none;
+ min-width: max-content;
+}
+
+.breadcrumbs li::before {
+ content: '/'
+}
+
@media (min-width: 50rem) {
- .nav__top-banner {
+ .nav__bottom-row {
flex-direction: row;
justify-content: space-between;
align-items: baseline;
@@ -472,7 +495,7 @@ nav {
order: 0;
}
- .logo {
+ .nav__logo {
order: 1;
}
@@ -481,33 +504,6 @@ nav {
}
}
-.logo {
- text-align: center;
-}
-
-.logo a {
- text-decoration: none;
-}
-
-.breadcrumbs li {
- list-style-type: none;
- min-width: max-content;
-}
-
-.breadcrumbs li::before {
- content: '/'
-}
-
-@media (min-width: 50rem) {
- .breadcrumbs {
- display: flex;
- }
-
- .breadcrumbs li {
- margin-inline: var(--spacing-inline-xs);
- }
-}
-
.align-end {
display: block;
margin-inline-start: auto;