Files
school_compare/nextjs-app/components/HomeView.module.css

104 lines
1.4 KiB
CSS
Raw Normal View History

.homeView {
width: 100%;
}
.hero {
text-align: center;
margin-bottom: 3rem;
padding: 2rem 0;
}
.heroTitle {
font-size: 2.5rem;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 1rem;
line-height: 1.2;
}
.heroDescription {
font-size: 1.125rem;
color: var(--text-secondary);
max-width: 600px;
margin: 0 auto;
}
.locationBanner {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 1rem 1.5rem;
background: #eff6ff;
border: 1px solid #bfdbfe;
border-radius: 8px;
margin-bottom: 2rem;
font-size: 0.9375rem;
color: #1e40af;
}
.locationIcon {
font-size: 1.25rem;
}
.results {
margin-top: 2rem;
}
.sectionHeader {
margin-bottom: 2rem;
}
.sectionHeader h2 {
font-size: 1.875rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.sectionDescription {
font-size: 1rem;
color: var(--text-secondary);
margin: 0;
}
.resultsHeader {
margin-bottom: 2rem;
}
.resultsHeader h2 {
font-size: 1.5rem;
font-weight: 600;
color: var(--text-primary);
margin: 0;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}
@media (max-width: 768px) {
.hero {
padding: 1rem 0;
margin-bottom: 2rem;
}
.heroTitle {
font-size: 2rem;
}
.heroDescription {
font-size: 1rem;
}
.grid {
grid-template-columns: 1fr;
}
.locationBanner {
padding: 0.875rem 1rem;
font-size: 0.875rem;
}
}