init
This commit is contained in:
466
app/globals.css
Normal file
466
app/globals.css
Normal file
@@ -0,0 +1,466 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
/* Modern grid background effect */
|
||||
.bg-grid-slate-700\/25 {
|
||||
background-image: radial-gradient(
|
||||
circle,
|
||||
rgb(51 65 85 / 0.25) 1px,
|
||||
transparent 1px
|
||||
);
|
||||
}
|
||||
|
||||
/* Cyberpunk glow effects */
|
||||
.glow-violet {
|
||||
box-shadow: 0 0 20px rgb(139 92 246 / 0.3);
|
||||
}
|
||||
|
||||
.glow-cyan {
|
||||
box-shadow: 0 0 20px rgb(34 211 238 / 0.3);
|
||||
}
|
||||
|
||||
/* Animated gradient text */
|
||||
.gradient-text {
|
||||
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
|
||||
background-size: 400% 400%;
|
||||
animation: gradient 15s ease infinite;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
@keyframes gradient {
|
||||
0% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
50% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Floating animation for tech elements */
|
||||
.float {
|
||||
animation: float 6s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0% {
|
||||
transform: translateY(0px);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
100% {
|
||||
transform: translateY(0px);
|
||||
}
|
||||
}
|
||||
|
||||
/* Pulse effect for active elements */
|
||||
.pulse-slow {
|
||||
animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse-slow {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tech border animations */
|
||||
.tech-border {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tech-border::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent,
|
||||
rgba(139, 92, 246, 0.4),
|
||||
transparent
|
||||
);
|
||||
transition: left 0.5s;
|
||||
}
|
||||
|
||||
.tech-border:hover::before {
|
||||
left: 100%;
|
||||
}
|
||||
@import "tw-animate-css";
|
||||
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
|
||||
:root {
|
||||
--background: oklch(0.98 0.005 240);
|
||||
--foreground: oklch(0.145 0 0);
|
||||
--card: oklch(0.995 0.003 240);
|
||||
--card-foreground: oklch(0.145 0 0);
|
||||
--popover: oklch(0.995 0.003 240);
|
||||
--popover-foreground: oklch(0.145 0 0);
|
||||
--primary: oklch(0.205 0 0);
|
||||
--primary-foreground: oklch(0.985 0 0);
|
||||
--secondary: oklch(0.955 0.01 240);
|
||||
--secondary-foreground: oklch(0.205 0 0);
|
||||
--muted: oklch(0.955 0.01 240);
|
||||
--muted-foreground: oklch(0.556 0 0);
|
||||
--accent: oklch(0.955 0.01 240);
|
||||
--accent-foreground: oklch(0.205 0 0);
|
||||
--destructive: oklch(0.577 0.245 27.325);
|
||||
--destructive-foreground: oklch(0.577 0.245 27.325);
|
||||
--border: oklch(0.895 0.015 240);
|
||||
--input: oklch(0.895 0.015 240);
|
||||
--ring: oklch(0.708 0 0);
|
||||
--chart-1: oklch(0.646 0.222 41.116);
|
||||
--chart-2: oklch(0.6 0.118 184.704);
|
||||
--chart-3: oklch(0.398 0.07 227.392);
|
||||
--chart-4: oklch(0.828 0.189 84.429);
|
||||
--chart-5: oklch(0.769 0.188 70.08);
|
||||
--radius: 0.625rem;
|
||||
--sidebar: oklch(0.98 0.005 240);
|
||||
--sidebar-foreground: oklch(0.145 0 0);
|
||||
--sidebar-primary: oklch(0.205 0 0);
|
||||
--sidebar-primary-foreground: oklch(0.985 0 0);
|
||||
--sidebar-accent: oklch(0.955 0.01 240);
|
||||
--sidebar-accent-foreground: oklch(0.205 0 0);
|
||||
--sidebar-border: oklch(0.895 0.015 240);
|
||||
--sidebar-ring: oklch(0.708 0 0);
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: oklch(0.11 0.015 245);
|
||||
--foreground: oklch(0.985 0 0);
|
||||
--card: oklch(0.18 0.02 245);
|
||||
--card-foreground: oklch(0.985 0 0);
|
||||
--popover: oklch(0.18 0.02 245);
|
||||
--popover-foreground: oklch(0.985 0 0);
|
||||
--primary: oklch(0.985 0 0);
|
||||
--primary-foreground: oklch(0.205 0 0);
|
||||
--secondary: oklch(0.25 0.025 245);
|
||||
--secondary-foreground: oklch(0.985 0 0);
|
||||
--muted: oklch(0.25 0.025 245);
|
||||
--muted-foreground: oklch(0.708 0 0);
|
||||
--accent: oklch(0.25 0.025 245);
|
||||
--accent-foreground: oklch(0.985 0 0);
|
||||
--destructive: oklch(0.396 0.141 25.723);
|
||||
--destructive-foreground: oklch(0.637 0.237 25.331);
|
||||
--border: oklch(0.32 0.03 245);
|
||||
--input: oklch(0.32 0.03 245);
|
||||
--ring: oklch(0.439 0 0);
|
||||
--chart-1: oklch(0.488 0.243 264.376);
|
||||
--chart-2: oklch(0.696 0.17 162.48);
|
||||
--chart-3: oklch(0.769 0.188 70.08);
|
||||
--chart-4: oklch(0.627 0.265 303.9);
|
||||
--chart-5: oklch(0.645 0.246 16.439);
|
||||
--sidebar: oklch(0.16 0.02 245);
|
||||
--sidebar-foreground: oklch(0.985 0 0);
|
||||
--sidebar-primary: oklch(0.488 0.243 264.376);
|
||||
--sidebar-primary-foreground: oklch(0.985 0 0);
|
||||
--sidebar-accent: oklch(0.25 0.025 245);
|
||||
--sidebar-accent-foreground: oklch(0.985 0 0);
|
||||
--sidebar-border: oklch(0.32 0.03 245);
|
||||
--sidebar-ring: oklch(0.439 0 0);
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
--font-sans: var(--font-inter);
|
||||
--font-mono: var(--font-jetbrains-mono);
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--color-card: var(--card);
|
||||
--color-card-foreground: var(--card-foreground);
|
||||
--color-popover: var(--popover);
|
||||
--color-popover-foreground: var(--popover-foreground);
|
||||
--color-primary: var(--primary);
|
||||
--color-primary-foreground: var(--primary-foreground);
|
||||
--color-secondary: var(--secondary);
|
||||
--color-secondary-foreground: var(--secondary-foreground);
|
||||
--color-muted: var(--muted);
|
||||
--color-muted-foreground: var(--muted-foreground);
|
||||
--color-accent: var(--accent);
|
||||
--color-accent-foreground: var(--accent-foreground);
|
||||
--color-destructive: var(--destructive);
|
||||
--color-destructive-foreground: var(--destructive-foreground);
|
||||
--color-border: var(--border);
|
||||
--color-input: var(--input);
|
||||
--color-ring: var(--ring);
|
||||
--color-chart-1: var(--chart-1);
|
||||
--color-chart-2: var(--chart-2);
|
||||
--color-chart-3: var(--chart-3);
|
||||
--color-chart-4: var(--chart-4);
|
||||
--color-chart-5: var(--chart-5);
|
||||
--radius-sm: calc(var(--radius) - 4px);
|
||||
--radius-md: calc(var(--radius) - 2px);
|
||||
--radius-lg: var(--radius);
|
||||
--radius-xl: calc(var(--radius) + 4px);
|
||||
--color-sidebar: var(--sidebar);
|
||||
--color-sidebar-foreground: var(--sidebar-foreground);
|
||||
--color-sidebar-primary: var(--sidebar-primary);
|
||||
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
||||
--color-sidebar-accent: var(--sidebar-accent);
|
||||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||||
--color-sidebar-border: var(--sidebar-border);
|
||||
--color-sidebar-ring: var(--sidebar-ring);
|
||||
}
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply border-border outline-ring/50;
|
||||
}
|
||||
body {
|
||||
@apply bg-background text-foreground;
|
||||
}
|
||||
}
|
||||
|
||||
/* Custom scrollbar */
|
||||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: #f1f5f9;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #cbd5e1;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #94a3b8;
|
||||
}
|
||||
|
||||
/* Dark mode scrollbar */
|
||||
.dark ::-webkit-scrollbar-track {
|
||||
background: #1e293b;
|
||||
}
|
||||
|
||||
.dark ::-webkit-scrollbar-thumb {
|
||||
background: #475569;
|
||||
}
|
||||
|
||||
.dark ::-webkit-scrollbar-thumb:hover {
|
||||
background: #64748b;
|
||||
}
|
||||
|
||||
/* Code syntax highlighting */
|
||||
pre code {
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
|
||||
/* Adding tech-style custom animations and effects */
|
||||
@keyframes matrix-rain {
|
||||
0% {
|
||||
transform: translateY(-100vh);
|
||||
opacity: 0;
|
||||
}
|
||||
10% {
|
||||
opacity: 1;
|
||||
}
|
||||
90% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
transform: translateY(100vh);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes glow-pulse {
|
||||
0%,
|
||||
100% {
|
||||
box-shadow: 0 0 5px currentColor;
|
||||
}
|
||||
50% {
|
||||
box-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
|
||||
}
|
||||
}
|
||||
|
||||
.matrix-rain {
|
||||
animation: matrix-rain 3s linear infinite;
|
||||
}
|
||||
|
||||
.glow-pulse {
|
||||
animation: glow-pulse 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* Tech grid background */
|
||||
.tech-grid {
|
||||
background-image: linear-gradient(
|
||||
rgba(59, 130, 246, 0.1) 1px,
|
||||
transparent 1px
|
||||
),
|
||||
linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
|
||||
background-size: 50px 50px;
|
||||
}
|
||||
|
||||
/* Glitch effect for headers */
|
||||
.glitch {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.glitch::before,
|
||||
.glitch::after {
|
||||
content: attr(data-text);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.glitch::before {
|
||||
animation: glitch-1 0.5s infinite;
|
||||
color: #ff0000;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.glitch::after {
|
||||
animation: glitch-2 0.5s infinite;
|
||||
color: #00ff00;
|
||||
z-index: -2;
|
||||
}
|
||||
|
||||
@keyframes glitch-1 {
|
||||
0%,
|
||||
14%,
|
||||
15%,
|
||||
49%,
|
||||
50%,
|
||||
99%,
|
||||
100% {
|
||||
transform: translate(0);
|
||||
}
|
||||
15%,
|
||||
49% {
|
||||
transform: translate(-2px, -1px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes glitch-2 {
|
||||
0%,
|
||||
20%,
|
||||
21%,
|
||||
62%,
|
||||
63%,
|
||||
99%,
|
||||
100% {
|
||||
transform: translate(0);
|
||||
}
|
||||
21%,
|
||||
62% {
|
||||
transform: translate(2px, 1px);
|
||||
}
|
||||
}
|
||||
|
||||
/* Terminal cursor */
|
||||
.terminal-cursor::after {
|
||||
content: "▋";
|
||||
animation: blink 1s infinite;
|
||||
color: #00ff00;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0%,
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
51%,
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Holographic animations */
|
||||
@keyframes holo-shift {
|
||||
0% {
|
||||
filter: hue-rotate(0deg);
|
||||
}
|
||||
25% {
|
||||
filter: hue-rotate(90deg);
|
||||
}
|
||||
50% {
|
||||
filter: hue-rotate(180deg);
|
||||
}
|
||||
75% {
|
||||
filter: hue-rotate(270deg);
|
||||
}
|
||||
100% {
|
||||
filter: hue-rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes holo-scan {
|
||||
0% {
|
||||
transform: translateX(-100%) skewX(-12deg);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(300%) skewX(-12deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes holo-line-1 {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: scaleX(0);
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
transform: scaleX(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes holo-line-2 {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: scaleX(0);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: scaleX(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes holo-line-3 {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: scaleX(0);
|
||||
}
|
||||
70% {
|
||||
opacity: 1;
|
||||
transform: scaleX(1);
|
||||
}
|
||||
}
|
||||
|
||||
.animate-holo-shift {
|
||||
animation: holo-shift 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.animate-holo-scan {
|
||||
animation: holo-scan 2s ease-out infinite;
|
||||
}
|
||||
|
||||
.animate-holo-line-1 {
|
||||
animation: holo-line-1 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.animate-holo-line-2 {
|
||||
animation: holo-line-2 2.2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.animate-holo-line-3 {
|
||||
animation: holo-line-3 2.4s ease-in-out infinite;
|
||||
}
|
||||
Reference in New Issue
Block a user