Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 61 additions & 1 deletion pep_sphinx_extensions/pep_theme/static/mq.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,12 @@
img {
max-width: 100% !important;
}
/* Page margins according to DIN 5008, leaves space for punched holes. */
@page {
margin: 0.5cm;
margin-top: 2cm;
margin-bottom: 2cm;
margin-left: 2.5cm;
margin-right: 2.5cm;
}
p,
h2,
Expand All @@ -102,4 +106,60 @@
h3 {
page-break-after: avoid;
}
h1 {
font-size: 18pt;
font-weight: bold;
text-align: center;
}
h2, details > summary {
font-size: 15pt;
font-weight: normal;
}
h3 {
font-size: 13pt;
font-weight: normal;
}
h4 {
font-size: 10pt;
font-weight: 600;
}
a, abbr {
text-decoration: none;
}

details {
display: none;
}
details[open] {
display: block;
}

h1.page-title:first-child {
margin-top: 0;
}

section#pep-page-section {
display: flex;
justify-content: center;
padding: 0;
margin: 0 auto;
}

section#pep-page-section > header,
nav#pep-sidebar {
display: none;
}

section#pep-page-section > article {
float: none;
max-width: 17.5cm;
width: auto;
margin: 0;
padding: 0;
}

/* This blocks a small portion on each page. */
readthedocs-flyout {
display: none;
}
}