style: code block

This commit is contained in:
Ayo 2023-06-24 10:17:54 +02:00
parent 4e26302101
commit 52507d0b41

View file

@ -52,8 +52,6 @@ const datePublished =
} }
} }
content { content {
p, table, ul, img { p, table, ul, img {
margin: 1em 0 !important; margin: 1em 0 !important;
@ -72,5 +70,10 @@ const datePublished =
pre { pre {
white-space: pre-wrap; white-space: pre-wrap;
} }
pre:has(code) {
padding: 1em;
background: #f6f8fa;
border-radius: 5px;
}
} }
</style> </style>