@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,700;1,400;1,700&family=IBM+Plex+Sans:ital,wght@0,200;0,400;0,700;1,200;1,400;1,700&family=IBM+Plex+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap'); @import url("./normalize.css"); :root { /* --blue: #0064ff;*/ --grey: #d8d8d8; --grey-dark: #1f1d1c; --red: #ce2b2b; --blue: #3ab0ed; --magenta: #9b62fd; --white: #ffffff; --black: #000000; --cyan: #1ee3cf; --yellow: #eed811; --pink: #eb0871; } html { font-size: 100%; } body { background: rgb(44, 43, 54); background: radial-gradient(circle, rgba(44, 43, 54, 1) 25%, rgba(41, 41, 44, 1) 100%); font-family: 'IBM Plex Sans', sans-serif; font-weight: 400; line-height: 1.3; color: var(--white); } p { margin: 0; font-size: 1rem; } a { color: var(--magenta); cursor: pointer; } h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1; } h1 { margin-top: 0; font-size: 1.802rem; } h2 { font-size: 1.602rem; } h3 { font-size: 1.424rem; } h4 { font-size: 1.266rem; } h5 { font-size: 1.125rem; } h6 { font-size: 1rem; } small { font-size: 0.889rem; } main { max-width: 1024px; margin: 0 auto; padding: 1rem; } .table-default { border-collapse: collapse; width: 100%; text-align: left; margin: 1rem 0; & thead { border-bottom: 3px solid var(--magenta); } & th, td { padding: 0.5rem 1rem; } & td.is-link:hover { cursor: pointer; } & tr:nth-child(2n) { background-color: var(--grey-dark); } & tbody tr:hover { color: white; background-color: var(--magenta); & a { color: white; } } & .table-actions { display: flex; gap: 1rem; flex-wrap: wrap; } } @media screen and (max-width:600px) { .table-default { & tr { display: grid; grid-template-columns: 1fr } & tfoot th { text-align: unset } } } /* Forms */ label { font: inherit; line-height: inherit; display: inline-block; } input[type=datetime-local] { background-color: inherit; color: inherit; outline: none; line-height: 1.75; padding: 0.25rem 0.5rem; font-size: 1.25em; font-family: "IBM Plex Mono", monospace; margin: 0; width: 100%; border: 3px solid #414141; } input, textarea { caret-color: var(--magenta); background-color: inherit; color: inherit; outline: none; line-height: 1.75; padding: 0.25rem 0.5rem; font-size: 1.25em; font-family: "IBM Plex Mono", monospace; margin: 0; width: 100%; resize: vertical; border: 3px solid #414141; } textarea { min-height: 12rem; } input:focus, input[type=datetime-local]:focus, textarea:focus, textarea:focus { border-color: var(--magenta); } button { color: white; background-color: var(--magenta); font-weight: bold; border: none; padding: 0.25rem 0.5rem; margin-bottom: 1rem; font-size: 1.25em; cursor: pointer; } .form-default { display: flex; gap: 1rem; flex-direction: column; .form-field { display: flex; gap: 0.25rem; flex-direction: column; .checkbox { display: flex; gap: 0.5rem; align-items: center; align-self: flex-start; } } } input[type="radio"], input[type="checkbox"] { width: 2rem; height: 2rem; vertical-align: middle; accent-color: var(--magenta); } .flex-column { display: flex; gap: 1rem; flex-direction: column; } .header-default { display: flex; gap: 1rem; justify-content: space-between; } .site-nav { padding: 1rem; display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; .nav-list { list-style-type: none; display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; } } .modal-wrapper, .modal-bg { position: fixed; top: 0; right: 0; left: 0; bottom: 0; display: flex; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.7); z-index: 9999; } .modal { box-sizing: border-box; overflow-y: scroll; background: var(--grey-dark); margin: auto; max-height: 100%; padding: 1rem; width: calc(72ch + 48px); border: 0.5rem solid var(--magenta); .header { display: grid; grid-template-columns: 2fr 1fr; } .modal-close { justify-self: end; } .modal-container { display: flex; flex-direction: column; } } .dl-default { display: flex; flex-direction: column; gap: 1rem; & dt { font-weight: bold; } & dd { padding: 1rem; background-color: var(--grey-dark); margin: 0; border-radius: 1rem; } } .error { color: var(--red); } .back-link { margin-bottom: 2rem; } .banner { max-width: 1024px; margin: 0 auto; background-color: var(--grey-dark); padding: 2rem; border-radius: 1rem; & h2 { font-size: 3em; margin-bottom: 1rem; } & p { font-size: 1.75em; } } .text-content { & h1, h2, h3, h4, h5, h6, p:not(:last-child) { margin-bottom: 1rem; } }