/* Fonts */ /* @font-face { font-family: NotoSans; src: url(../fonts/noto_sans.ttf); font-display: swap; } @font-face { font-family: Twemoji; src: url(../fonts/TwitterColorEmoji.ttf); font-display: swap; } @font-face { font-family: Cantarell; font-weight: normal; src: url(../fonts/Cantarell-Regular.otf); font-display: swap; } @font-face { font-family: Cantarell; font-weight: bold; src: url(../fonts/Cantarell-Bold.otf); font-display: swap; } */ /* Whole page */ * { box-sizing: border-box; /* This transition value is replicated everywhere transitions are customized, make sure to track them when editing */ transition: .15s ease; } body { margin: 0; background: var(--background); color: var(--text); font-family: 'DejaVu Sans', sans-serif; } /* General */ a { text-decoration: none; color: var(--links); } a:hover { text-decoration: underline; } a:focus { outline: none; } section p { line-height: 20px; word-wrap: anywhere; } section ul { line-height: 24px; } /* Buttons */ .button, input[type="button"], input[type="submit"] { padding: 6px 10px; border-radius: 2px; cursor: pointer; font-family: 'DejaVu Sans', sans-serif; font-weight: 400; border: 0; } input[type="button"]:hover, input[type="submit"]:hover, .button:hover { text-decoration: none; } /* Profile summaries */ .profile { display: flex; align-items: center; } .profile-avatar { width: 128px; height: 128px; margin-right: 16px; } .profile-name { font-weight: bold; } .profile-title { margin-bottom: 8px; } .profile-points { font-size: 11px; } .profile-points span { color: gray; } .profile-points-small { display: none; } .profile-xp { height: 10px; min-width: 96px; background: #e0e0e0; border: 1px solid #c0c0c0; } .profile-xp div { height: 10px; background: #f85555; border: 1px solid #d03333; margin: -1px; } @media screen and (max-width: 1499px) { .profile-avatar { width: 96px; height: 96px; } .profile-xp { height: 8px; min-width: 64px; } .profile-xp div { height: 8px; } } @media screen and (max-width: 1199px) { .profile-points { display: none; } .profile-points-small { display: unset; } } /* Bootstrap-style rules */ .flex { display: flex; } .bg-ok, .bg-ok { background: var(--ok); color: var(--ok-text); } .bg-ok:hover, .bg-ok:focus, .bg-ok:active { background: var(--ok-active); } .bg-error, .bg-error { background: var(--error); color: var(--error-text); } .bg-error:hover, .bg-error:focus, .bg-error:active { background: var(--error-active); } .bg-warn { background: var(--warn); color: var(--warn-text); } .bg-warn:hover, .bg-warn:focus, .bg-warn:active { background: var(--warn-active); }