Ronbun/ui/css/components/navigations/breadcrumb.css

47 lines
773 B
CSS
Executable file
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.breadcrumb {
top:0;
margin: 0 var(--margin-l);
padding-left: 0;
background-color: var(--background);
z-index: 1;
font-size: var(--base-font-size);
display: inline;
}
.breadcrumb ol {
list-style-type: none;
display: inline-flex;
padding:0;
gap: calc(1ch - 5px);
margin:0;
}
.breadcrumb ol li {
display: inline-flex;
gap: calc(1ch - 5px);
margin:0;
padding:0;
}
.breadcrumb ol li+li:before {
content: "›";
display: block;
position: relative;
}
@media (max-width:550px) {
.breadcrumb ol li {
display: none;
}
.breadcrumb ol li:first-child,
.breadcrumb ol li:last-child {
display: inline-flex;
}
}
[theme="dark"] .breadcrumb {
color:var(--accent);
}