@@ -63,6 +72,45 @@
font-style: italic;
}
+ .toc {
+ margin: 2rem 0;
+ padding: 1.5rem;
+ background: var(--bg-color);
+ border: 2px solid var(--border-color);
+ border-radius: 4px;
+ }
+
+ .toc h2 {
+ margin-top: 0;
+ margin-bottom: 1rem;
+ font-size: 1.3rem;
+ color: var(--text-strong);
+ }
+
+ .toc-columns {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
+ gap: 0.5rem;
+ }
+
+ .toc-link {
+ display: block;
+ padding: 0.4rem 0.6rem;
+ background: var(--code-bg);
+ border-radius: 3px;
+ text-decoration: none;
+ color: var(--link-color);
+ font-size: 0.95rem;
+ transition: all 0.2s;
+ text-align: center;
+ }
+
+ .toc-link:hover {
+ background: var(--border-color-dark);
+ color: var(--link-hover);
+ transform: translateY(-1px);
+ }
+
.book-section {
margin: 2.5rem 0;
padding: 1.5rem;
diff --git a/kjvstudy_org/templates/cross_references_index.html b/kjvstudy_org/templates/cross_references_index.html
index 11deca0..d3cdda1 100644
--- a/kjvstudy_org/templates/cross_references_index.html
+++ b/kjvstudy_org/templates/cross_references_index.html
@@ -19,8 +19,17 @@
Data sourced from the Treasury of Scripture Knowledge via OpenBible.info (CC-BY license).
+
+
{% for book, chapters in crossref_index.items() %}
-
+
{{ book }}
{% for chapter, verses in chapters.items() %}
@@ -74,6 +83,45 @@
font-style: italic;
}
+ .toc {
+ margin: 2rem 0;
+ padding: 1.5rem;
+ background: var(--bg-color);
+ border: 2px solid var(--border-color);
+ border-radius: 4px;
+ }
+
+ .toc h2 {
+ margin-top: 0;
+ margin-bottom: 1rem;
+ font-size: 1.3rem;
+ color: var(--text-strong);
+ }
+
+ .toc-columns {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
+ gap: 0.5rem;
+ }
+
+ .toc-link {
+ display: block;
+ padding: 0.4rem 0.6rem;
+ background: var(--code-bg);
+ border-radius: 3px;
+ text-decoration: none;
+ color: var(--link-color);
+ font-size: 0.95rem;
+ transition: all 0.2s;
+ text-align: center;
+ }
+
+ .toc-link:hover {
+ background: var(--border-color-dark);
+ color: var(--link-hover);
+ transform: translateY(-1px);
+ }
+
.book-section {
margin: 2.5rem 0;
padding: 1.5rem;