Update sermon-a4.css

This commit is contained in:
simonpipe 2026-04-07 15:47:12 +02:00
parent d7fb231674
commit c72cf0c4da

View file

@ -3,16 +3,14 @@
@import 'base'; @import 'base';
:root { :root {
/* --- DEINE STEUERZENTRALE --- */ --font-size: 18pt;
--font-size: 18pt; /* 18pt für Kanzel, 12pt für Handout */
--line-height: 1.6; --line-height: 1.6;
--font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
--primary-color: #000000; /* Das Blau aus deiner Vorlage */ --primary-color: #000000; /* Das Blau aus deiner Vorlage */
--text-color: #000000; --text-color: #000000;
--heading-color: #000000; --heading-color: #000000;
/* Ränder: Oben, Rechts, Unten, Links (breiter zum Lochen) */ --margin-page: 25px 35px;
--margin-page: 25px 35px 25px 55px;
} }
section { section {
@ -24,23 +22,22 @@ section {
font-family: var(--font-family); font-family: var(--font-family);
font-size: var(--font-size); font-size: var(--font-size);
line-height: var(--line-height); line-height: var(--line-height);
display: block; /* Wichtig für Dokumentenfluss */ display: block;
} }
/* Seitenzahlen */ /* Seitenzahlen */
section::after { section::after {
content: attr(data-marpit-pagination) ' / ' attr(data-marpit-pagination-total); content: attr(data-marpit-pagination) ' / ' attr(data-marpit-pagination-total);
font-size: 12px; font-size: 15px;
position: absolute; position: absolute;
bottom: 25px; bottom: 25px;
right: 35px; right: 35px;
color: #555; color: #555;
} }
/* Überschriften mit deinen Farben */
h1 { h1 {
color: var(--heading-color); color: var(--heading-color);
font-size: 1.8em; font-size: 1.5em;
font-weight: bold; font-weight: bold;
margin-bottom: 20px; margin-bottom: 20px;
border-bottom: 3px solid var(--primary-color); border-bottom: 3px solid var(--primary-color);
@ -48,8 +45,8 @@ h1 {
} }
h2 { h2 {
color: #34495e; color: var(--heading-color);
font-size: 1.5em; font-size: 1.35em;
font-weight: bold; font-weight: bold;
margin-top: 30px; margin-top: 30px;
margin-bottom: 15px; margin-bottom: 15px;
@ -57,7 +54,7 @@ h2 {
} }
h3 { h3 {
color: #555; color: var(--heading-color);
font-size: 1.2em; font-size: 1.2em;
margin-top: 20px; margin-top: 20px;
margin-bottom: 10px; margin-bottom: 10px;
@ -65,7 +62,6 @@ h3 {
p, li { p, li {
margin: 10px 0; margin: 10px 0;
/* Erbt automatisch die 18pt/12pt aus section */
} }
strong { strong {
@ -81,7 +77,6 @@ blockquote {
font-style: italic; font-style: italic;
} }
/* Tabellen-Logik aus deiner Vorlage */
table { table {
width: 100%; width: 100%;
border-collapse: collapse; border-collapse: collapse;
@ -101,7 +96,6 @@ table td {
border: 1px solid #ddd; border: 1px solid #ddd;
} }
/* Code & Pre-Blöcke (für Zitate oder spezielle Formatierung) */
code, pre { code, pre {
font-family: Consolas, 'Courier New', monospace; font-family: Consolas, 'Courier New', monospace;
} }