Style: Fix vertical margins of def lists w/o <p>s to match those with (#2427)

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

* Style: Specify line-height without rem
This commit is contained in:
CAM Gerlach 2022-03-16 20:06:15 -05:00 committed by GitHub
parent 819e9cb020
commit 41086f5258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -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;
@ -127,6 +127,9 @@ details > summary {
dl dt {
font-weight: bold;
}
dl dd {
margin-bottom: 0.5rem;
}
/* Horizontal rule rule */
hr {
@ -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;