2025-05-18 19:33:42 +02:00

54 lines
862 B
CSS

/* Basislayout für eBook-Reader & Browser */
body {
font-family: "DejaVu Sans", sans-serif;
font-size: 1.05em;
line-height: 1.6;
color: #111;
background: #fff;
margin: 1em;
padding: 0;
}
/* Kapitelüberschriften */
h1, h2, h3 {
font-family: "DejaVu Sans", sans-serif;
font-weight: bold;
margin-top: 2em;
page-break-before: always;
}
/* Inhaltsverzeichnis-Stil */
nav.toc {
font-size: 0.95em;
margin-bottom: 2em;
}
/* Bilder */
img {
max-width: 100%;
height: auto;
display: block;
margin: 1.5em auto;
border: 0;
}
/* Code und Inline-Code */
code {
font-family: monospace;
background-color: #f4f4f4;
padding: 0.2em 0.4em;
border-radius: 3px;
}
pre {
background-color: #f4f4f4;
padding: 1em;
overflow-x: auto;
border-radius: 4px;
}
/* Seitenumbruch vor jedem Kapitel */
h1 {
page-break-before: always;
}