hugo-theme-zzo/assets/sass/components/_breadcrumb.scss

44 lines
853 B
SCSS
Raw Normal View History

2019-11-04 13:09:44 +00:00
.breadcrumb {
margin: 1rem;
padding: 0.5rem;
border-radius: 0.25rem;
padding: auto;
@include truncate($grid_max_width + $grid_max_unit);
2019-11-04 13:09:44 +00:00
@include themify($themes) {
background-color: themed('breadcrumb-background-color');
}
ol {
@include flexbox();
@include align-items(center);
}
li {
display: inline;
2020-01-09 05:25:02 +00:00
font-size: 0.9rem;
2019-11-04 13:09:44 +00:00
a {
@include themify($themes) {
color: themed('breadcrumb-item-color');
@include on-event {
color: themed('link-hover');
}
}
}
&:last-child {
2020-01-09 05:25:02 +00:00
@include themify($themes) {
color: themed('breadcrumb-item-active-color');
}
2019-11-04 13:09:44 +00:00
}
}
li+li:before {
padding: 0.5rem;
content: "/\00a0";
@include themify($themes) {
color: themed('breadcrumb-item-color');
}
}
}