/*! * Pico.css v1.0.4 (https://picocss.com) * Copyright 2020 - Licensed under MIT * * Slim version example * You can export only the modules you need */ /** * Theme: default */ [data-theme="light"], :root:not([data-theme="dark"]) { --background: #FFF; --text: #415462; --h1: #1b2832; --h2: #2c3d49; --h3: #415462; --h4: #596b78; --h5: #73828c; --h6: #8a99a3; --primary: #1095c1; --primary-hover: #08769b; --primary-focus: rgba(16, 149, 193, 0.125); --primary-inverse: #FFF; --secondary: #73828c; --secondary-hover: #415462; --secondary-focus: rgba(115, 130, 140, 0.125); --secondary-inverse: #FFF; --contrast: #2c3d49; --contrast-hover: #0d1419; --contrast-focus: rgba(115, 130, 140, 0.125); --contrast-border: rgba(255, 223, 128, 0.5); --contrast-border-h: #ffdf80; --contrast-inverse: #FFF; --input-background: #FFF; --input-border: #c8d1d8; --valid: #288a6a; --invalid: #b94646; --mark: rgba(255, 223, 128, 0.5); --mark-text: #2c3d49; --muted-text: #7e8d98; --muted-background: #edf0f3; --muted-border: #edf0f3; --card-background: #FFF; --card-sections: #f3f5f7; --card-shadow: 0 0.125rem 1rem rgba(27, 40, 50, 0.04), 0 0.125rem 2rem rgba(27, 40, 50, 0.08), 0 0 0 0.0625rem rgba(27, 40, 50, 0.024); --code-background: #f3f5f7; --code-inlined: #edf0f3; --code-color-1: #73828c; --code-color-2: #b34d80; --code-color-3: #3d888f; --code-color-4: #998866; --code-color-5: #96a4ae; --table-border: rgba(237, 240, 243, 0.75); --table-stripping: rgba(115, 130, 140, 0.04); } @media only screen and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --background: #10181e; --text: #a2afb9; --h1: #edf0f3; --h2: #d5dce2; --h3: #bbc6ce; --h4: #a2afb9; --h5: #8a99a3; --h6: #73828c; --primary: #1095c1; --primary-hover: #1ab3e6; --primary-focus: rgba(16, 149, 193, 0.25); --primary-inverse: #FFF; --secondary: #596b78; --secondary-hover: #73828c; --secondary-focus: rgba(89, 107, 120, 0.25); --secondary-inverse: #FFF; --contrast: #d5dce2; --contrast-hover: #FFF; --contrast-focus: rgba(89, 107, 120, 0.25); --contrast-border: rgba(255, 223, 128, 0.33); --contrast-border-h: rgba(255, 223, 128, 0.5); --contrast-inverse: #10181e; --input-background: #10181e; --input-border: #374956; --valid: #1f7a5c; --invalid: #943838; --mark: rgba(255, 223, 128, 0.5); --mark-text: #FFF; --muted-text: #73828c; --muted-background: #10181e; --muted-border: #23333e; --card-background: #17232b; --card-sections: #141d24; --card-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.08), 0 0.125rem 2rem rgba(0, 0, 0, 0.04), 0 0 0 0.0625rem rgba(0, 0, 0, 0.1); --code-background: #141d24; --code-inlined: rgba(65, 84, 98, 0.25); --code-color-1: #73828c; --code-color-2: #a65980; --code-color-3: #599fa6; --code-color-4: #8c8473; --code-color-5: #4d606d; --table-border: #10181e; --table-stripping: rgba(115, 130, 140, 0.02); } } [data-theme="dark"] { --background: #10181e; --text: #a2afb9; --h1: #edf0f3; --h2: #d5dce2; --h3: #bbc6ce; --h4: #a2afb9; --h5: #8a99a3; --h6: #73828c; --primary: #1095c1; --primary-hover: #1ab3e6; --primary-focus: rgba(16, 149, 193, 0.25); --primary-inverse: #FFF; --secondary: #596b78; --secondary-hover: #73828c; --secondary-focus: rgba(89, 107, 120, 0.25); --secondary-inverse: #FFF; --contrast: #d5dce2; --contrast-hover: #FFF; --contrast-focus: rgba(89, 107, 120, 0.25); --contrast-border: rgba(255, 223, 128, 0.33); --contrast-inverse: #10181e; --input-background: #10181e; --input-border: #374956; --valid: #1f7a5c; --invalid: #943838; --mark: rgba(255, 223, 128, 0.5); --mark-text: #FFF; --muted-text: #73828c; --muted-background: #10181e; --muted-border: #23333e; --card-background: #17232b; --card-sections: #141d24; --card-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.08), 0 0.125rem 2rem rgba(0, 0, 0, 0.04), 0 0 0 0.0625rem rgba(0, 0, 0, 0.1); --code-background: #141d24; --code-inlined: rgba(65, 84, 98, 0.25); --code-color-1: #73828c; --code-color-2: #a65980; --code-color-3: #599fa6; --code-color-4: #8c8473; --code-color-5: #4d606d; --table-border: #10181e; --table-stripping: rgba(115, 130, 140, 0.02); } /** * Document * Content-box & Responsive typography */ *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background: var(--background); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 16px; font-weight: 400; line-height: 1.5; text-rendering: optimizeLegibility; } @media (min-width: 576px) { html { font-size: 17px; } } @media (min-width: 768px) { html { font-size: 18px; } } @media (min-width: 992px) { html { font-size: 19px; } } @media (min-width: 1200px) { html { font-size: 20px; } } /** * Sectioning * Container and responsive spacings for header, main, footer */ main { display: block; } body { width: 100%; margin: 0; } body > header, body > main, body > footer { width: 100%; margin-right: auto; margin-left: auto; padding: 2rem 0; } /** * Container */ .container, .container-fluid { width: 100%; margin-right: auto; margin-left: auto; padding-right: 1rem; padding-left: 1rem; } @media (min-width: 576px) { .container { padding-right: 0; padding-left: 0; max-width: 510px; } } @media (min-width: 768px) { .container { max-width: 700px; } } @media (min-width: 992px) { .container { max-width: 920px; } } @media (min-width: 1200px) { .container { max-width: 1130px; } } /** * Grid * Minimal grid system with auto-layout columns */ .grid { grid-column-gap: 1rem; grid-row-gap: 1rem; display: grid; grid-template-columns: 1fr; margin: 0; } @media (min-width: 992px) { .grid { grid-template-columns: repeat(auto-fit, minmax(0%, 1fr)); } } .grid > * { min-width: 0; } /** * Horizontal scroller (
) */ figure { display: block; margin: 0; padding: 0; overflow-x: auto; } figure figcaption { padding: 0.5rem 0; color: var(--muted-text); } /** * Typography */ b, strong { font-weight: bolder; } sub, sup { position: relative; font-size: .75rem; line-height: 0; vertical-align: baseline; } sub { bottom: -0.25rem; } sup { top: -0.5rem; } img { max-width: 100%; height: auto; border-style: none; } svg, img { vertical-align: text-bottom; } address, blockquote, dl, figure, form, ol, p, pre, table, ul { margin-top: 0; margin-bottom: 1.5rem; color: var(--text); font-size: 1rem; font-style: normal; } a { background-color: transparent; color: var(--primary); text-decoration: none; } a:hover, a:active, a:focus { color: var(--primary-hover); text-decoration: underline; } a:focus { outline: none; background-color: var(--primary-focus); } a.secondary { color: var(--secondary); } a.secondary:hover, a.secondary:active, a.secondary:focus { color: var(--secondary-hover); } a.secondary:focus { background-color: var(--secondary-focus); } a.contrast:not([role="button"]) { box-shadow: inset 0 -0.33rem 0 var(--contrast-border); color: var(--contrast); } a.contrast:not([role="button"]):hover, a.contrast:not([role="button"]):active, a.contrast:not([role="button"]):focus { box-shadow: inset 0 -0.33rem 0 var(--contrast-border-h); color: var(--contrast-hover); text-decoration: none; } a.contrast:not([role="button"]):focus { background-color: var(--contrast-focus); } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 1.5rem; font-weight: 700; } h1 { margin-bottom: 3rem; color: var(--h1); font-size: 2rem; } h2 { margin-bottom: 2.625rem; color: var(--h2); font-size: 1.75rem; } h3 { margin-bottom: 2.25rem; color: var(--h3); font-size: 1.5rem; } h4 { margin-bottom: 1.875rem; color: var(--h4); font-size: 1.25rem; } h5 { margin-bottom: 1.6875rem; color: var(--h5); font-size: 1.125rem; } h6 { color: var(--h6); font-size: 1rem; } hgroup { margin-bottom: 1.5rem; } hgroup * { margin-bottom: 0; } hgroup > *:last-child { color: var(--muted-text); font-size: 1.125rem; font-weight: normal; } p { margin-bottom: 0.75rem; } small { font-size: 85%; } @media (min-width: 576px) { small { font-size: 83%; } } @media (min-width: 768px) { small { font-size: 81%; } } @media (min-width: 992px) { small { font-size: 79%; } } @media (min-width: 1200px) { small { font-size: 77%; } } ul, ol { padding-left: 1.5rem; } ul li, ol li { margin-bottom: 0.75rem; } ul li { list-style: square; } mark { padding: .125rem .25rem; background: var(--mark); color: var(--mark-text); vertical-align: middle; } blockquote { display: block; margin: 3rem 0; padding: 1rem; border-left: 0.25rem solid var(--muted-border); } blockquote footer { margin-top: 0.75rem; color: var(--muted-text); } abbr[title] { border-bottom: 1px dotted; text-decoration: none; cursor: help; } ins { color: var(--valid); text-decoration: none; } del { color: var(--invalid); } ::selection { background-color: var(--primary-focus); } /** * Form elements */ input, optgroup, select, textarea { margin: 0; font-family: inherit; font-size: 1rem; line-height: 1.5; } input { overflow: visible; } select { text-transform: none; } legend { display: table; max-width: 100%; padding: 0; color: inherit; white-space: normal; } textarea { overflow: auto; } [type="checkbox"], [type="radio"] { padding: 0; } [type="number"]::-webkit-inner-spin-button { height: auto; } [type="search"] { -webkit-appearance: textfield; outline-offset: -2px; } [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } fieldset { margin: 0; margin-bottom: 1.5rem; padding: 0; border: 0; } input:not([type="checkbox"]):not([type="radio"]), select, textarea, form small { display: block; width: 100%; } label, fieldset legend { display: block; margin-bottom: 0.125rem; vertical-align: middle; } input, select, textarea { -webkit-appearance: none; -moz-appearance: none; appearance: none; border: 1px solid var(--input-border); border-radius: 0.25rem; outline: none; background-color: var(--input-background); color: var(--text); font-weight: normal; vertical-align: middle; } input::placeholder, select::placeholder, textarea::placeholder { color: var(--muted-text); opacity: 1; } input:active, input:focus, select:active, select:focus, textarea:active, textarea:focus { border-color: var(--primary); } input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 0.2rem var(--primary-focus); } input[readonly], input[disabled], select[readonly], select[disabled], textarea[readonly], textarea[disabled] { border-color: var(--muted-border); box-shadow: none; } input[readonly] ~ label, input[disabled] ~ label, select[readonly] ~ label, select[disabled] ~ label, textarea[readonly] ~ label, textarea[disabled] ~ label { color: var(--muted-text); } input[disabled], select[disabled], textarea[disabled] { background-color: var(--muted-background); opacity: .5; } input:not([type="checkbox"]):not([type="radio"]), select, textarea { margin-bottom: 1.5rem; padding: 0.75rem 1rem; } input[type="color"] { height: calc(3rem + 2px); } select::-ms-expand { border: 0; background-color: transparent; } select:not([multiple]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-position: center right .75rem; background-repeat: no-repeat; background-size: 1rem auto; } form small { color: var(--muted-text); } input + small, select + small, textarea + small { margin-top: -1rem; margin-bottom: 1.5rem; } label > input:not([type="checkbox"]):not([type="radio"]), label > select, label > textarea { margin-top: 0.125rem; } /** * Form elements */ [type="checkbox"], [type="radio"] { display: inline-block; width: 1em; height: 1em; margin-right: .375rem; margin-bottom: 0.125rem; border-width: 2px; font-size: 1.125rem; vertical-align: middle; cursor: pointer; transition: none; } [type="checkbox"]::-ms-check, [type="radio"]::-ms-check { display: none; } [type="checkbox"]:checked, [type="radio"]:checked { border-color: var(--primary); background-color: var(--primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-position: center; background-repeat: no-repeat; background-size: .66rem auto; } [type="checkbox"] ~ label, [type="radio"] ~ label { display: inline-block; margin-right: .375rem; margin-bottom: 0; cursor: pointer; } [type="radio"] { border-radius: 50%; } [type="radio"]:checked { border-width: .33rem; border-color: var(--primary); background-color: var(--primary-inverse); background-image: none; } [type="checkbox"][role="switch"] { width: 1.85em; height: 1em; border: 2px solid var(--input-border); border-radius: 1em; background-color: var(--input-border); line-height: 1em; } [type="checkbox"][role="switch"]:before { display: block; width: calc(1em - 4px); height: 100%; border-radius: 50%; background-color: var(--primary-inverse); content: ''; } [type="checkbox"][role="switch"]:checked { border-color: var(--primary); background-color: var(--primary); background-image: none; } [type="checkbox"][role="switch"]:checked::before { margin-right: 0; margin-left: calc(0.925em - 2px); } /** * Button */ button { margin: 0; overflow: visible; font-family: inherit; text-transform: none; } button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { padding: 0; border-style: none; } button { display: block; width: 100%; margin-bottom: 1.5rem; } a[role="button"] { display: inline-block; text-decoration: none; } button, input[type="submit"], a[role="button"] { border: 1px solid transparent; padding: 0.75rem 1rem; border-radius: 0.25rem; outline: none; background-color: var(--primary); color: var(--primary-inverse); font-size: 1rem; font-weight: normal; line-height: 1.5; text-align: center; cursor: pointer; } button:hover, button:active, button:focus, input[type="submit"]:hover, input[type="submit"]:active, input[type="submit"]:focus, a[role="button"]:hover, a[role="button"]:active, a[role="button"]:focus { background-color: var(--primary-hover); } button:focus, input[type="submit"]:focus, a[role="button"]:focus { box-shadow: 0 0 0 0.2rem var(--primary-focus); } input[type="reset"] { cursor: pointer; } button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], a[role="button"][disabled] { opacity: .5; pointer-events: none; } /** * Table */ table { width: 100%; border-spacing: 0; } th, td { padding: 0.5rem 1rem; border-bottom: 1px solid var(--table-border); color: var(--muted-text); font-weight: 400; text-align: left; font-size: 0.875rem; } th, thead td { color: var(--text); font-size: 1rem; } thead th, thead td { border-bottom: 3px solid var(--table-border); } tbody tr:nth-child(odd) { background-color: var(--table-stripping); }