/* Sakura.css v1.3.1 * ================ * Minimal css theme. * Project: https://github.com/oxalorg/sakura/ */ :root { --color-force: #3b82f6; --color-blossom: color-mix(in srgb, var(--color-force) 80%, white); --color-fade: var(--color-force); --color-bg: #120c0e; --color-bg-alt: color-mix(in srgb, #1e3a8a 80%, black); --color-text: #d9d8dc; --light-external-icon: url(/assets/light-external.svg); --dark-external-icon: url(/assets/dark-external.svg); --external-icon: var(--light-external-icon); --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; } @media (prefers-color-scheme: dark) { :root { --external-icon: var(--dark-external-icon); } } html { font-size: 62.5%; font-family: var(--font-family-base); scroll-padding-top: 15vh; scrollbar-gutter: stable both-edges; } body { font-size: 1.8rem; line-height: 1.618; } h1, h2, h3, h4, h5, h6 { line-height: 1.1; font-weight: 700; margin-top: 3rem; margin-bottom: 1.5rem; overflow-wrap: break-word; word-wrap: break-word; -ms-word-break: break-all; word-break: break-word; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, a :is(h1, h2, h3, h4, h5, h6) { @apply no-underline; } h1 { font-size: 2.35em; } h2 { font-size: 2em; } h3 { font-size: 1.75em; } h4 { font-size: 1.5em; } h5 { font-size: 1.25em; } h6 { font-size: 1em; } p { margin-top: 0; margin-bottom: 2.5rem; } small, sub, sup { font-size: 75%; } hr { border-color: var(--color-blossom); } a { text-decoration: underline; color: var(--color-blossom); } @media (prefers-color-scheme: light) { a { color: color-mix(in srgb, var(--color-blossom) 65%, black); } } a:hover { color: var(--color-fade); border-bottom: 2px solid var(--color-text); } @media (prefers-color-scheme: light) { a:hover { border-bottom-color: color-mix(in srgb, var(--color-blossom) 75%, black); } } a:visited { color: color-mix(in srgb, var(--color-blossom) 90%, black); border-bottom: 2px solid var(--color-text); text-decoration: double !important; } @media (prefers-color-scheme: light) { a:visited { @apply text-indigo-700 font-bold; border-bottom-color: color-mix(in srgb, var(--color-blossom) 65%, black); } } ul { padding-left: 1.4em; margin-top: 0; margin-bottom: 2.5rem; } li { margin-bottom: 0.4em; } blockquote { margin-left: 0; margin-right: 0; padding: 0.8em 0.8em 0.8em 1em; border-left: 5px solid var(--color-blossom); margin-bottom: 2.5rem; background-color: color-mix(in srgb, var(--color-bg-alt) 76%, white); } blockquote p { margin-bottom: 0; } img, video { height: auto; max-width: 100%; margin-top: 0; margin-bottom: 2.5rem; } pre { display: block; padding-block: 1em; overflow-x: auto; margin-top: 0; } code { font-size: 0.9em; padding: 0 0.5em; white-space: pre-wrap; } pre > code { padding: 0; background-color: transparent; white-space: pre; } table { text-align: justify; width: 100%; border-collapse: collapse; } td, th { padding: 0.5em; border-bottom: 1px solid #313e47; } input, textarea { border: 1px solid var(--color-text); } input:focus, textarea:focus { border: 1px solid var(--color-blossom); } textarea { width: 100%; } .button, button, input[type="submit"], input[type="reset"], input[type="button"] { display: inline-block; padding: 5px 10px; text-align: center; text-decoration: none; white-space: nowrap; background-color: var(--color-blossom); color: var(--color-bg); border-radius: 1px; border: 1px solid var(--color-blossom); cursor: pointer; box-sizing: border-box; } .button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] { cursor: default; opacity: 0.5; } .button:focus:enabled, .button:hover:enabled, button:focus:enabled, button:hover:enabled, input[type="submit"]:focus:enabled, input[type="submit"]:hover:enabled, input[type="reset"]:focus:enabled, input[type="reset"]:hover:enabled, input[type="button"]:focus:enabled, input[type="button"]:hover:enabled { background-color: var(--color-fade); border-color: var(--color-fade); color: var(--color-bg); outline: 0; } textarea, select, input { color: var(--color-text); padding: 6px 10px; margin-bottom: 10px; background-color: var(--color-bg-alt); border: 1px solid var(--color-bg-alt); border-radius: 4px; box-shadow: none; box-sizing: border-box; } textarea:focus, select:focus, input:focus { border: 1px solid var(--color-blossom); outline: 0; } input[type="checkbox"]:focus { outline: 1px dotted var(--color-blossom); } label, legend, fieldset { display: block; margin-bottom: 0.5rem; font-weight: 600; }