Styling: Remove field block highlights and restore definition list indent (#2425)
This commit is contained in:
parent
0bd513148a
commit
4c76e963f2
|
@ -122,9 +122,6 @@ pre {
|
||||||
dl dt {
|
dl dt {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
dl dd {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Horizontal rule rule */
|
/* Horizontal rule rule */
|
||||||
hr {
|
hr {
|
||||||
|
@ -247,21 +244,21 @@ dl.footnote {
|
||||||
grid-template-columns: fit-content(30%) auto;
|
grid-template-columns: fit-content(30%) auto;
|
||||||
line-height: 1.875;
|
line-height: 1.875;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-top: 1px solid var(--colour-background-accent);
|
border-top: 1px solid var(--colour-rule-strong);
|
||||||
border-bottom: 1px solid var(--colour-background-accent);
|
|
||||||
}
|
}
|
||||||
dl.rfc2822 > dt, dl.rfc2822 > dd,
|
dl.rfc2822 > dt, dl.rfc2822 > dd,
|
||||||
dl.footnote > dt, dl.footnote > dd {
|
dl.footnote > dt, dl.footnote > dd {
|
||||||
padding: .25rem .5rem .2rem;
|
padding: .25rem .5rem .2rem;
|
||||||
}
|
border-bottom: 1px solid var(--colour-rule-strong);
|
||||||
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);
|
|
||||||
}
|
}
|
||||||
dl.footnote > dt {
|
dl.footnote > dt {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
border-right: 1px solid var(--colour-background);
|
border-right: 1px solid var(--colour-background);
|
||||||
}
|
}
|
||||||
|
dl.rfc2822 dd,
|
||||||
|
dl.footnote dd {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Sidebar formatting */
|
/* Sidebar formatting */
|
||||||
#pep-sidebar {
|
#pep-sidebar {
|
||||||
|
|
Loading…
Reference in New Issue