aboutsummaryrefslogtreecommitdiff
path: root/sass/style.scss
blob: a74be391a0d2802393804686bfe6ec5a1051870d (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
33
34
35
@import "variables";
@import "Components/buttons";
@import "footer";
@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: $fonts-sans-serif;
	font-weight: normal;
	padding: 0;
	margin: 0;
	position: relative;
	min-height: 100vh;
}