Spaces:
Running
Running
File size: 4,482 Bytes
6b3d40b 8384347 6b3d40b 2901f29 6b3d40b 2901f29 6b3d40b 62b0967 6b3d40b 3064b82 abc4c1f 8f09717 4cc8577 | 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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | @import "tailwindcss";
:root {
--background: #000000;
--foreground: #e7e5e4;
--accent: #f97316;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-pixel: var(--font-pixel);
}
body {
background: var(--background);
color: var(--foreground);
/* SF Pro on Apple devices; the platform equivalent elsewhere */
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui,
"Segoe UI", Roboto, sans-serif;
font-size: 17px;
image-rendering: pixelated;
}
/* CRT scanlines, scoped to whatever element carries .crt */
.crt {
position: relative;
}
.crt::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background: repeating-linear-gradient(
0deg,
rgba(0, 0, 0, 0.22) 0px,
rgba(0, 0, 0, 0.22) 1px,
transparent 1px,
transparent 3px
);
}
/* Bayer-ish dither texture (used on cards / header) */
.dither {
background-image: repeating-conic-gradient(
rgba(249, 115, 22, 0.05) 0% 25%,
transparent 0% 50%
);
background-size: 4px 4px;
}
/* Chunky pixel panel: square corners + hard offset shadow */
.pixel-panel {
border: 2px solid #44403c;
box-shadow: 4px 4px 0 0 rgba(249, 115, 22, 0.12);
background: #0a0806;
}
.pixel-panel-accent {
border-color: var(--accent);
box-shadow: 4px 4px 0 0 rgba(249, 115, 22, 0.35);
}
/* Pixel button press effect */
.pixel-btn {
border: 2px solid var(--accent);
box-shadow: 3px 3px 0 0 #7c2d12;
transition: none;
}
.pixel-btn:active:not(:disabled) {
transform: translate(3px, 3px);
box-shadow: 0 0 0 0 #7c2d12;
}
.pixel-btn:disabled {
border-color: #44403c;
box-shadow: 3px 3px 0 0 #1c1917;
}
/* Orange neon glow */
.glow-text {
text-shadow:
0 0 6px rgba(249, 115, 22, 0.9),
0 0 18px rgba(249, 115, 22, 0.5),
0 0 32px rgba(249, 115, 22, 0.25);
}
.glow-border {
box-shadow:
4px 4px 0 0 #000,
0 0 14px rgba(249, 115, 22, 0.35),
inset 0 0 10px rgba(249, 115, 22, 0.07);
}
@keyframes glowPulse {
0%, 100% {
text-shadow:
0 0 6px rgba(249, 115, 22, 0.9),
0 0 18px rgba(249, 115, 22, 0.5);
}
50% {
text-shadow:
0 0 10px rgba(249, 115, 22, 1),
0 0 28px rgba(249, 115, 22, 0.8),
0 0 48px rgba(249, 115, 22, 0.4);
}
}
.glow-pulse {
animation: glowPulse 2.4s ease-in-out infinite;
}
/* 8-bit bidder bounce (step keyframes = chunky retro motion) */
@keyframes bidderBounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-6px); }
}
.bidder-bounce {
animation: bidderBounce 0.6s steps(2, end) infinite;
}
@keyframes bidPop {
0% { transform: translateY(4px); opacity: 0; }
15% { transform: translateY(0); opacity: 1; }
80% { transform: translateY(-2px); opacity: 1; }
100% { transform: translateY(-8px); opacity: 0; }
}
.bid-pop {
animation: bidPop 1.6s steps(4, end) infinite;
}
@keyframes gavelSlam {
0%, 60%, 100% { transform: rotate(0deg); }
70% { transform: rotate(-35deg); }
80% { transform: rotate(10deg); }
}
.gavel-slam {
transform-origin: bottom right;
animation: gavelSlam 3.2s steps(3, end) infinite;
}
/* Live-status dot: a smooth breathe rather than the hard on/off of the
terminal cursor, since it runs for the whole length of a query. */
@keyframes livePulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.3; transform: scale(0.72); }
}
.live-dot {
animation: livePulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@media (prefers-reduced-motion: reduce) {
.live-dot {
animation: none;
}
}
/* Blinking cursor */
@keyframes blink {
0%, 49% { opacity: 1; }
50%, 100% { opacity: 0; }
}
.blink {
animation: blink 1s step-end infinite;
}
/* Chunky retro scrollbars */
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
::-webkit-scrollbar-track {
background: #000;
border-left: 2px solid #292524;
}
::-webkit-scrollbar-thumb {
background: #57534e;
border: 2px solid #000;
}
::-webkit-scrollbar-thumb:hover {
background: var(--accent);
}
/* Code blocks use the stock Atom One Dark theme (imported in
Markdown.tsx). Keep our pre's black box: transparent bg, no double
padding; the theme supplies the token colors. */
.md-body pre code.hljs {
background: transparent;
padding: 0;
}
/* Code in answers: SF Mono on Apple devices, platform mono elsewhere */
.md-body code,
.md-body pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.9em;
}
|