summaryrefslogtreecommitdiffstats
path: root/assets/sass/@primer/css/breadcrumb/breadcrumb.scss
diff options
context:
space:
mode:
authoramzrk22020-04-13 19:13:39 +0800
committeramzrk22020-04-13 19:13:39 +0800
commit6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad (patch)
treeb13e4c3a49823b602ebb918c899dd4a964c1f445 /assets/sass/@primer/css/breadcrumb/breadcrumb.scss
downloadhugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.tar.gz
hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.tar.bz2
hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.zip
Initial commit
Diffstat (limited to 'assets/sass/@primer/css/breadcrumb/breadcrumb.scss')
-rw-r--r--assets/sass/@primer/css/breadcrumb/breadcrumb.scss28
1 files changed, 28 insertions, 0 deletions
diff --git a/assets/sass/@primer/css/breadcrumb/breadcrumb.scss b/assets/sass/@primer/css/breadcrumb/breadcrumb.scss
new file mode 100644
index 0000000..bba7709
--- /dev/null
+++ b/assets/sass/@primer/css/breadcrumb/breadcrumb.scss
@@ -0,0 +1,28 @@
+.breadcrumb-item {
+ display: inline-block;
+ // stylelint-disable-next-line primer/spacing
+ margin-left: -0.35em;
+ white-space: nowrap;
+ list-style: none;
+
+ &::after {
+ padding-right: $em-spacer-5;
+ padding-left: $em-spacer-5;
+ // stylelint-disable-next-line primer/colors
+ color: $border-gray;
+ content: "/";
+ }
+
+ &:first-child {
+ margin-left: 0;
+ }
+}
+
+.breadcrumb-item-selected,
+.breadcrumb-item[aria-current] {
+ color: $text-gray;
+
+ &::after {
+ content: none;
+ }
+}