Update sermon-a4.css

This commit is contained in:
simonpipe 2026-04-07 16:32:13 +02:00
parent a34a3437a7
commit 15b915631b

View file

@ -8,6 +8,7 @@
--font-family: 'Ubuntu', sans-serif; --font-family: 'Ubuntu', sans-serif;
--primary-color: #000; --primary-color: #000;
--lighter-color: #666; --lighter-color: #666;
--bg-code-pre-color: #eee;
--margin-page: 25px 35px; --margin-page: 25px 35px;
} }
@ -75,11 +76,10 @@ em {
/* 2. Spezial-Style NUR für das Motto auf der ersten Seite */ /* 2. Spezial-Style NUR für das Motto auf der ersten Seite */
/* Wir nehmen das erste 'em', das direkt auf ein 'h1' folgt */ /* Wir nehmen das erste 'em', das direkt auf ein 'h1' folgt */
section:first-of-type h1 + em,
section:first-of-type p:first-of-type em:first-of-type { section:first-of-type p:first-of-type em:first-of-type {
display: block; display: block;
font-size: 0.8em; font-size: 0.8em;
color: var(--lighter-color; color: var(--lighter-color);
margin-top: -15px; margin-top: -15px;
margin-bottom: 20px; margin-bottom: 20px;
font-weight: normal; font-weight: normal;
@ -105,12 +105,12 @@ table th {
background-color: var(--primary-color); background-color: var(--primary-color);
color: white; color: white;
padding: 8px; padding: 8px;
border: 1px solid #2980b9; border: 1px solid var(--lighter-color);
} }
table td { table td {
padding: 8px; padding: 8px;
border: 1px solid #ddd; border: 1px solid var(--lighter-color);
} }
code, pre { code, pre {
@ -118,7 +118,7 @@ code, pre {
} }
code { code {
background-color: #f6f8fa; background-color: var(--bg-code-pre-color);
padding: 2px 6px; padding: 2px 6px;
border-radius: 3px; border-radius: 3px;
color: var(--primary-color); color: var(--primary-color);
@ -126,7 +126,7 @@ code {
} }
pre { pre {
background-color: #f6f8fa; background-color: var(--bg-code-pre-color);
padding: 15px; padding: 15px;
border-radius: 5px; border-radius: 5px;
overflow-x: auto; overflow-x: auto;