Merge pull request #21 from mntn-xyz/patch-13

Format additional elements and fix overflow:auto
This commit is contained in:
Joe Roe 2021-09-09 10:03:17 +02:00 committed by GitHub
commit dc6bc7727a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 2 deletions

View File

@ -101,6 +101,24 @@ ol li::marker {
color: var(--bright-bg);
}
dt {
margin: 0;
font-weight: bold;
}
dd {
margin: 0 0 0 1.5rem;
font-style: italic;
}
dd + dt {
margin-top: 1.5rem;
}
dl {
margin: 0 0 1.5rem 0;
}
/* Blockquotes */
blockquote {
position: relative;
@ -123,14 +141,15 @@ blockquote::before {
/* Code */
pre,
code,
kbd {
overflow-x: auto;
kbd,
samp {
background: var(--dark-bg) !important;
font-family: var(--font-monospace);
color: var(--bright-bg);
}
pre {
overflow-x: auto;
padding: 1.5rem;
margin: 0 0 1.5rem 0;
}
@ -159,6 +178,7 @@ hr:after {
color: var(--bright-bg);
}
/* Prevent super/sub from affecting line height */
sup, sub {
vertical-align: baseline;