Replace generic blue/gray colors with warm editorial palette: - Navigation: coral active states, branded logo colors - Footer: navy background, gold section titles - FilterBar: coral search button and focus states - SchoolCard: coral left accent on hover, teal/coral buttons - HomeView: gradient hero section, Playfair Display headings - RankingsView: gold top-3 highlights, warm table styling - ComparisonView: teal card borders, coral buttons Consistent use of CSS variables and Playfair Display serif font for headings throughout. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
157 lines
2.8 KiB
CSS
157 lines
2.8 KiB
CSS
.homeView {
|
|
width: 100%;
|
|
}
|
|
|
|
.hero {
|
|
text-align: center;
|
|
margin-bottom: 3rem;
|
|
padding: 3rem 2rem;
|
|
background: linear-gradient(135deg, var(--bg-secondary, #f3ede4) 0%, var(--bg-primary, #faf7f2) 100%);
|
|
border-radius: 16px;
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
}
|
|
|
|
.heroTitle {
|
|
font-size: 2.75rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary, #1a1612);
|
|
margin-bottom: 1rem;
|
|
line-height: 1.2;
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
|
}
|
|
|
|
.heroDescription {
|
|
font-size: 1.125rem;
|
|
color: var(--text-secondary, #5c564d);
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.locationBanner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 1rem 1.5rem;
|
|
background: rgba(45, 125, 125, 0.1);
|
|
border: 1px solid rgba(45, 125, 125, 0.3);
|
|
border-radius: 12px;
|
|
margin-bottom: 2rem;
|
|
font-size: 0.9375rem;
|
|
color: var(--accent-teal, #2d7d7d);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.locationIcon {
|
|
font-size: 1.25rem;
|
|
color: var(--accent-teal, #2d7d7d);
|
|
}
|
|
|
|
.results {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.sectionHeader {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.sectionHeader h2 {
|
|
font-size: 1.875rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--text-primary, #1a1612);
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
|
}
|
|
|
|
.sectionDescription {
|
|
font-size: 1rem;
|
|
color: var(--text-secondary, #5c564d);
|
|
margin: 0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.resultsHeader {
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 2px solid var(--border-color, #e5dfd5);
|
|
}
|
|
|
|
.resultsHeader h2 {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary, #1a1612);
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.resultsHeader h2::before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 4px;
|
|
height: 1.25em;
|
|
background: var(--accent-coral, #e07256);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.emptyState {
|
|
text-align: center;
|
|
padding: 4rem 2rem;
|
|
background: var(--bg-card, white);
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.emptyStateTitle {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary, #1a1612);
|
|
margin-bottom: 0.5rem;
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
|
}
|
|
|
|
.emptyStateDescription {
|
|
font-size: 1rem;
|
|
color: var(--text-secondary, #5c564d);
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero {
|
|
padding: 2rem 1rem;
|
|
margin-bottom: 2rem;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.heroTitle {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.heroDescription {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.locationBanner {
|
|
padding: 0.875rem 1rem;
|
|
font-size: 0.875rem;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.emptyState {
|
|
padding: 3rem 1.5rem;
|
|
}
|
|
}
|