Files
kennethreitzandClaude Fable 5 ea6bbeb97d Colour-only current nav; refresh topics and timeline pages
- base.html: the current sidebar item is now just deep green and bold —
  no fill, no tick (needs !important to beat the global link colour)
- topics.html: elevated topic cards with accent hover lift, bronze
  small-caps subtopic counts, gold-tipped small-caps section headings
- biblical_timeline.html: this page still referenced variables from the
  pre-Responder design (--surface-color, --text-primary, --text-muted,
  --primary-light) that no longer exist, plus a leftover purple brand
  tint in the chronology table. Replaced with live tokens: the table of
  contents is an elevated card with a small-caps heading, the
  chronology note is a gold manuscript aside, the comparison table
  highlights "This Timeline" in soft green, and the download button
  matches the chip style. Inline styles moved to classes.

All 976 tests pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 23:45:19 -04:00

153 lines
4.2 KiB
HTML

{% extends "base.html" %}
{% block title %}Topical Index - KJV Study{% endblock %}
{% block description %}Find Bible verses by theme and theological topic{% endblock %}
{% block head %}
<style>
.topic-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
max-width: 90%;
margin: 2rem 0;
}
.topic-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);
}
.topic-card:hover {
border-color: var(--accent);
transform: translateY(-2px);
box-shadow: var(--shadow-soft);
cursor: pointer;
}
.topic-name {
font-size: 1.35rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--text-strong);
transition: color 0.15s ease;
}
.topic-card:hover .topic-name {
color: var(--accent-strong);
}
.topic-description {
font-size: 1rem;
color: var(--text-secondary);
line-height: 1.6;
margin: 0.5rem 0;
}
.topic-subtopics {
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.14em;
color: var(--bronze);
margin-top: 0.85rem;
}
/* Section headings — small caps over a gold-tipped rule */
#major-topics h2,
#using-the-topical-index h2 {
position: relative;
font-size: 0.95rem;
font-weight: 600;
font-style: normal;
text-transform: uppercase;
letter-spacing: 0.18em;
color: var(--text-secondary) !important;
margin: 3rem 0 1.25rem;
padding-bottom: 0.6rem;
border-bottom: 1px solid var(--border-color);
max-width: 90%;
}
#major-topics h2::after,
#using-the-topical-index h2::after {
content: '';
position: absolute;
left: 0;
bottom: -1px;
width: 2.75rem;
height: 1px;
background: var(--gold);
}
/* Mobile optimizations */
@media (max-width: 768px) {
.topic-grid {
max-width: 100%;
grid-template-columns: 1fr;
gap: 1rem;
}
.topic-card {
padding: 1.25rem;
}
.topic-name {
font-size: 1.2rem;
}
.topic-description {
font-size: 0.95rem;
}
.intro-text {
max-width: 100%;
font-size: 1.05rem;
}
}
</style>
{% endblock %}
{% block content %}
<h1>Topical Index</h1>
<p class="subtitle">Find Verses by Theme and Subject</p>
<div>
<p class="intro-text"><span class="newthought">Systematic topical study</span> enables thematic exploration of Scripture across both testaments. This concordance organizes key theological and practical themes, providing structured access to related passages that illuminate each subject from multiple biblical perspectives.</p>
<p class="intro-text">Select a topic below to explore its subtopics and discover the verses that address each theme. Each reference includes contextual notes to aid understanding of its relevance to the broader subject.</p>
</div>
<div id="major-topics">
<h2>Major Topics</h2>
<div class="topic-grid">
{% for topic_name, topic_data in topics.items() %}
<a href="/topics/{{ topic_name }}" class="topic-card">
<div class="topic-name">{{ topic_name }}</div>
<div class="topic-description">{{ topic_data.description }}</div>
<div class="topic-subtopics">{{ topic_data.subtopics|length }} subtopics</div>
</a>
{% endfor %}
</div>
</div>
<div id="using-the-topical-index">
<h2>Using the Topical Index</h2>
<p class="intro-text">Each major topic contains multiple subtopics with carefully selected verses. The references provided represent foundational passages for each theme, though they are not exhaustive. Consider these as entry points for deeper study, using cross-references and concordances to expand your exploration.</p>
<p class="intro-text">Topical study complements sequential Bible reading by allowing focused examination of specific doctrines or practical matters. Compare passages across different books and testaments to grasp the full biblical teaching on any subject.</p>
</div>
<script>
// Use standardized grid navigation from base.js
KJVNav.initGridNav('.topic-card', { gridSelector: '.topic-grid' });
</script>
{% endblock %}