Add comprehensive mobile responsive styles to homepage

Implemented mobile-first responsive design for screens ≤760px to improve
usability on phones and tablets.

Mobile improvements:
- Full-width layouts: removed 60%/70% max-width constraints
- Vertical search form: input and button stack for better mobile UX
- Single-column grids: featured resources and quick links stack vertically
- Optimized spacing: reduced margins and padding for mobile screens
- Better typography: adjusted font sizes for mobile readability
- Touch-friendly: larger tap targets with full-width buttons
- Consistent spacing: unified gaps and margins across components

Before: constrained widths caused cramped layouts on mobile
After: fluid, touch-friendly interface that uses full screen width

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-22 07:51:02 -05:00
parent f34c77a38b
commit 9bb2d3d3ff
+89
View File
@@ -161,6 +161,95 @@ section a[href^="/book/"] {
border-color: var(--link-color);
background: var(--code-bg);
}
/* Mobile responsive styles */
@media (max-width: 760px) {
.title-page {
margin: 2rem 0;
}
.title-page h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.title-details {
font-size: 1rem;
margin: 0 0 2rem 0;
}
.verse-lookup {
max-width: 100%;
padding: 1.5rem;
margin: 1.5rem 0;
}
.verse-lookup h2 {
font-size: 1.2rem;
}
.lookup-form {
flex-direction: column;
gap: 0.75rem;
}
.lookup-input {
width: 100%;
font-size: 1rem;
padding: 0.75rem;
}
.lookup-btn {
width: 100%;
padding: 0.75rem;
font-size: 1rem;
}
.lookup-help {
font-size: 0.85rem;
line-height: 1.5;
}
.featured-resources {
max-width: 100%;
grid-template-columns: 1fr;
gap: 1rem;
margin: 2rem 0;
}
.featured-card {
padding: 1.25rem;
}
.featured-card h3 {
font-size: 1.1rem;
}
.featured-card p {
font-size: 0.95rem;
}
.quick-links {
max-width: 100%;
grid-template-columns: 1fr;
gap: 0.75rem;
margin: 1.5rem 0;
}
.quick-link-btn {
padding: 0.875rem;
font-size: 0.95rem;
}
/* Adjust epigraph on mobile */
.epigraph {
margin: 2rem 0;
}
.epigraph blockquote {
font-size: 1rem;
}
}
</style>
{% endblock %}