/* Copyright 2024 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. */ /* inspired by pkg.go.dev's typography.css */ body { 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; } p { font-size: 1rem; line-height: 1.5rem; max-width: 60rem; } strong { font-weight: 600; } code, pre, textarea.code { font-family: Consolas, 'Liberation Mono', Menlo, monospace; font-size: 0.875rem; line-height: 1.5em; } pre, textarea.code { background-color: #eee; border: 3px; border-radius: 3px; color: black; overflow-x: auto; padding: 0.625rem; tab-size: 4; white-space: pre; } button, input, select, textarea { font: inherit; } a, a:link, a:visited { color: rgb(0, 125, 156); text-decoration: none; } a:hover, a:focus { color: rgb(0, 125, 156); text-decoration: underline; } a:hover > * { text-decoration: underline; } #disconnected { position: fixed; top: 1em; left: 1em; display: none; /* initially */ background-color: white; border: thick solid red; padding: 2em; }