Spaces:
Running
Running
File size: 1,209 Bytes
9c78030 | 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 | @import 'tailwindcss';
/* Dark by default: the `dark:` variant follows the .dark class on <html>, not the OS setting. */
@custom-variant dark (&:where(.dark, .dark *));
/* Essentially black and white, dark by default: near-black page + white ink (light palette kept under the .dark class switch). */
@theme {
--font-sans:
'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
--color-ink: #111111;
--color-void: #0a0a0a;
}
@layer base {
html,
body {
margin: 0;
height: 100%;
}
body {
@apply bg-white text-[color:var(--color-ink)] antialiased dark:bg-[color:var(--color-void)] dark:text-white;
font-size: 15px;
line-height: 1.45;
overscroll-behavior: none;
color-scheme: dark;
}
button,
input,
select,
textarea {
font: inherit;
color: inherit;
}
button {
cursor: pointer;
}
button:disabled {
cursor: default;
opacity: 0.55;
}
:focus-visible {
outline: 2px solid currentColor;
outline-offset: 2px;
}
.num {
font-variant-numeric: tabular-nums;
}
}
@media (prefers-reduced-motion: reduce) {
* {
transition: none !important;
animation: none !important;
}
}
|