Style code blocks

This commit is contained in:
2023-07-11 20:18:50 +10:00
parent 229c4f0e31
commit 45d9d94c54
7 changed files with 2627 additions and 2 deletions

View File

@@ -54,3 +54,29 @@ h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
height: 14px;
}
.prose pre code::before {
padding-left: unset
}
.prose pre code:after {
padding-right: unset
}
.prose code {
font-weight: 400;
border-radius: 0.25rem;
}
.prose code:before {
content: "";
padding: 0 0 0 0.25rem;
}
.prose pre {
padding: 0;
}
.prose code:after {
content: "";
padding: 0 0.25rem 0 0;
}