mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00

Allows add-ons to easily override the theme, and allows us to apply styling to elements outside of the normal document flow (like applying the normal background colour to a position: fixed element).
64 lines
835 B
SCSS
64 lines
835 B
SCSS
/* Copyright: Ankitects Pty Ltd and contributors
|
|
* License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
|
|
|
|
@use 'card_counts';
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
button {
|
|
min-width: 60px;
|
|
white-space: nowrap;
|
|
margin: 0.5em;
|
|
}
|
|
|
|
.hitem {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.stat {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.stat2 {
|
|
padding-top: 3px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.stattxt {
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#ansbut { margin-bottom: 1em; }
|
|
|
|
.nobold {
|
|
font-weight: normal;
|
|
display: inline-block;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.spacer {
|
|
height: 18px;
|
|
}
|
|
|
|
.spacer2 {
|
|
height: 16px;
|
|
}
|
|
|
|
#outer {
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
#innertable {
|
|
padding: 3px;
|
|
}
|
|
|
|
.nightMode {
|
|
#outer {
|
|
border-top-color: var(--faint-border);
|
|
}
|
|
}
|