ffcc9393's picture
Redesign my website
5d166b9 verified
Raw History Blame Contribute Delete
2.71 kB
/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background-color: #18181b;
color: #fafafa;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #27272a;
}
::-webkit-scrollbar-thumb {
background: #f59e0b;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #d97706;
}
/* Smooth transitions */
* {
transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
/* Gradient text */
.gradient-text {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Hover effects */
.hover-lift {
transition: transform 0.2s ease-in-out;
}
.hover-lift:hover {
transform: translateY(-2px);
}
/* Custom button styles */
.btn-amber {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
color: white;
font-weight: 600;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
transition: all 0.3s ease;
}
.btn-amber:hover {
transform: translateY(-1px);
box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4);
background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}
/* Card styles */
.card {
background: #27272a;
border: 1px solid #3f3f46;
border-radius: 0.75rem;
transition: all 0.3s ease;
}
.card:hover {
border-color: #f59e0b;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
transform: translateY(-4px);
}
/* Feature icon animations */
.feature-icon {
transition: transform 0.3s ease;
}
.feature-icon:hover {
transform: scale(1.1);
}
/* Loading animation */
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
.pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* Responsive text */
@media (max-width: 768px) {
.responsive-text {
font-size: 1.125rem;
line-height: 1.75rem;
}
}
/* Dark mode enhancements */
.dark .bg-surface {
background: #27272a;
}
.dark .text-muted {
color: #a1a1aa;
}
/* Grid layout improvements */
.grid-auto-fit {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
/* Custom border radius */
.rounded-inherit {
border-radius: inherit;
}
/* Focus states for accessibility */
.focus-visible:focus {
outline: 2px solid #f59e0b;
outline-offset: 2px;
}