Files
portfolio/app/globals.css
denshooter b051d9d2ef style: refine admin dashboard and project management UI with cohesive color palette and improved readability
- Update background colors and text styles for better contrast and legibility.
- Enhance button styles and hover effects for a more modern look.
- Remove unnecessary scaling effects and adjust border styles for consistency.
- Introduce a cohesive design language across components to improve user experience.
2026-01-10 02:40:50 +01:00

216 lines
4.8 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
:root {
/* Organic Modern Palette */
--background: #fdfcf8; /* Cream */
--foreground: #292524; /* Warm Grey */
--card: rgba(255, 255, 255, 0.6);
--card-foreground: #292524;
--popover: #ffffff;
--popover-foreground: #292524;
--primary: #292524;
--primary-foreground: #fdfcf8;
--secondary: #e7e5e4;
--secondary-foreground: #292524;
--muted: #f5f5f4;
--muted-foreground: #78716c;
--accent: #f3f1e7; /* Sand */
--accent-foreground: #292524;
--destructive: #ef4444;
--destructive-foreground: #fdfcf8;
--border: #e7e5e4;
--input: #e7e5e4;
--ring: #a7f3d0; /* Mint ring */
--radius: 1rem;
}
body {
background-color: var(--background);
color: var(--foreground);
font-family: "Inter", sans-serif;
margin: 0;
padding: 0;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
/* Custom Selection */
::selection {
background: #a7f3d0; /* Mint */
color: #292524;
}
/* Smooth Scrolling */
html {
scroll-behavior: smooth;
}
/* Liquid Glass Effects */
.glass-panel {
background: rgba(255, 255, 255, 0.4);
backdrop-filter: blur(12px) saturate(120%);
-webkit-backdrop-filter: blur(12px) saturate(120%);
border: 1px solid rgba(255, 255, 255, 0.7);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
will-change: backdrop-filter;
}
.glass-card {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(24px) saturate(180%);
-webkit-backdrop-filter: blur(24px) saturate(180%);
border: 1px solid rgba(255, 255, 255, 0.85);
box-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.03),
0 2px 4px -1px rgba(0, 0, 0, 0.02),
inset 0 0 20px rgba(255, 255, 255, 0.5);
transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
will-change: transform, box-shadow;
}
.glass-card:hover {
background: rgba(255, 255, 255, 0.8);
box-shadow:
0 20px 25px -5px rgba(0, 0, 0, 0.08),
0 10px 10px -5px rgba(0, 0, 0, 0.02),
inset 0 0 20px rgba(255, 255, 255, 0.8);
transform: translateY(-4px);
border-color: #ffffff;
}
/* Typography & Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
letter-spacing: -0.02em;
font-weight: 700;
color: #292524;
}
/* Improve text contrast */
p,
span,
div {
color: #44403c;
}
/* Hide scrollbar but keep functionality */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #d6d3d1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #a8a29e;
}
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* Animations */
@keyframes float {
0%,
100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}
.animate-float {
animation: float 8s ease-in-out infinite;
will-change: transform;
}
/* Liquid Blobs Background */
.liquid-bg-blob {
position: absolute;
filter: blur(80px);
opacity: 0.6;
z-index: -1;
animation: float 10s ease-in-out infinite;
}
/* Markdown Specifics for Blog/Projects */
.markdown h1 {
@apply text-4xl font-bold mb-6 text-stone-900 tracking-tight;
}
.markdown h2 {
@apply text-2xl font-semibold mt-8 mb-4 text-stone-900 tracking-tight;
}
.markdown p {
@apply mb-4 leading-relaxed text-stone-700;
}
.markdown a {
@apply text-stone-900 underline decoration-liquid-mint decoration-2 underline-offset-2 hover:text-black transition-colors duration-300;
}
.markdown ul {
@apply list-disc list-inside mb-4 space-y-2 text-stone-700;
}
.markdown code {
@apply bg-stone-100 px-1.5 py-0.5 rounded text-sm text-stone-900 font-mono;
}
.markdown pre {
@apply bg-stone-900 text-stone-50 p-4 rounded-xl overflow-x-auto mb-6;
}
/* Admin Dashboard Styles - Organic Modern */
.animated-bg {
background: #fdfcf8;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.admin-glass {
background: rgba(253, 252, 248, 0.9);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid #e7e5e4;
color: #292524;
}
.admin-glass-light {
background: #ffffff;
border: 1px solid #e7e5e4;
color: #292524;
transition: all 0.2s ease;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.admin-glass-light:hover {
background: #fdfcf8;
border-color: #d6d3d1;
box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.admin-glass-card {
background: #ffffff;
border: 1px solid #e7e5e4;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
color: #292524;
}