fix non chroma code block color

This commit is contained in:
Reorx 2022-05-05 00:45:08 +08:00
parent cb9776f699
commit d1672652f2
1 changed files with 3 additions and 1 deletions

View File

@ -241,9 +241,11 @@ h6:hover .anchor {
line-height: 1.5;
border-radius: 2px;
}
.post-content .chroma code {
background-color: inherit;
}
.post-content pre code {
/* reset inline code */
background-color: unset;
display: block;
margin: auto 0;
padding: 10px;