* { box-sizing: border-box; } :root { --background-color: #f2f2f2; --foreground-color: #fff; --primary-text-color: #111827; --muted-text-color: #868393; } body { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(to right top, rgb(var(--color-primary-50)), #fff, rgba(var(--color-accent-500), 0.1)); font-family: sans-serif; color: var(--primary-text-color); min-height: 100vh; padding: 0; margin: 0; } body::after { content: ""; } .instance-header { height: 96px; padding: 28px 4px; } .instance-header__content { display: flex; align-items: center; max-width: 400px; margin: 0 auto; } .instance-header__thumbnail { max-width: 40px; border-radius: 4px; margin-right: 12px; } .instance-header__title { font-size: 16px; font-weight: bold; color: var(--primary-text-color); } .container { width: 100%; padding: 16px; background-color: #fff; overflow: hidden; box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px } .container__content { padding: 0 20px; } h1 { margin: 0; font-size: 24px; text-align: center; } h2 { color: var(--primary-text-color); text-align: center; font-weight: 500; font-size: 20px; line-height: 1.5; } h2:first-child:not(:last-child) { margin: 0 -16px 16px; padding-bottom: 16px; border-bottom: 1px solid #e5e7eb; font-size: 24px; font-weight: bold; } h2 { font-weight: 500; } h2 pre { margin: 0; padding: 0.5rem 0.75rem; border-radius: 0.375rem; overflow-x: auto; background-color: #f1f4f6; font-size: 1rem; font-family: Roboto Mono, ui-monospace, mono; line-height: 1.5rem; word-break: break-all; cursor: text; } a { color: rgb(var(--color-primary-500)); text-decoration: none; } a:hover { text-decoration: underline; } form { width: 100%; } .input { display: flex; flex-direction: column; color: #374151; font-size: 14px; line-height: 1.5; } input { box-sizing: content-box; padding: 10px; margin-top: 5px; margin-bottom: 10px; background-color: var(--foreground-color); color: var(--primary-text-color); border: 1px solid #91a7b5; border-radius: 6px; font-size: 14px; } input:focus { border-color: rgb(var(--color-primary-500)); outline: none; box-shadow: rgb(var(--color-primary-500)) 0px 0px 0px 1px; } .scopes-input { display: flex; flex-direction: column; margin: 1em 0; color: var(--muted-text-color); font-size: 12px; } .scopes-input label:first-child { height: 2em; } .scopes { display: flex; flex-wrap: wrap; gap: 0.5em; color: var(--primary-text-color); } .scope { display: flex; flex-basis: 100%; align-items: center; } .scope:before { color: var(--primary-text-color); content: "✔\fe0e"; margin-left: 1em; margin-right: 1em; } .scope-description { display: flex; flex-direction: column; color: var(--muted-text-color); } .scope-description code { color: var(--primary-text-color); } [type="checkbox"]+label { display: none; cursor: pointer; margin: 0.5em; } [type="checkbox"] { display: none; } [type="checkbox"]+label:before { cursor: pointer; display: inline-block; color: white; background-color: var(--background-color); border: 4px solid var(--background-color); box-shadow: 0px 0px 1px 0 rgb(var(--color-primary-500)); width: 1.2em; height: 1.2em; margin-right: 1.0em; content: ""; transition-property: background-color; transition-duration: 0.35s; color: var(--background-color); margin-bottom: -0.2em; border-radius: 2px; } [type="checkbox"]:checked+label:before { background-color: rgb(var(--color-primary-500)); } .actions { display: flex; justify-content: flex-end; } .actions button, .actions a.button { width: auto; margin-left: 10px; } a.button, button { display: inline-flex; align-items: center; border-radius: 9999px; padding: 8px 16px; margin-left: auto; appearance: none; background: rgb(var(--color-primary-500)); color: white; border: none; font-size: 14px; line-height: 1.5; font-weight: 500; transition: all 0.2s; } a.button:hover, button:hover { background: rgb(var(--color-primary-400)); cursor: pointer; } .alert-danger { width: 100%; background-color: #931014; border: 1px solid #a06060; border-radius: 4px; padding: 10px; margin-top: 20px; font-weight: 500; font-size: 16px; } .alert-info { width: 100%; border-radius: 4px; border: 1px solid #7d796a; padding: 10px; margin-top: 20px; font-weight: 500; font-size: 16px; } .account-header__banner { height: 0; width: calc(100% + 32px); margin: -16px; padding-bottom: calc((100% + 32px) / 3); background-size: cover; background-position: center; } .account-header__avatar { width: 94px; height: 94px; background-size: cover; background-position: center; margin: -47px 10px 0; border: 4px solid rgb(var(--color-primary-900)); border-radius: 999px; } .account-header__meta { padding: 6px 20px 17px; } .account-header__display-name { font-size: 20px; font-weight: bold; } .account-header__nickname { font-size: 14px; color: var(--muted-text-color); } @media all and (max-width: 420px) { .container { margin: 0 auto; border-radius: 0; } } .form-row { display: flex; } .form-row>label { line-height: 47px; flex: 1; } .form-row>input { flex: 2; } @media (min-width: 581px) { .container { width: 512px; margin: 35px auto; padding: 40px; border-radius: 24px; } h2:first-child:not(:last-child) { padding-bottom: 40px; margin: 0 -40px 16px; } .account-header__banner { width: calc(100% + 80px); margin: -40px; padding-bottom: calc((100% + 80px) / 3); } } @media (min-width: 768px) { .container { max-width: 672px; } } @media (min-width: 976px) { .instance-header { height: 96px; padding: 28px 0; } .instance-header__content { width: fit-content; } } @media (prefers-color-scheme: dark) { :root { --background-color: #f2f2f2; --foreground-color: #011929; --primary-text-color: #f1f4f6; --muted-text-color: #698393; } html { background: #232c31; } body { background: linear-gradient(to right top, rgba(var(--color-primary-900), 0.5), rgb(var(--color-primary-900)), rgba(var(--color-primary-900), 0.5)); } .container { background-color: rgb(var(--color-primary-900)); } a.button:hover, button:hover { background: rgb(var(--color-primary-600)); } .input { color: var(--primary-text-color); } input { background: #161c1f; border-color: #232c31; } h2 pre { background-color: #012741; } }