jp-visser/app/globals.css
2026-04-14 21:39:50 +02:00

79 lines
1.2 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--accent: #c2339b;
--bg: #0f0f14;
--text: #e8e4df;
--text-muted: rgba(255, 255, 255, 0.5);
--text-dim: rgba(255, 255, 255, 0.35);
--surface: rgba(255, 255, 255, 0.03);
--border: rgba(255, 255, 255, 0.06);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background: var(--bg);
color: var(--text);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
::selection {
background: rgba(194, 51, 155, 0.35);
color: #fff;
}
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: var(--bg);
}
::-webkit-scrollbar-thumb {
background: rgba(194, 51, 155, 0.3);
border-radius: 3px;
}
a {
transition: opacity 0.2s;
}
a:hover {
opacity: 0.85;
}
/* Fade-in animation */
@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(28px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in {
opacity: 0;
transform: translateY(28px);
transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}