| /*! | |
| * 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; | |
| } | |
| h2 { | |
| font-size: 1.375rem; | |
| } | |
| h3 { | |
| font-size: 1.25rem; | |
| } | |
| h4 { | |
| font-size: 1.125rem; | |
| } | |
| h5 { | |
| font-size: 1rem; | |
| } | |
| h6 { | |
| font-size: 0.875rem; | |
| } | |
| h1, | |
| h2, | |
| h3, | |
| h4 { | |
| font-weight: 600; | |
| line-height: 1.25em; | |
| word-break: break-word; | |
| } | |
| h5, | |
| h6 { | |
| font-weight: 500; | |
| line-height: 1.3em; | |
| 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, | |
| a:focus { | |
| color: var(--color-brand-primary); | |
| text-decoration: underline; | |
| } | |
| a:hover > * { | |
| text-decoration: underline; | |
| } |