From a48da582bce9cfde9de4f45b506ba6caa7af33db Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 13 Nov 2025 16:18:57 -0500 Subject: [PATCH] Apply Tufte CSS styling to study guides MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Study Guides link to homepage title section - Rewrite study guides listing with pure Tufte CSS - Use sidenotes for key verse references - Rewrite study guide detail pages with Tufte styling - Use marginnotes for scripture references in sections - Remove all custom CSS variables and inline styles - Apply classical typography and spacing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kjvstudy_org/templates/index.html | 3 + .../templates/study_guide_detail.html | 286 ++---------------- kjvstudy_org/templates/study_guides.html | 242 ++------------- 3 files changed, 64 insertions(+), 467 deletions(-) diff --git a/kjvstudy_org/templates/index.html b/kjvstudy_org/templates/index.html index 85501be..5dfc25d 100644 --- a/kjvstudy_org/templates/index.html +++ b/kjvstudy_org/templates/index.html @@ -34,6 +34,9 @@ Appointed to be Read in Churches
Anno Domini 1611 +

+ Study Guides +

diff --git a/kjvstudy_org/templates/study_guide_detail.html b/kjvstudy_org/templates/study_guide_detail.html index 95f8968..dbb3018 100644 --- a/kjvstudy_org/templates/study_guide_detail.html +++ b/kjvstudy_org/templates/study_guide_detail.html @@ -1,265 +1,39 @@ {% extends "base.html" %} -{% block title %}{{ guide.title }} - Bible Study Guide - KJV Study{% endblock %} -{% block description %}{{ guide.description }} - A comprehensive Bible study guide with Scripture references and practical applications from the KJV Bible.{% endblock %} -{% block keywords %}{{ guide.title }}, Bible study, KJV study, Christian study guide, Scripture study, Bible lesson{% endblock %} +{% block title %}{{ guide.title }} - Bible Study Guide - KJV Bible{% endblock %} {% block content %} -
- +

{{ guide.title }}

+

Authorized King James Version

-

- 📖 {{ guide.title }} -

- -

- {{ guide.description }} +

+

{{ guide.description }}

+
+ +{% for section in guide.sections %} +{% set section_index = loop.index %} +
+

{{ section.title }}

+ + {% for verse_data in section.verse_texts %} +

+ + + + {{ verse_data.reference }}
+ {{ verse_data.text }} +

-
- - -
- {% for section in guide.sections %} -
-

- {{ section.title }} -

- - -
-

- 📜 Scripture References -

- - {% for verse_data in section.verse_texts %} -
-
- {{ verse_data.reference }} -
-
- "{{ verse_data.text }}" -
- - 🔍 - -
- {% endfor %} -
- - -
-

- 💡 Study Notes -

-

- {{ section.content }} -

-
-
{% endfor %} -
- -
-

- Continue Your Study -

-

- Explore more study guides or search for specific topics in Scripture. +

{{ section.content }}

+ +{% endfor %} + +
- - -{% endblock %} \ No newline at end of file + +{% endblock %} diff --git a/kjvstudy_org/templates/study_guides.html b/kjvstudy_org/templates/study_guides.html index 46c71d1..e56dc59 100644 --- a/kjvstudy_org/templates/study_guides.html +++ b/kjvstudy_org/templates/study_guides.html @@ -1,219 +1,39 @@ {% extends "base.html" %} -{% block title %}Bible Study Guides - KJV Study{% endblock %} -{% block description %}Explore comprehensive Bible study guides covering foundational Christian truths, character development, and biblical themes. Study the KJV Bible with structured guides and scripture references.{% endblock %} -{% block keywords %}Bible study guides, KJV study, Christian study guides, Bible study topics, scripture study, Bible lessons{% endblock %} +{% block title %}Bible Study Guides - KJV Bible{% endblock %} {% block content %} -
-

- 📖 Bible Study Guides -

-

- Deepen your understanding of God's Word with these comprehensive study guides. - Each guide includes relevant Scripture passages and practical applications for Christian living. -

-
+

Bible Study Guides

+

Authorized King James Version

+ +
+

These study guides 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.

+
- {% for category, guides in study_guides.items() %} -
-

- {{ category }} -

- -
- {% for guide in guides %} -
-

- {{ guide.title }} -

- -

- {{ guide.description }} -

- -
-

Key Verses

-
- {% for verse in guide.verses[:3] %} - {{ verse }} - {% endfor %} - {% if guide.verses|length > 3 %} - - +{{ guide.verses|length - 3 }} more - - {% endif %} -
-
- - - Start Study → - -
- {% endfor %} -
-
+
+

{{ category }}

+ + {% for guide in guides %} +

+ {{ guide.title }} + + + Key Verses:
+ {% for verse in guide.verses[:5] %} + {{ verse }}{% if not loop.last %}, {% endif %} + {% endfor %} + {% if guide.verses|length > 5 %} +
+{{ guide.verses|length - 5 }} more + {% endif %} +
+ — {{ guide.description }} +

+ {% endfor %} +
{% endfor %} - -
-

- 🌱 Growing in Faith -

-

- These study guides are designed to help you grow in your understanding of God's Word. - Take your time with each section and allow the Holy Spirit to teach you through Scripture. -

-
- - ✨ Today's Verse - - - 🔍 Search Scripture - -
-
- - -{% endblock %} \ No newline at end of file + +{% endblock %}