"vscode:/vscode.git/clone" did not exist on "941470f9dee33f06fd0687679621e30fe9f2ac4f"
app.css 2.95 KB
Newer Older
Timothy J. Baek's avatar
Timothy J. Baek committed
1
@font-face {
2
3
	font-family: 'Inter';
	src: url('/assets/fonts/Inter-Variable.ttf');
Timothy J. Baek's avatar
Timothy J. Baek committed
4
5
6
	font-display: swap;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
7
8
9
10
11
12
@font-face {
	font-family: 'Archivo';
	src: url('/assets/fonts/Archivo-Variable.ttf');
	font-display: swap;
}

13
14
15
16
17
18
@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
19
html {
Timothy J. Baek's avatar
Timothy J. Baek committed
20
	word-break: break-word;
Timothy J. Baek's avatar
Timothy J. Baek committed
21
22
}

23
code {
Timothy J. Baek's avatar
Timothy J. Baek committed
24
	/* white-space-collapse: preserve !important; */
Timothy J. Baek's avatar
Timothy J. Baek committed
25
	overflow-x: auto;
26
27
28
	width: auto;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
29
30
31
32
math {
	margin-top: 1rem;
}

33
34
35
36
.hljs {
	@apply rounded-lg;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
37
38
39
40
.markdown a {
	@apply underline;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
41
42
43
44
.font-primary {
	font-family: 'Archivo', sans-serif;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
45
46
47
48
iframe {
	@apply rounded-lg;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
49
50
51
52
53
54
55
56
ol > li {
	counter-increment: list-number;
	display: block;
	margin-bottom: 0;
	margin-top: 0;
	min-height: 28px;
}

57
.prose ol > li::before {
Timothy J. Baek's avatar
Timothy J. Baek committed
58
59
60
61
62
63
	content: counters(list-number, '.') '.';
	padding-right: 0.5rem;
	color: var(--tw-prose-counters);
	font-weight: 400;
}

64
65
66
67
li p {
	display: inline;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
68
69
70
71
72
73
74
75
76
::-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 {
Timothy J. Baek's avatar
Timothy J. Baek committed
77
78
	height: 0.4rem;
	width: 0.4rem;
Timothy J. Baek's avatar
Timothy J. Baek committed
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
}

::-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;
}
Timothy J. Baek's avatar
Timothy J. Baek committed
99
100
101
102

.katex-mathml {
	display: none;
}
Timothy J. Baek's avatar
Timothy J. Baek committed
103

Timothy J. Baek's avatar
Timothy J. Baek committed
104
105
106
.scrollbar-hidden:active::-webkit-scrollbar-thumb,
.scrollbar-hidden:focus::-webkit-scrollbar-thumb,
.scrollbar-hidden:hover::-webkit-scrollbar-thumb {
Timothy J. Baek's avatar
Timothy J. Baek committed
107
108
	visibility: visible;
}
Timothy J. Baek's avatar
Timothy J. Baek committed
109
.scrollbar-hidden::-webkit-scrollbar-thumb {
Timothy J. Baek's avatar
Timothy J. Baek committed
110
111
	visibility: hidden;
}
Timothy J. Baek's avatar
Timothy J. Baek committed
112

Timothy J. Baek's avatar
Timothy J. Baek committed
113
114
115
116
.scrollbar-hidden::-webkit-scrollbar-corner {
	display: none;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
117
118
119
120
.scrollbar-none::-webkit-scrollbar {
	display: none; /* for Chrome, Safari and Opera */
}

Timothy J. Baek's avatar
Timothy J. Baek committed
121
122
123
124
.scrollbar-none::-webkit-scrollbar-corner {
	display: none;
}

Timothy J. Baek's avatar
Timothy J. Baek committed
125
126
127
128
.scrollbar-none {
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
}
Timothy J. Baek's avatar
Timothy J. Baek committed
129
130
131
132
133
134
135
136
137
138
139

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	/* display: none; <- Crashes Chrome on hover */
	-webkit-appearance: none;
	margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type='number'] {
	-moz-appearance: textfield; /* Firefox */
}
Timothy J. Baek's avatar
Timothy J. Baek committed
140
141
142
143
144
145
146
147
148
149
150
151
152

.cm-editor {
	height: 100%;
	width: 100%;
}

.cm-scroller {
	@apply scrollbar-hidden;
}

.cm-editor.cm-focused {
	outline: none;
}
Timothy J. Baek's avatar
Timothy J. Baek committed
153
154
155
156

.tippy-box[data-theme~='dark'] {
	@apply rounded-lg bg-gray-950 text-xs border border-gray-900 shadow-xl;
}
Timothy J. Baek's avatar
refac  
Timothy J. Baek committed
157
158
159
160

.password {
	-webkit-text-security: disc;
}