megaeth-clone / style.css
Maniac8nd3's picture
Can you build me a duplicate of mega ETH website that i can use to generate banners / announcements https://www.megaeth.com/
d25c33d verified
Raw
History Blame Contribute Delete
2.14 kB
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
:root {
--primary-color: #8B5CF6;
--secondary-color: #EC4899;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
body {
background-color: #111827;
color: #F9FAFB;
line-height: 1.6;
}
.container {
max-width: 1200px;
}
.btn {
display: inline-block;
padding: 12px 24px;
border-radius: 8px;
font-weight: 600;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
}
.btn-primary {
background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
color: white;
border: none;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.gradient-bg {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.card {
background: #1F2937;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
}
.input-field {
background: #1F2937;
border: 1px solid #374151;
border-radius: 8px;
padding: 12px 16px;
width: 100%;
color: white;
font-size: 16px;
transition: border-color 0.3s ease;
}
.input-field:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}
/* Animation keyframes */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in {
animation: fadeIn 0.6s ease forwards;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.hero-section {
padding: 2rem 1rem;
}
.hero-title {
font-size: 2.5rem;
}
.features-grid {
grid-template-columns: 1fr;
}
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #1F2937;
}
::-webkit-scrollbar-thumb {
background: var(--primary-color);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--secondary-color);
}