@import './theme.scss'; ::selection { background: var(--color-yellow-100); color: var(--color-black); } html, body { box-sizing: border-box; display: flex; flex-direction: column; min-height: 100vh; } body[data-is-mobile-open='true'] { overflow-y: hidden; } *, *:before, *:after { box-sizing: inherit; } html { font-size: 16px; font-weight: normal; font-kerning: normal; font-family: var(--font-family-base); background: var(--background-body-color); } body { margin: 0; padding: 0; color: var(--font-color); background: var(--background-body-color); } .container { max-width: var(--content-width); margin: 0 auto; padding: 0 var(--content-padding); } .list-links { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; } .btn-link { cursor: pointer; display: inline-flex; align-items: center; column-gap: 5px; padding: 3px 10px; background-color: var(--background-btn-link); border-radius: var(--border-radius-md); border: 1px solid var(--border-color); text-decoration: none; color: var(--font-color); font-size: var(--font-size-sm); font-weight: 400; white-space: nowrap; user-select: none; &:hover { text-decoration: none; color: inherit; border-color: var(--border-color-hover); } &[data-active='true'] { background-color: var(--background-btn-link-active); border-color: var(--border-color-hover); } } li::marker { color: var(--color-blue-500); font-size: 1.3rem; line-height: var(--line-height-none); } p { margin-top: 0; margin-bottom: 1.5rem; } hr { background-color: var(--border-color); margin: 40px 0; border: none; height: 1px; } h1, h2, h3, h4, h5 { margin-top: 0; margin-bottom: 1.5rem; } input, textarea { -webkit-appearance: none; font-family: var(--font-family-base); padding: 8px 15px; border: none; border-radius: var(--border-radius-md); background-color: var(--background-inputs-color); font-size: var(--font-size-sm); width: 100%; resize: vertical; border: 1px solid var(--border-color); outline-color: var(--color-blue-500); } button { cursor: pointer; font-family: var(--font-family-base); font-weight: 500; font-size: var(--font-size-md); color: var(--font-color); padding: 4px 16px; border: 1px solid var(--border-color); border-radius: var(--border-radius-md); background: none; font-size: var(--font-size-sm); &:hover { border: 1px solid var(--border-color-hover); } } textarea { max-height: 500px; min-height: 200px; } blockquote { margin: 1.5rem 0; font-style: italic; border-left: 0.25rem solid var(--border-color); padding-left: 1rem; } :not(pre) > code { -webkit-font-smoothing: subpixel-antialiased; background: var(--background-inline-code); border-radius: var(--border-radius-lg); font-size: 1rem; font-weight: 500; padding: 0.2rem 0.3rem; } pre { font-size: var(--font-size-sm); border-radius: var(--border-radius-md); } a { color: var(--color-blue-400); font-weight: 500; text-decoration: none; &:hover { text-decoration: underline; color: var(--color-blue-400); } } // pre[class*=language-]:before { // color: #232129; // font-size: .75rem; // font-family: SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace; // letter-spacing: .075em; // line-height: 1; // position: absolute; // left: 1.5rem; // text-align: right; // text-transform: uppercase; // top: 0; // border-radius: 0 0 4px 4px; // padding: 0.25rem 0.5rem; // } // pre[class*=language-typescript]:before { // content: "ts"; // background: #007acc; // color: #eee; // }