summaryrefslogtreecommitdiffstats
path: root/src/components/molecules/nav/breadcrumb.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-04-11 22:56:43 +0200
committerArmand Philippot <git@armandphilippot.com>2022-04-11 22:56:43 +0200
commit714273556f5278746a4022d0e87153ff431a61cf (patch)
treed87f8df0d04abb66acba1079b0d55732ae5d3f8f /src/components/molecules/nav/breadcrumb.module.scss
parent62f06c40a4eac6d11f1a93f3b49dfe6c48ce16f8 (diff)
chore: add a Breadcrumb component
Diffstat (limited to 'src/components/molecules/nav/breadcrumb.module.scss')
-rw-r--r--src/components/molecules/nav/breadcrumb.module.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/components/molecules/nav/breadcrumb.module.scss b/src/components/molecules/nav/breadcrumb.module.scss
new file mode 100644
index 0000000..c26f60a
--- /dev/null
+++ b/src/components/molecules/nav/breadcrumb.module.scss
@@ -0,0 +1,19 @@
+@use "@styles/abstracts/placeholders";
+
+.list {
+ @extend %reset-ordered-list;
+
+ display: flex;
+ flex-flow: row wrap;
+ align-items: center;
+ gap: var(--spacing-2xs);
+}
+
+.item {
+ &:not(:last-of-type) {
+ &::after {
+ content: ">";
+ margin-left: var(--spacing-2xs);
+ }
+ }
+}