summaryrefslogtreecommitdiff
path: root/css/main.scss
blob: 31312e49a66b1130f0bba95bf4be543202f8c9c6 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
@import "fonts";

$achernarColour: #007B34;

$headerHeight:     calc(100vh + 1rem);
$navBarSlideDuration: 0.5s;

$shadow: 0 0 1rem color-mix(in srgb, black, transparent 75%);;

:root {
	font-family: "Raleway", "sans-serif";
}

* {
	margin:  0;
	padding: 0;

	box-sizing: border-box;
}

#body {
	background-color: var(--backgroundColour);
	color:            var(--textColour);
	z-index:          -1;

	&[data-theme = "Light"] {
		--backgroundColour: oklch(100%     0 0);
		--foregroundColour: oklch( 96.875% 0 0);
		--textColour:       oklch( 25%     0 0);
	}

	&[data-theme = "Dark"] {
		--backgroundColour: oklch( 20% 0.041075 270);
		--foregroundColour: oklch( 25% 0.041075 270);
		--textColour:       oklch(100% 0          0);
	}
}

ol, ul {
	list-style-type: none;
}

li p::before {
	content: "\2014\0020";
}

@import "header.scss";
@import "page.scss";