aboutsummaryrefslogtreecommitdiff
path: root/sass/style.scss
blob: 5feebc02c047ec9f2ff89a7f93463dc5f0c65b00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@import "variables";
@import "header";
@import "main";
@import "mixins";
@import "typography";
:root {
	@include color-theme(dark);
	&[data-theme="auto"] {
		@include color-theme(light);
		@media (prefers-color-scheme: dark) {
			@include color-theme(dark);
		}
	}
	&[data-theme="light"] {
		@include color-theme(light);
	}
}
html {
	font-size: 100%;
	@media only screen and (max-width: 37.5em) {
		font-size: 2.8vw;
	}
}
body {
	background-color: var(--color-background);
	color: var(--color-text);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	font-weight: normal;
	padding: 0;
	margin: 0;
	position: relative;
}