diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-12 16:28:25 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-12 16:29:01 +0200 |
| commit | 4a6f3dbde9adaa671e622215654a1dd9b329610d (patch) | |
| tree | e83a1db16d6071b2fc5bd86236da28522be94ef7 /src/components/molecules/nav/nav.module.scss | |
| parent | 27ff3104aabed240470d351bda02095d8169501f (diff) | |
chore: add a Nav component
Diffstat (limited to 'src/components/molecules/nav/nav.module.scss')
| -rw-r--r-- | src/components/molecules/nav/nav.module.scss | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/components/molecules/nav/nav.module.scss b/src/components/molecules/nav/nav.module.scss new file mode 100644 index 0000000..9c0f6de --- /dev/null +++ b/src/components/molecules/nav/nav.module.scss @@ -0,0 +1,22 @@ +@use "@styles/abstracts/mixins" as mix; +@use "@styles/abstracts/placeholders"; + +.nav { + &__list { + @extend %reset-list; + + display: flex; + flex-flow: row wrap; + gap: var(--spacing-2xs); + align-items: center; + } + + &--footer & { + &__item:not(:first-child) { + &::before { + content: "\2022"; + margin-right: var(--spacing-2xs); + } + } + } +} |
