rebuild portfolio: Next.js 16, React 19, Tailwind v4, homelab page, CI/CD
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
This commit is contained in:
72
src/app/globals.css
Normal file
72
src/app/globals.css
Normal file
@@ -0,0 +1,72 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
@variant dark (&:where(.dark, .dark *));
|
||||
|
||||
@theme {
|
||||
/* Colors */
|
||||
--color-green: #2bf3c4;
|
||||
--color-green-dark: #27bb98;
|
||||
--color-green-darker: #238770;
|
||||
--color-green-darkest: #1f4b40;
|
||||
|
||||
--color-bg: #272727;
|
||||
--color-bg-deep: #1b1b1b;
|
||||
--color-surface: #333333;
|
||||
|
||||
--color-grey-1: #4b4b4b;
|
||||
--color-grey-2: #707171;
|
||||
--color-grey-3: #999a9a;
|
||||
--color-grey-4: #c5c6c6;
|
||||
|
||||
--color-text: #c5c6c6;
|
||||
--color-text-muted: #999a9a;
|
||||
--color-text-light: #f7f9fb;
|
||||
|
||||
/* Typography */
|
||||
--font-mono: "Source Code Pro", ui-monospace, monospace;
|
||||
--font-sans: "Montserrat", ui-sans-serif, system-ui, sans-serif;
|
||||
|
||||
/* Breakpoints */
|
||||
--breakpoint-xs: 576px;
|
||||
|
||||
/* Animations */
|
||||
--animate-fade-in: fadeIn 0.6s ease forwards;
|
||||
--animate-slide-up: slideUp 0.5s ease forwards;
|
||||
--animate-app-scale: appScale 0.4s ease forwards;
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
@keyframes slideUp {
|
||||
from { opacity: 0; transform: translateY(20px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
@keyframes appScale {
|
||||
from { transform: scale(0.97); opacity: 0; }
|
||||
to { transform: scale(1); opacity: 1; }
|
||||
}
|
||||
}
|
||||
|
||||
/* Base */
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
background-color: var(--color-bg-deep);
|
||||
color: var(--color-text);
|
||||
font-family: var(--font-sans);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user