170 lines
2.9 KiB
CSS
170 lines
2.9 KiB
CSS
/* Creators page - Discover creators, filter buttons, creator cards */
|
|
|
|
/* Full width layout */
|
|
.layout > div[style*="flex:1"] {
|
|
margin: 0 !important;
|
|
max-width: 100% !important;
|
|
padding: 0 !important;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.creators-main {
|
|
background: transparent !important;
|
|
padding: 20px 32px !important;
|
|
margin: 0 auto !important;
|
|
width: 100%;
|
|
max-width: 1400px;
|
|
}
|
|
|
|
/* Header */
|
|
.creators-header {
|
|
text-align: center;
|
|
margin-bottom: 24px;
|
|
}
|
|
.creators-header h1 {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
}
|
|
.creators-header p {
|
|
color: #64748b;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* Filter buttons */
|
|
.filter-buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 32px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
padding-bottom: 16px;
|
|
}
|
|
.filter-btn {
|
|
background: transparent;
|
|
border: none;
|
|
padding: 8px 20px;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
border-radius: 30px;
|
|
transition: all 0.2s;
|
|
}
|
|
.filter-btn.active {
|
|
background: var(--gradient);
|
|
color: white;
|
|
}
|
|
.filter-btn:hover:not(.active) {
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
/* Creators grid */
|
|
.creators-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
/* Creator card */
|
|
.creator-card {
|
|
background: #fff;
|
|
border-radius: 18px;
|
|
box-shadow: 0 2px 8px rgba(59,130,246,0.06);
|
|
padding: 20px;
|
|
display: flex;
|
|
gap: 16px;
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
.creator-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 20px rgba(59,130,246,0.12);
|
|
}
|
|
|
|
.creator-avatar {
|
|
width: 70px;
|
|
height: 70px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.creator-info {
|
|
flex: 1;
|
|
}
|
|
.creator-name {
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
margin-bottom: 4px;
|
|
}
|
|
.creator-handle {
|
|
color: #64748b;
|
|
font-size: 0.85rem;
|
|
margin-bottom: 8px;
|
|
}
|
|
.creator-bio {
|
|
color: #334155;
|
|
font-size: 0.85rem;
|
|
line-height: 1.4;
|
|
margin-bottom: 12px;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
.creator-stats {
|
|
display: flex;
|
|
gap: 16px;
|
|
margin-bottom: 12px;
|
|
font-size: 0.8rem;
|
|
color: #64748b;
|
|
}
|
|
.creator-stats i {
|
|
margin-right: 4px;
|
|
}
|
|
.follow-btn {
|
|
background: var(--gradient);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 14px;
|
|
padding: 6px 16px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: opacity 0.2s;
|
|
}
|
|
.follow-btn:hover {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.creators-main {
|
|
padding: 16px !important;
|
|
}
|
|
.filter-buttons {
|
|
gap: 8px;
|
|
}
|
|
.filter-btn {
|
|
padding: 6px 14px;
|
|
font-size: 0.8rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.creators-main {
|
|
padding: 12px !important;
|
|
}
|
|
.creator-card {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
.creator-stats {
|
|
justify-content: center;
|
|
}
|
|
.follow-btn {
|
|
width: 100%;
|
|
}
|
|
} |