diff options
| author | Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> | 2024-01-19 09:33:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-19 09:33:11 +0000 |
| commit | 7140956da0820d4b818119eff7dfc72345f3328e (patch) | |
| tree | 503e1129a999fe834d2a7b98a4e82bf07264f49f /scss/modules/_nav.md.scss | |
| parent | a4f3cb02befe658594c076144be2e5200f36682a (diff) | |
| parent | 83c3460191a2089b56b091a7f4e09f39ac636e1e (diff) | |
Merge pull request #65 from joeacarstairs/deployment-staging
Update production
Diffstat (limited to 'scss/modules/_nav.md.scss')
| -rw-r--r-- | scss/modules/_nav.md.scss | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/scss/modules/_nav.md.scss b/scss/modules/_nav.md.scss new file mode 100644 index 0000000..7f0f784 --- /dev/null +++ b/scss/modules/_nav.md.scss @@ -0,0 +1,26 @@ +.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__switch-language-link { + margin-inline-end: calc(var(--grid-column-width) + var(--grid-gutter-width)); +} + |
