diff --git a/pep_sphinx_extensions/pep_theme/static/mq.css b/pep_sphinx_extensions/pep_theme/static/mq.css index 5e35177051f..097c28adb94 100644 --- a/pep_sphinx_extensions/pep_theme/static/mq.css +++ b/pep_sphinx_extensions/pep_theme/static/mq.css @@ -88,8 +88,18 @@ img { max-width: 100% !important; } + /* Page margins according to DIN 5008, leaves space for punched holes. */ @page { - margin: 2.5cm; + margin-top: 2cm; + margin-bottom: 2cm; + } + @page :right { + margin-left: 2.5cm; + margin-right: 2cm; + } + @page :left { + margin-left: 2cm; + margin-right: 2.5cm; } p, h2,