46 lines
840 B
CSS
46 lines
840 B
CSS
/* @bchen/ui — breadcrumb navigation
|
|
* Uses only tokens defined in dist/tokens.css.
|
|
* Companion to dist/tokens.css and dist/base.css. */
|
|
|
|
.breadcrumb {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 0.25rem;
|
|
padding: 0.75rem 2rem 0;
|
|
font-size: 13px;
|
|
color: var(--fg-muted);
|
|
}
|
|
|
|
.breadcrumb a {
|
|
color: var(--fg-muted);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.breadcrumb a:hover {
|
|
color: var(--fg);
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|
|
|
|
.breadcrumb a:focus-visible {
|
|
color: var(--fg);
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 2px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.breadcrumb [aria-current="page"] {
|
|
color: var(--fg);
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
cursor: default;
|
|
}
|
|
|
|
.breadcrumb-sep {
|
|
color: var(--fg-muted);
|
|
user-select: none;
|
|
font-size: 11px;
|
|
opacity: 0.6;
|
|
}
|