Remove inline CSS backgrounds in a code block

The lines in a `<pre>` code block may slightly overlap. Lower parts of a line can thus be obcured by the next one. This PR removes the background of `<code>` when it's inside a `<pre>` which already has the same  background color set.
This commit is contained in:
Adam P 2023-02-13 18:33:01 +01:00 committed by GitHub
parent 6bfed5a9e3
commit c8a394e0ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,10 @@ pre {
line-height: 1.35;
}
pre code {
background: none;
}
.timestamp {
color: var(--muted-text-color);
font-size: 0.8rem;