move font fallback to base.scss

This commit is contained in:
llama 2025-10-24 19:40:45 +08:00
parent 172f924acb
commit 42ded9ab2e
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3
2 changed files with 6 additions and 8 deletions

View file

@ -24,10 +24,3 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</script> </script>
<slot /> <slot />
<style lang="scss">
// follows AnkiWebView.standard_css
:global(html) {
font-family: "Segoe UI", "Helvetica", sans-serif;
}
</style>

View file

@ -15,5 +15,10 @@ $carousel-transition: var(--transition);
@import "$lib/sass/bootstrap-tooltip"; @import "$lib/sass/bootstrap-tooltip";
input { input {
color: var(--fg); color: var(--fg);
}
// follows AnkiWebView.standard_css
html {
font-family: "Segoe UI", "Helvetica", sans-serif;
} }