Styling: Remove field block highlights and restore definition list indent (#2425)

This commit is contained in:
Adam Turner 2022-03-14 01:46:48 +00:00 committed by GitHub
parent 0bd513148a
commit 4c76e963f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 9 deletions

View File

@ -122,9 +122,6 @@ pre {
dl dt {
font-weight: bold;
}
dl dd {
margin: 0;
}
/* Horizontal rule rule */
hr {
@ -247,21 +244,21 @@ dl.footnote {
grid-template-columns: fit-content(30%) auto;
line-height: 1.875;
width: 100%;
border-top: 1px solid var(--colour-background-accent);
border-bottom: 1px solid var(--colour-background-accent);
border-top: 1px solid var(--colour-rule-strong);
}
dl.rfc2822 > dt, dl.rfc2822 > dd,
dl.footnote > dt, dl.footnote > dd {
padding: .25rem .5rem .2rem;
}
dl.rfc2822 > dt:nth-of-type(even), dl.rfc2822 > dd:nth-of-type(even),
dl.footnote > dt:nth-of-type(even), dl.footnote > dd:nth-of-type(even) {
background-color: var(--colour-background-accent);
border-bottom: 1px solid var(--colour-rule-strong);
}
dl.footnote > dt {
font-weight: normal;
border-right: 1px solid var(--colour-background);
}
dl.rfc2822 dd,
dl.footnote dd {
margin: 0;
}
/* Sidebar formatting */
#pep-sidebar {