diff options
Diffstat (limited to 'scss/modules/nav.sm.scss')
| -rw-r--r-- | scss/modules/nav.sm.scss | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/scss/modules/nav.sm.scss b/scss/modules/nav.sm.scss new file mode 100644 index 0000000..db540bd --- /dev/null +++ b/scss/modules/nav.sm.scss @@ -0,0 +1,38 @@ +.nav__breadcrumbs { + display: flex; + flex-wrap: wrap; + list-style: none; + + li { + display: inline; + min-width: max-content; + + + li::before { + content: '/'; + margin-inline: var(--margin-inline-md); + } + } +} + +.nav__nav-links li { + &:nth-child(1) { + grid-column: 1 / 3; + } + + &:nth-child(2) { + grid-column: 3 / 6; + } + + &:nth-child(3) { + grid-column: 6 / 9; + } + + &:nth-child(4) { + grid-column: 1 / 3; + } + + &:nth-child(5) { + grid-column: 3 / 5; + } +} + |
