/* Copyright: Ankitects Pty Ltd and contributors * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ @use "sass/card-counts"; :root { --focus-color: #0078d7; .isMac { --focus-color: rgba(0 103 244 / 0.247); } } body { margin: 0; padding: 0; } button { min-width: 60px; white-space: nowrap; margin: 0.5em; } .hitem { margin-top: 2px; } .stat { padding-top: 5px; @media (max-width: 583px) { display: none; } } .stat2 { padding-top: 3px; font-weight: normal; } .stattxt { padding-left: 5px; padding-right: 5px; white-space: nowrap; } #ansbut { margin-bottom: 1em; } /** * We use .focus to recreate the highlight on the good button * while the actual focus is actually in the main webview */ :focus, .focus { outline: 1px auto var(--focus-color); .nightMode & { outline: none; box-shadow: 0 0 0 2px var(--focus-color); } } #innertable:focus-within .focus:not(:focus) { outline: none; .nightMode & { box-shadow: none; } } .nobold { font-weight: normal; display: inline-block; padding-top: 4px; } .spacer { height: 18px; } .spacer2 { height: 16px; } #outer { border-top: 1px solid var(--border); /* Better compatibility with graphics pad/touchscreen */ -webkit-user-select: none; } #innertable { padding: 3px; } .nightMode { #outer { border-top-color: var(--faint-border); } }