Cleaner code blocks in dark mode.
This commit is contained in:
parent
4ebbd47a61
commit
31a303ab55
1 changed files with 19 additions and 0 deletions
|
@ -106,4 +106,23 @@ article.post {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
color: #f7da4a;
|
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…
Add table
Add a link
Reference in a new issue