Cleaner code blocks in dark mode.
This commit is contained in:
parent
4ebbd47a61
commit
31a303ab55
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user