anki/qt/aqt/data/web/css/webview.scss

27 lines
506 B
SCSS
Raw Normal View History

/* Copyright: Ankitects Pty Ltd and contributors
* License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
@use 'ts/sass/core';
@use 'ts/sass/scrollbar';
@use 'ts/sass/buttons';
// core.scss sets border-box, but we need to
// keep the old behaviour for now to avoid breaking
// add-ons/card templates
* {
2021-04-14 10:22:25 +02:00
box-sizing: content-box;
}
body {
2021-04-14 10:22:25 +02:00
margin: 2em;
overscroll-behavior: none;
}
h1 {
2021-04-14 10:22:25 +02:00
margin-bottom: 0.2em;
}
.nightMode {
@include scrollbar.night-mode;
}