Files
fly-personal-site/src/app/globals.css
T

63 lines
1.2 KiB
CSS
Raw Normal View History

2026-06-08 11:29:23 +08:00
@import "tailwindcss";
:root {
2026-06-08 13:53:22 +08:00
--background: #101411;
--foreground: #f4efe4;
2026-06-08 11:29:23 +08:00
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
2026-06-08 13:53:22 +08:00
--font-sans: var(--font-body);
--font-mono: var(--font-code);
--font-display: var(--font-heading);
2026-06-08 11:29:23 +08:00
}
2026-06-08 13:53:22 +08:00
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
2026-06-08 11:29:23 +08:00
}
body {
2026-06-08 13:53:22 +08:00
margin: 0;
2026-06-08 11:29:23 +08:00
background: var(--background);
color: var(--foreground);
2026-06-08 13:53:22 +08:00
font-family: var(--font-body), sans-serif;
}
::selection {
background: #d3ff30;
color: #101411;
}
a {
text-decoration: none;
}
.noise-layer {
position: absolute;
inset: 0;
z-index: -1;
pointer-events: none;
opacity: 0.2;
background-image:
radial-gradient(circle at 18% 30%, rgba(244, 239, 228, 0.18) 0 1px, transparent 1px),
radial-gradient(circle at 72% 64%, rgba(211, 255, 48, 0.14) 0 1px, transparent 1px);
background-size: 34px 34px, 46px 46px;
mix-blend-mode: screen;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
}
2026-06-08 11:29:23 +08:00
}