common.css (912B)
- :root {
- text-rendering: optimizelegibility;
- font-kerning: normal;
- color-scheme: light dark;
- }
- /* <https://github.com/whatwg/html/issues/5426#issuecomment-607286557> */
- @supports (color-scheme: light dark) {
- @media (prefers-color-scheme: dark) {
- a { color: violet; }
- }
- }
- main {
- margin: 0 auto;
- padding: 0 2em;
- max-width: 80em;
- }
- code { font-family: monospace; }
- h1,h2,h3,h4,h5,h6 {
- font-family: sans;
- font-kerning: auto;
- }
- code {
- background: #1f1f1f;
- color: #dcdccc;
- padding: .8pt;
- }
- code .comment { color: #6a830b; }
- pre code { display: table; }
- form.rows {
- display: flex;
- flex-direction: column;
- }
- header {
- display: table;
- margin: 0 auto;
- }
- header pre {
- text-align:center;
- }
- kbd, samp {
- -webkit-user-select: all;
- -webkit-user-select: contain;
- -moz-user-select: all;
- -moz-user-select: contain;
- -ms-user-select: all;
- -ms-user-select: contain;
- user-select: all;
- user-select: contain;
- }