mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-10-24 14:29:14 +00:00
study_guides.html: the index was bare paragraphs with sidenotes. Now a card grid matching /topics — elevated guide cards with title, description, and a bronze key-verse count, categories as gold-tipped small-caps headings, and the standard KJVNav grid navigation replacing the bespoke link-walker. story_detail.html / story_kids.html: tufte's 55% section column made the narrative uncomfortably narrow; widen to a full-width column capped at 46rem (~75 characters per line). All 976 tests pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
135 lines
3.4 KiB
HTML
135 lines
3.4 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Bible Study Guides - KJV Bible{% endblock %}
|
|
|
|
{% block description %}Structured KJV Bible study guides covering foundational Christian truths, character development, and biblical themes from the King James Version.{% endblock %}
|
|
|
|
{% block head %}
|
|
<style>
|
|
.guide-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 1.25rem;
|
|
max-width: 90%;
|
|
margin: 1.5rem 0 2.5rem;
|
|
}
|
|
|
|
.guide-card {
|
|
display: block;
|
|
padding: 1.4rem 1.5rem;
|
|
background: var(--bg-elevated);
|
|
border: 1px solid var(--border-color-dark);
|
|
border-radius: 8px;
|
|
transition: all 0.2s ease;
|
|
text-decoration: none;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.guide-card:hover {
|
|
border-color: var(--accent);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-soft);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.guide-name {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
margin-bottom: 0.4rem;
|
|
color: var(--text-strong);
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
.guide-card:hover .guide-name {
|
|
color: var(--accent-strong);
|
|
}
|
|
|
|
.guide-description {
|
|
font-size: 0.95rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
margin: 0.4rem 0;
|
|
}
|
|
|
|
.guide-verses {
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.14em;
|
|
color: var(--bronze);
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
/* Category headings — small caps over a gold-tipped rule */
|
|
.guide-category h2 {
|
|
position: relative;
|
|
font-size: 0.95rem !important;
|
|
font-weight: 600;
|
|
font-style: normal !important;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.18em;
|
|
color: var(--text-secondary) !important;
|
|
margin: 0 0 0.5rem;
|
|
padding-bottom: 0.6rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
max-width: 90%;
|
|
}
|
|
|
|
.guide-category h2::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -1px;
|
|
width: 2.75rem;
|
|
height: 1px;
|
|
background: var(--gold);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.guide-grid {
|
|
max-width: 100%;
|
|
grid-template-columns: 1fr;
|
|
gap: 1rem;
|
|
}
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Bible Study Guides</h1>
|
|
<p class="subtitle"><a href="/">Authorized King James Version</a></p>
|
|
|
|
<section>
|
|
<p><span class="newthought">These study guides</span> offer structured explorations of foundational Christian truths, character development, and biblical themes. Each guide includes relevant Scripture passages and reflections for deeper understanding of God's Word.</p>
|
|
</section>
|
|
|
|
{% for category, guides in study_guides.items() %}
|
|
<section class="guide-category" id="{{ category | lower | replace(' ', '-') }}">
|
|
<h2>{{ category }}</h2>
|
|
|
|
<div class="guide-grid">
|
|
{% for guide in guides %}
|
|
<a href="/study-guides/{{ guide.slug }}" class="guide-card">
|
|
<div class="guide-name">{{ guide.title }}</div>
|
|
<div class="guide-description">{{ guide.description }}</div>
|
|
<div class="guide-verses">{{ guide.verse_refs|length }} key verse{% if guide.verse_refs|length != 1 %}s{% endif %}</div>
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
</section>
|
|
{% endfor %}
|
|
|
|
<nav>
|
|
<p><a href="/">← Home</a></p>
|
|
</nav>
|
|
|
|
<script>
|
|
// Use standardized grid navigation from base.js
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
if (window.KJVNav && KJVNav.initGridNav) {
|
|
KJVNav.initGridNav('.guide-card', { gridSelector: '.guide-grid' });
|
|
}
|
|
});
|
|
</script>
|
|
{% endblock %}
|