Anki/qt/aqt/data/web/css/webview.scss
Matthias Metelka f2d5abb95d Improve categorization of global colors
by renaming almost all of them and sorting them into separate maps.
2022-08-29 15:43:02 +02:00

33 lines
666 B
SCSS

/* Copyright: Ankitects Pty Ltd and contributors
* License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
@use "sass/scrollbar";
@use "sass/buttons";
* {
// border-box would be better, but we need to
// keep the old behaviour for now to avoid breaking
// add-ons/card templates
box-sizing: content-box;
}
body {
color: var(--fg-default);
background: var(--canvas-default);
transition: opacity 0.5s ease-out;
margin: 2em;
overscroll-behavior: none;
}
a {
color: var(--accent-link);
text-decoration: none;
}
h1 {
margin-bottom: 0.2em;
}
.night-mode {
@include scrollbar.night-mode;
}