nofi-website/app/globals.css

83 lines
1.8 KiB
CSS

@import "tailwindcss";
@theme {
--color-void: #0a0a0a;
--color-nothing: #1a1a2e;
--color-less: #16213e;
--color-anti-green: #e94560;
--color-zen: #f5f5dc;
--color-sloth: #c3b091;
--font-family-mono: "Courier New", monospace;
--font-family-marker: var(--font-marker), "Permanent Marker", cursive;
--font-family-caveat: var(--font-caveat), "Caveat", cursive;
}
@keyframes float-up {
0% { transform: translateY(0) rotate(0deg); opacity: 1; }
100% { transform: translateY(-200px) rotate(45deg); opacity: 0; }
}
@keyframes slow-pulse {
0%, 100% { opacity: 0.3; }
50% { opacity: 0.6; }
}
@keyframes drift {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(20px); }
}
@keyframes strikethrough {
0% { width: 0; }
100% { width: 100%; }
}
.animate-slow-pulse {
animation: slow-pulse 8s ease-in-out infinite;
}
.animate-drift {
animation: drift 12s ease-in-out infinite;
}
.strikethrough-animate {
position: relative;
display: inline-block;
}
.strikethrough-animate::after {
content: '';
position: absolute;
left: 0;
top: 50%;
height: 3px;
background: var(--color-anti-green);
animation: strikethrough 2s ease-out forwards;
animation-delay: 1s;
width: 0;
}
/* Casual wobble classes for that hand-drawn feel */
.wobble-1 { transform: rotate(-1.5deg); }
.wobble-2 { transform: rotate(0.8deg); }
.wobble-3 { transform: rotate(-0.5deg); }
.wobble-4 { transform: rotate(1.2deg); }
/* Scrawly underline for section headers */
.scrawl-underline {
position: relative;
display: inline-block;
}
.scrawl-underline::after {
content: '';
position: absolute;
left: -5%;
bottom: -4px;
width: 110%;
height: 3px;
background: var(--color-anti-green);
transform: rotate(-0.5deg) scaleX(0.95);
border-radius: 2px;
opacity: 0.6;
}