Cleaner code blocks in dark mode.

This commit is contained in:
Sergio Martínez Portela 2022-07-22 18:16:48 +02:00
parent 4ebbd47a61
commit 31a303ab55

View File

@ -106,4 +106,23 @@ article.post {
margin-top: 0;
color: #f7da4a;
}
/* Code blocks */
pre {
padding: 0.5ex;
background-color: inherit;
box-shadow: none;
}
pre code {
padding: 1ex;
font-size: medium;
background: #000;
color: #fff;
border: none;
}
code {
padding: 0.25ex;
margin: 0.25ex;
border: 1px solid #00000;
}
}