bytebazaar / styles.css
Clings's picture
Now create the css and js
6775045 verified
Raw History Blame Contribute Delete
2.28 kB
```css
/* Main Styles */
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
color: #333;
}
/* Animation Classes */
.transition-all {
transition: all 0.3s ease;
}
/* Buttons */
.btn-primary {
background-color: #6366f1;
color: white;
padding: 0.75rem 1.5rem;
border-radius: 0.375rem;
font-weight: 500;
transition: background-color 0.3s ease;
}
.btn-primary:hover {
background-color: #4f46e5;
}
.btn-secondary {
background-color: #8b5cf6;
color: white;
padding: 0.75rem 1.5rem;
border-radius: 0.375rem;
font-weight: 500;
transition: background-color 0.3s ease;
}
.btn-secondary:hover {
background-color: #7c3aed;
}
/* Forms */
.input-field {
width: 100%;
padding: 0.75rem;
border: 1px solid #d1d5db;
border-radius: 0.375rem;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.input-field:focus {
border-color: #6366f1;
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
outline: none;
}
/* Cards */
.card {
background: white;
border-radius: 0.5rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
/* Utility Classes */
.text-primary {
color: #6366f1;
}
.bg-primary {
background-color: #6366f1;
}
.text-secondary {
color: #8b5cf6;
}
.bg-secondary {
background-color: #8b5cf6;
}
/* Responsive Grid */
.grid-responsive {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1.5rem;
}
/* Navigation */
.nav-link {
position: relative;
padding: 0.5rem 1rem;
font-weight: 500;
color: #6b7280;
}
.nav-link:hover {
color: #6366f1;
}
.nav-link.active {
color: #6366f1;
}
.nav-link.active::after {
content: '';
position: absolute;
bottom: -1px;
left: 1rem;
right: 1rem;
height: 2px;
background-color: #6366f1;
}
/* Mobile Menu */
.mobile-menu {
transform: translateX(-100%);
transition: transform 0.3s ease;
}
.mobile-menu.open {
transform: translateX(0);
}
/* Hero Section */
.hero-gradient {
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}
```