2023-10-08 22:38:42 +00:00
|
|
|
@font-face {
|
2024-07-07 09:27:04 +00:00
|
|
|
font-family: 'Inter';
|
|
|
|
src: url('/assets/fonts/Inter-Variable.ttf');
|
2023-10-08 22:38:42 +00:00
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
2024-07-08 21:20:11 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: 'Archivo';
|
|
|
|
src: url('/assets/fonts/Archivo-Variable.ttf');
|
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
2023-11-19 00:47:12 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: 'Mona Sans';
|
|
|
|
src: url('/assets/fonts/Mona-Sans.woff2');
|
|
|
|
font-display: swap;
|
|
|
|
}
|
|
|
|
|
2023-10-08 22:38:42 +00:00
|
|
|
html {
|
2023-10-23 00:15:26 +00:00
|
|
|
word-break: break-word;
|
2023-10-08 22:38:42 +00:00
|
|
|
}
|
|
|
|
|
2023-12-09 01:48:31 +00:00
|
|
|
code {
|
2023-12-10 23:14:47 +00:00
|
|
|
/* white-space-collapse: preserve !important; */
|
2024-01-01 18:35:46 +00:00
|
|
|
overflow-x: auto;
|
2023-12-09 01:48:31 +00:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2023-10-28 22:16:04 +00:00
|
|
|
math {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-10-16 08:27:26 +00:00
|
|
|
.hljs {
|
|
|
|
@apply rounded-lg;
|
|
|
|
}
|
|
|
|
|
2024-08-18 18:59:59 +00:00
|
|
|
.markdown-prose {
|
|
|
|
@apply prose dark:prose-invert prose-p:my-0 prose-img:my-1 prose-headings:my-1 prose-pre:my-0 prose-table:my-0 prose-blockquote:my-0 prose-ul:-my-0 prose-ol:-my-0 prose-li:-my-0 whitespace-pre-line;
|
|
|
|
}
|
|
|
|
|
2024-06-15 10:32:18 +00:00
|
|
|
.markdown a {
|
|
|
|
@apply underline;
|
|
|
|
}
|
|
|
|
|
2024-07-08 21:20:11 +00:00
|
|
|
.font-primary {
|
|
|
|
font-family: 'Archivo', sans-serif;
|
|
|
|
}
|
|
|
|
|
2024-06-24 03:40:12 +00:00
|
|
|
iframe {
|
|
|
|
@apply rounded-lg;
|
|
|
|
}
|
|
|
|
|
2024-03-07 03:15:18 +00:00
|
|
|
li p {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2023-10-08 22:38:42 +00:00
|
|
|
::-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 {
|
2024-02-24 09:39:14 +00:00
|
|
|
height: 0.4rem;
|
|
|
|
width: 0.4rem;
|
2023-10-08 22:38:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
::-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;
|
|
|
|
}
|
2024-04-01 02:50:46 +00:00
|
|
|
|
|
|
|
.katex-mathml {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-05-06 23:19:48 +00:00
|
|
|
|
2024-05-15 06:16:22 +00:00
|
|
|
.scrollbar-hidden:active::-webkit-scrollbar-thumb,
|
|
|
|
.scrollbar-hidden:focus::-webkit-scrollbar-thumb,
|
|
|
|
.scrollbar-hidden:hover::-webkit-scrollbar-thumb {
|
2024-05-06 23:19:48 +00:00
|
|
|
visibility: visible;
|
|
|
|
}
|
2024-05-15 06:16:22 +00:00
|
|
|
.scrollbar-hidden::-webkit-scrollbar-thumb {
|
2024-05-06 23:19:48 +00:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
2024-05-15 06:16:22 +00:00
|
|
|
|
2024-06-11 00:22:44 +00:00
|
|
|
.scrollbar-hidden::-webkit-scrollbar-corner {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-05-15 06:16:22 +00:00
|
|
|
.scrollbar-none::-webkit-scrollbar {
|
|
|
|
display: none; /* for Chrome, Safari and Opera */
|
|
|
|
}
|
|
|
|
|
2024-06-11 00:22:44 +00:00
|
|
|
.scrollbar-none::-webkit-scrollbar-corner {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-05-15 06:16:22 +00:00
|
|
|
.scrollbar-none {
|
|
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
|
|
scrollbar-width: none; /* Firefox */
|
|
|
|
}
|
2024-05-15 22:55:13 +00:00
|
|
|
|
|
|
|
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 */
|
|
|
|
}
|
2024-06-11 00:22:44 +00:00
|
|
|
|
|
|
|
.cm-editor {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-scroller {
|
|
|
|
@apply scrollbar-hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-editor.cm-focused {
|
|
|
|
outline: none;
|
|
|
|
}
|
2024-07-08 22:26:43 +00:00
|
|
|
|
|
|
|
.tippy-box[data-theme~='dark'] {
|
|
|
|
@apply rounded-lg bg-gray-950 text-xs border border-gray-900 shadow-xl;
|
|
|
|
}
|
2024-08-01 19:43:13 +00:00
|
|
|
|
|
|
|
.password {
|
|
|
|
-webkit-text-security: disc;
|
|
|
|
}
|
2024-08-05 16:57:28 +00:00
|
|
|
|
|
|
|
.codespan {
|
|
|
|
color: #eb5757;
|
|
|
|
border-width: 0px;
|
|
|
|
padding: 3px 8px;
|
|
|
|
font-size: 0.8em;
|
|
|
|
font-weight: 600;
|
2024-08-05 17:59:10 +00:00
|
|
|
@apply rounded-md dark:bg-gray-800 bg-gray-100 mx-0.5;
|
2024-08-05 16:57:28 +00:00
|
|
|
}
|
2024-09-17 20:05:19 +00:00
|
|
|
|
|
|
|
.svelte-flow {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
2024-09-18 00:11:25 +00:00
|
|
|
|
2024-09-18 00:42:19 +00:00
|
|
|
.svelte-flow__edge > path {
|
|
|
|
stroke-width: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svelte-flow__edge.animated > path {
|
|
|
|
stroke-width: 2;
|
|
|
|
@apply stroke-gray-600 dark:stroke-gray-500;
|
|
|
|
}
|
|
|
|
|
2024-09-18 00:11:25 +00:00
|
|
|
.bg-gray-950-90 {
|
|
|
|
background-color: rgba(var(--color-gray-950, #0d0d0d), 0.9);
|
|
|
|
}
|