Files
kjvstudy.org/kjvstudy_org/templates/reading_plan_pdf.html
T

102 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ plan.name }} - Reading Plan</title>
<style>
@page {
size: letter;
margin: 0.75in;
@bottom-center {
content: counter(page);
font-family: "et-book", Georgia, serif;
font-size: 10pt;
color: #666;
}
}
body {
font-family: "et-book", Georgia, "Times New Roman", serif;
font-size: 11pt;
line-height: 1.55;
color: #111;
}
h1 {
font-size: 24pt;
font-weight: normal;
margin: 0 0 0.15in 0;
}
.subtitle {
font-style: italic;
color: #666;
margin-bottom: 0.25in;
}
.overview {
margin-bottom: 0.35in;
padding-left: 0.25in;
border-left: 3px solid #ddd;
}
.day-entry {
margin-bottom: 0.2in;
padding-bottom: 0.15in;
border-bottom: 1px solid #eee;
}
.day-number {
font-weight: 600;
color: #444;
}
.day-readings {
margin: 0.05in 0;
}
.reading-ref {
display: inline-block;
margin: 0.03in 0.1in 0 0;
padding: 0.02in 0.1in;
background: #f5f5f5;
border-radius: 3px;
font-size: 10pt;
}
.day-theme {
font-style: italic;
color: #666;
}
.footer {
margin-top: 0.4in;
font-size: 9pt;
color: #888;
text-align: center;
}
</style>
</head>
<body>
<h1>{{ plan.name }}</h1>
<p class="subtitle">{{ plan.description }}</p>
<div class="overview">{{ plan.overview | safe }}</div>
{% set all_days = plan.days if plan.days else plan.sample_days %}
{% for day in all_days %}
<div class="day-entry">
<div class="day-number">Day {{ day.day }}</div>
<div class="day-readings">
{% for reading in day.readings %}
<span class="reading-ref">{{ reading }}</span>
{% endfor %}
</div>
<div class="day-theme">Theme: {{ day.theme }}</div>
</div>
{% endfor %}
<div class="footer">From KJV Study &bull; kjvstudy.org</div>
</body>
</html>