Spaces:
Sleeping
Sleeping
File size: 1,902 Bytes
1a49047 | 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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | /* IBM Plex Sans (UI) + IBM Plex Mono (numerics) — HTTPS, mixed-content safe. */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html,
body {
height: 100%;
}
body {
margin: 0;
overflow: hidden;
background: theme("colors.bg");
color: theme("colors.ink");
font-family: theme("fontFamily.sans");
font-size: theme("fontSize.base[0]");
-webkit-font-smoothing: antialiased;
}
/* All numerics render tabular mono — the scientific-instrument tell. */
.tabular {
font-family: theme("fontFamily.mono");
font-feature-settings: "tnum" 1;
}
/* Focus ring: always visible on keyboard nav, never removed without replacement. */
:focus-visible {
outline: 2px solid theme("colors.accent");
outline-offset: 2px;
}
/* Faint observatory scrollbars. */
::-webkit-scrollbar {
width: 7px;
height: 7px;
}
::-webkit-scrollbar-thumb {
background: theme("colors.border");
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: theme("colors.ink-dim");
}
}
@layer components {
/* Floating glass panel — the one purposeful glass use: chrome over live data. */
.glass {
background: color-mix(in oklch, theme("colors.surface-1") 88%, transparent);
backdrop-filter: blur(12px) saturate(1.1);
border: 1px solid theme("colors.border");
}
}
/* Indeterminate loading bar sweep. */
@keyframes loading {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(400%);
}
}
/* Motion is functional; kill it entirely for reduced-motion users. */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
}
}
|