Skip to content

Commit

Permalink
Style: Fix vertical margins of def lists w/o <p>s to match those with (
Browse files Browse the repository at this point in the history
…#2427)

* Style: Fix vertical margins of def lists w/o <p>s to match those with

* Style: Specify line-height without rem
  • Loading branch information
CAM-Gerlach authored Mar 17, 2022
1 parent 819e9cb commit 41086f5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pep_sphinx_extensions/pep_theme/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -127,6 +127,9 @@ details > summary {
dl dt {
font-weight: bold;
}
dl dd {
margin-bottom: 0.5rem;
}

/* Horizontal rule rule */
hr {
Expand Down Expand Up @@ -195,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;
Expand Down

0 comments on commit 41086f5

Please sign in to comment.