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 {
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue