blob: 8dea0ea02beeceb7d58c05ff6fe29afae5e237bc [file] [log] [blame]
/*!
* Copyright 2023 The Go Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
/* Fix tooltip background for dark theme */
svg g[aria-label="tip"] g {
fill: var(--color-background);
}
html {
scroll-padding-top: 4rem;
}
.Breadcrumb {
position: sticky;
top: 0;
z-index: 1000;
}
.Breadcrumb ol {
align-items: center;
border-bottom: var(--border);
display: inline-flex;
gap: 1rem;
list-style: none;
margin-block-start: 0;
margin-block-end: 0;
padding-inline-start: 0;
min-height: 3rem;
width: calc(100% - 2rem);
background-color: var(--color-background);
padding: 0 1rem;
font-size: 0.875rem;
position: fixed;
top: 0;
transition: top 0.1s ease-in 0.1s;
}
.Breadcrumb ol:empty {
top: -3.0625rem;
}
.Breadcrumb li:not(:last-child)::after {
content: ">";
margin-left: 1rem;
}
.Breadcrumb li:last-child a {
color: var(--color-text-subtle);
}