app.css 1.31 KB
Newer Older
Timothy J. Baek's avatar
Timothy J. Baek committed
1
2
3
4
5
6
@font-face {
	font-family: 'Arimo';
	src: url('/assets/fonts/Arimo-Variable.ttf');
	font-display: swap;
}

7
8
9
10
11
12
@font-face {
	font-family: 'Mona Sans';
	src: url('/assets/fonts/Mona-Sans.woff2');
	font-display: swap;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
13
html {
Timothy J. Baek's avatar
Timothy J. Baek committed
14
	word-break: break-word;
Timothy J. Baek's avatar
Timothy J. Baek committed
15
16
}

17
18
19
20
21
22
23
24
code {
	white-space-collapse: preserve !important;
	/* text-wrap: nowrap !important; */

	white-space: nowrap;
	width: auto;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
25
26
27
28
math {
	margin-top: 1rem;
}

29
30
31
32
.hljs {
	@apply rounded-lg;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
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
61
62
63
::-webkit-scrollbar-thumb {
	--tw-border-opacity: 1;
	background-color: rgba(217, 217, 227, 0.8);
	border-color: rgba(255, 255, 255, var(--tw-border-opacity));
	border-radius: 9999px;
	border-width: 1px;
}

::-webkit-scrollbar {
	height: 1rem;
	width: 0.5rem;
}

::-webkit-scrollbar-track {
	background-color: transparent;
	border-radius: 9999px;
}

select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
	background-position: right 0.5rem center;
	background-repeat: no-repeat;
	background-size: 1.5em 1.5em;
	padding-right: 2.5rem;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
	/* for Firefox */
	-moz-appearance: none;
	/* for Chrome */
	-webkit-appearance: none;
}