aboutsummaryrefslogtreecommitdiff
path: root/_sass/theme.scss
blob: f3fd683e55fed80afa6645735809709b6f83ded3 (plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
html {
	font-family: "Inter", sans-serif;
	font-size: 10pt;
	font-feature-settings: "ss07", "ss08";
}

code {
	font-family: "JetBrainsMono", monospace;
	font-size: 9pt;
}

blockquote {
	font-style: italic;
	opacity: .8;
}
blockquote::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background-color: currentcolor;
}

// navbar colors
.invert {
	background-color: black;
	color: white;
}
nav a.active {
	color: canvastext;
	background-color: canvas;
}

// only show underline when hovering link
a { text-decoration: none; }
a:hover { text-decoration: underline; }

// separator style
hr {
	display: block;
	border: none;
	border-top: 1px dashed;
}

aside { border-left: 1px dashed; }

pre { border: 1px solid; }

.title { font-size: 150%; }

.plainlink a,
.plainlink a:visited { color: inherit; }

nav .right a {
	opacity: .75;
	font-style: italic;
}