From 594698b38c82fa9760489193455b9abc83da96d3 Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Sun, 13 Mar 2022 22:34:24 -0500 Subject: [PATCH 1/2] Style: Fix vertical margins of def lists w/o

s to match those with --- pep_sphinx_extensions/pep_theme/static/style.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pep_sphinx_extensions/pep_theme/static/style.css b/pep_sphinx_extensions/pep_theme/static/style.css index bf58d294f3b..b9dcf46f403 100644 --- a/pep_sphinx_extensions/pep_theme/static/style.css +++ b/pep_sphinx_extensions/pep_theme/static/style.css @@ -127,6 +127,9 @@ details > summary { dl dt { font-weight: bold; } +dl dd { + margin-bottom: 0.5rem; +} /* Horizontal rule rule */ hr { From d5fdf9ed22302e2cbbe4b54af4ff892eaf818fc8 Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Tue, 15 Mar 2022 13:22:57 -0500 Subject: [PATCH 2/2] Style: Specify line-height without rem --- pep_sphinx_extensions/pep_theme/static/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pep_sphinx_extensions/pep_theme/static/style.css b/pep_sphinx_extensions/pep_theme/static/style.css index b9dcf46f403..d4c643312ee 100644 --- a/pep_sphinx_extensions/pep_theme/static/style.css +++ b/pep_sphinx_extensions/pep_theme/static/style.css @@ -21,7 +21,7 @@ html { overflow-y: scroll; -webkit-font-smoothing: antialiased; margin: 0; - line-height: 1.4rem; + line-height: 1.4; font-weight: normal; font-size: 1rem; font-family: "Source Sans Pro", Arial, sans-serif; @@ -41,7 +41,7 @@ p {margin: .5rem 0} /* Header rules */ h1 { - line-height: 2.3rem; + line-height: 2.3; font-size: 2rem; font-weight: bold; margin-top: 2rem; @@ -198,7 +198,7 @@ section#pep-page-section > header { } section#pep-page-section > header > h1 { font-size: 1.1rem; - line-height: 1.4rem; + line-height: 1.4; margin: 0; display: inline-block; padding-right: .6rem;