/* @theme sermon-a4 author: simonpipe (codeberg.org/simonpipe/) License: MIT This theme is a derivative work based on: "a4-clean.css" by stanfrdb (https://github.com/stanfrbd/A4-marp/tree/main) */ @import 'base'; @import url("https://fonts.googleapis.com/css2?family=Ubuntu+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); :root { --font-size: 18pt; --line-height: 1.6; --font-family: 'Ubuntu', sans-serif; --primary-color: #000; --lighter-color: #666; --bg-color: #eee; --mark-color: #eee; --margin-page: 25px 35px; } section { width: 21cm; height: 29.7cm; padding: var(--margin-page); background: white; color: var(--primary-color); font-family: var(--font-family); font-size: var(--font-size); line-height: var(--line-height); display: block; } /* Seitenzahlen */ section::after { content: attr(data-marpit-pagination) ' / ' attr(data-marpit-pagination-total); font-size: 15px; position: absolute; bottom: 25px; right: 35px; color: #555; } h1 { color: var(--primary-color); font-size: 1.2em; font-weight: 600; margin-bottom: -20px; } h2 { color: var(--primary-color); font-size: 1.1em; font-weight: 500; margin-top: 30px; margin-bottom: 0px; } h3 { color: var(--primary-color); font-size: 1em; font-weight: 500; margin-top: 20px; margin-bottom: 0px; } p, li { margin: 10px 0; } strong { color: var(--primary-color); font-weight: 500; } /* 1. Globaler Style für Regieanweisungen (bleibt 100% groß) */ em { color: var(--primary-color); font-style: italic; font-size: 1em; /* Stellt sicher, dass es normal groß bleibt */ } /* 2. Spezial-Style NUR für das Motto auf der ersten Seite */ /* Wir nehmen das erste 'em', das direkt auf ein 'h1' folgt */ section:first-of-type p:first-of-type em:first-of-type { display: block; font-size: 0.8em; color: var(--lighter-color); margin-top: -15px; margin-bottom: 20px; font-weight: normal; } mark { background-color: var(--mark-color); padding: 0 4px; /* Etwas mehr Luft an den Seiten sieht meist besser aus */ border-radius: 3px; } blockquote { color: var(--lighter-color); padding: 10px 20px; margin: 20px 0; border-left: 4px solid var(--primary-color); background-color: var(--bg-color); font-style: italic; } blockquote a { color: inherit; text-decoration: none; } blockquote cite { display: block; text-align: right; color: var(--lighter-color); font-style: normal; font-size: 0.9em; margin-top: 10px; } table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9em; } table th { background-color: var(--primary-color); color: white; padding: 8px; border: 1px solid var(--lighter-color); } table td { padding: 8px; border: 1px solid var(--lighter-color); } code, pre { font-family: 'Ubuntu Mono', monospace !important; } code { background-color: var(--bg-color); padding: 2px 6px; border-radius: 3px; color: var(--primary-color); font-size: 0.9em; } pre { background-color: var(--bg-color); padding: 15px; border-radius: 5px; overflow-x: auto; line-height: 1.4; border-left: 3px solid var(--primary-color); margin: 20px 0; } pre code { background-color: transparent; padding: 0; } img { max-width: 100%; height: auto; display: block; margin: 20px auto; }