incr/resources/css/app.css
myrmidex 1f53dc8ca9
Some checks failed
CI / ci (push) Failing after 1m39s
CI / ci (pull_request) Failing after 1m38s
CI / build (push) Failing after 41s
CI / build (pull_request) Failing after 40s
59 - Fix 7-segment font failing to load from the Vite dev server
2026-08-16 09:44:06 +02:00

25 lines
570 B
CSS

@import 'tailwindcss';
@source '../views';
@font-face {
font-family: '7Segment';
/* Relative so Vite resolves and fingerprints it; an absolute /fonts path
404s against the dev server, which serves assets itself. */
src: url('../fonts/7segment.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.font-digital {
font-family: '7Segment', monospace;
}
.glow-red {
box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
transition: box-shadow 300ms ease;
}
.glow-red:hover {
box-shadow: 0 0 25px rgba(239, 68, 68, 0.6);
}