diff --git a/static/style.css b/static/style.css index c159bb0..f2d450d 100644 --- a/static/style.css +++ b/static/style.css @@ -118,3 +118,29 @@ code { color: #aaa; } + +@media print { + body { + font-size: 14px; + } + + img { + max-width: 10cm; + max-height: 10cm; + object-fit: contain; + } + + h1, + h2, + h3 { + margin-top: 0; + margin: 0; + } + + .chapter { + max-width: 100%; + } + .chapter + .chapter { + margin-top: 32px; + } +}