implementing map on school card; adding more school details
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 59s

This commit is contained in:
Tudor
2026-01-08 23:20:42 +00:00
parent 34f40c0c1c
commit b7943e1042
5 changed files with 294 additions and 14 deletions

View File

@@ -493,12 +493,32 @@ body {
color: var(--accent-teal);
}
.school-tag.faith {
background: rgba(138, 43, 226, 0.1);
color: #8a2be2;
}
.school-address {
font-size: 0.85rem;
color: var(--text-muted);
margin-bottom: 0.5rem;
}
.school-details {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1rem;
}
.age-range {
font-size: 0.75rem;
color: var(--text-secondary);
padding: 0.2rem 0.5rem;
background: var(--bg-secondary);
border-radius: var(--radius-sm);
}
.school-stats {
display: grid;
grid-template-columns: repeat(2, 1fr);
@@ -532,6 +552,97 @@ body {
letter-spacing: 0.05em;
}
/* School Card Map */
.school-map {
height: 150px;
margin-top: 1rem;
border-radius: var(--radius-md);
overflow: hidden;
cursor: pointer;
border: 1px solid var(--border-color);
transition: var(--transition);
}
.school-map:hover {
border-color: var(--accent-coral);
box-shadow: var(--shadow-small);
}
/* Fullscreen Map Modal */
.map-modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
animation: fadeIn 0.2s ease;
}
.map-modal {
background: var(--bg-card);
border-radius: var(--radius-lg);
width: 100%;
max-width: 900px;
max-height: 90vh;
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: var(--shadow-large);
animation: slideUp 0.3s ease;
}
.map-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--border-color);
}
.map-modal-header h3 {
font-family: 'Playfair Display', Georgia, serif;
font-size: 1.25rem;
font-weight: 600;
color: var(--text-primary);
margin: 0;
}
.map-modal-close {
background: none;
border: none;
font-size: 1.75rem;
color: var(--text-muted);
cursor: pointer;
padding: 0.25rem 0.5rem;
line-height: 1;
transition: var(--transition);
}
.map-modal-close:hover {
color: var(--accent-coral);
}
.map-modal-content {
height: 500px;
width: 100%;
}
@media (max-width: 768px) {
.map-modal {
max-height: 80vh;
}
.map-modal-content {
height: 400px;
}
}
/* Section Titles */
.section-title {
font-family: 'Playfair Display', Georgia, serif;