@media print{ @page { size: A5; margin-top: 10mm; margin-right: 20mm; margin-bottom: 25mm; margin-left: 15mm; } html, body { font-size: 14px; } .container{ display: block; width: auto; height: auto; } .atlas { border: none; } .contributions, .contribution { border-bottom: none; } header.cover{ width: auto; height: 100%; min-height: auto; padding: 0; border: none; } .cover .title { font-size: 46px; margin: 64px 0; } .atlas, .cover, .contributions, .contribution, .index { break-before: page; } .info{ display: none; } .index { display: block; } .contribution .title { font-size: 28px; } .contribution { border-bottom: none; overflow: auto; } }