summaryrefslogtreecommitdiff
path: root/scss/modules/nav.md.scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss/modules/nav.md.scss')
-rw-r--r--scss/modules/nav.md.scss29
1 files changed, 22 insertions, 7 deletions
diff --git a/scss/modules/nav.md.scss b/scss/modules/nav.md.scss
index c3f4a18..7f0f784 100644
--- a/scss/modules/nav.md.scss
+++ b/scss/modules/nav.md.scss
@@ -1,11 +1,26 @@
-.nav__nav-links li:nth-child(3) {
- grid-column: 5 / 8;
+.nav__nav-links li {
+ &:nth-child(1) {
+ grid-column: 1 / 3;
+ }
+
+ &:nth-child(2) {
+ grid-column: 3 / 5;
+ }
+
+ &:nth-child(3) {
+ grid-column: 5 / 8;
+ }
+
+ &:nth-child(4) {
+ grid-column: 1 / 3;
+ }
+
+ &:nth-child(5) {
+ grid-column: 3 / 5;
+ }
}
-.nav__nav-links li:nth-child(4) {
- grid-column: 1 / 3;
+.nav__switch-language-link {
+ margin-inline-end: calc(var(--grid-column-width) + var(--grid-gutter-width));
}
-.nav__nav-links li:nth-child(5) {
- grid-column: 3 / 5;
-} \ No newline at end of file