* { box-sizing: border-box; } :root { --bg: rgba(18, 26, 36, 1); --fg: rgba(24, 34, 48, 1); --text: rgba(185, 185, 186, 1); --link: rgba(216, 160, 112, 1); --accent: rgba(216, 160, 112, 1); --cRed: rgba(211, 16, 20, 1); --cBlue: rgba(0, 149, 255, 1); --cGreen: rgba(15, 160, 15, 1); --cOrange: rgba(255, 165, 0, 1); --font: sans-serif; --monoFont: monospace; --wallpaper: rgba(14, 21, 29, 1); --selectionBackground: rgba(216, 160, 112, 1); --selectionText: rgba(0, 0, 0, 1); --badgeNotification: rgba(211, 16, 20, 1); } body { background-color: var(--wallpaper); font-family: sans-serif; color: var(--text); padding: 0; margin: 0; display: flex; flex-direction: column; align-items: center; } a { color: var(--link); text-decoration: none; } .button { width: 100%; background-color: #1c2a3a; color: var(--primary-text-color); border-radius: 4px; border: none; padding: 0 1em; line-height: 2; margin-top: 2em; text-transform: uppercase; font-size: 1em; cursor: pointer; box-shadow: 0 0 2px 0 black, 0 1px 0 0 rgba(255, 255, 255, 0.2) inset, 0 -1px 0 0 rgba(0, 0, 0, 0.2) inset; } .button:hover { box-shadow: 0 0 1px 2px rgba(185, 185, 186, 0.4), 0 1px 0 0 rgba(255, 255, 255, 0.2) inset, 0 -1px 0 0 rgba(0, 0, 0, 0.2) inset; } .button:active { transform: translate(1px, 1px); box-shadow: 0 0 2px 0 black, 0 -1px 0 0 rgba(255, 255, 255, 0.2) inset, 0 1px 0 0 rgba(0, 0, 0, 0.2) inset; } .button:hover:active { box-shadow: 0 0 1px 2px rgba(185, 185, 186, 0.4), 0 -1px 0 0 rgba(255, 255, 255, 0.2) inset, 0 1px 0 0 rgba(0, 0, 0, 0.2) inset; } .input { color: var(--text); display: flex; flex-direction: column; } .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; } .instance-header { display: flex; height: 3.5rem; background: var(--fg); box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.4), 0 2px 7px 0 rgba(0, 0, 0, 0.3); justify-content: center; align-self: stretch; padding: 0; margin-bottom: 1rem; } .instance-header__content { line-height: 3.5rem; display: flex; flex: 1; align-items: center; max-width: 25em; } .instance-header__thumbnail { max-width: 3.5em; border-radius: 0.25em; margin-right: 0.75em; } .instance-header__title { font-weight: bold; color: var(--text); font-size: 1rem; } .panel { color: var(--text); position: relative; max-width: 25em; border-radius: 0.5em; overflow: hidden; margin: 0; box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5), 0 4px 6px 3px rgba(0, 0, 0, 0.3); padding: 0; } .panel-heading { padding: 0 1em; background-color: var(--bg); } .actions { display: flex; justify-content: flex-end; padding-bottom: 1em; } .actions .button { width: auto; margin-left: 0.5em; } .account-header { display: flex; align-items: end; width: 100%; aspect-ratio: 3; /* REMOVE */ text-shadow: 0 0 3px black; } .account-header__banner { position: absolute; inset: 0; z-index: -1; aspect-ratio: 3; background-size: cover; background-position: center; } .account-header__avatar { width: 6em; height: 6em; flex: 0 0 6em; z-index: 2; background-size: cover; background-position: center; margin: 0 0.6em 0; } .account-header__meta { flex: 1 1 0; display: flex; flex-direction: column; min-width: 10em; } .account-header__nickname, .account-header__display-name { font-size: 1.25em; white-space: nowrap; overflow-x: hidden; text-overflow: ellipsis; } .acocunt-header__display-name { font-weight: bold; } .account-header__nickname { font-size: 0.75em; color: var(--link); } @media all and (max-width: 420px) { .container { margin: 0 auto; border-radius: 0; } .scope { flex-basis: 0%; } .scope:before { content: ""; margin-left: 0em; margin-right: 1em; } .scope:first-child:before { margin-left: 1em; content: "✔\fe0e"; } .scope:after { content: ","; } .scope:last-child:after { content: ""; } } .form-row { display: flex; } .form-row > label { line-height: 47px; flex: 1; } .form-row > input { flex: 2; }