blob: bae102c99cc7e096462880cab614c25b27c54ef7 [file] [log] [blame]
/*!
* Copyright 2021 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.
*/
body {
color: var(--color-text);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji';
font-size: 1rem;
line-height: normal;
}
h1 {
font-size: 1.5rem;
line-height: 1.75rem;
}
h2 {
font-size: 1.375rem;
line-height: 1.5rem;
}
h3 {
font-size: 1.25rem;
line-height: 1.375rem;
}
h4 {
font-size: 1.125rem;
line-height: 1.25rem;
}
h5 {
font-size: 1rem;
line-height: 1.125rem;
}
h6 {
font-size: 0.875rem;
line-height: 1.125rem;
}
@media screen and (min-width: 80rem) {
h1 {
font-size: 1.75rem;
line-height: 2rem;
}
h2 {
font-size: 1.5rem;
line-height: 1.75rem;
}
h3 {
font-size: 1.375rem;
line-height: 1.625rem;
}
h4 {
font-size: 1.125rem;
line-height: 1.375rem;
}
h5 {
font-size: 1rem;
line-height: 1.25rem;
}
}
h1,
h2,
h3,
h4 {
font-weight: 600;
word-break: break-word;
}
h5,
h6 {
font-weight: 500;
word-break: break-word;
}
hr {
border: none;
border-bottom: var(--border);
margin: 0;
width: 100%;
}
p {
font-size: 1rem;
line-height: 1.5rem;
max-width: 60rem;
}
strong {
font-weight: 600;
}
.go-textSubtle {
color: var(--color-text-subtle);
}
.go-textTitle {
font-size: 1.125rem;
font-weight: 600;
line-height: 1.25rem;
}
.go-textLabel {
font-size: 0.875rem;
font-weight: 600;
line-height: 1rem;
}
.go-textPagination {
font-size: 0.875rem;
line-height: 1rem;
}
code,
pre,
textarea.code {
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
font-size: 0.875rem;
line-height: 1.5em;
}
pre,
textarea.code {
background-color: var(--color-background-accented);
border: var(--border);
border-radius: var(--border-radius);
color: var(--color-text);
overflow-x: auto;
padding: 0.625rem;
tab-size: 4;
white-space: pre;
}
button,
input,
select,
textarea {
font: inherit;
}
a,
a:link,
a:visited {
color: var(--color-brand-primary);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}