Dark theme improvements

This commit is contained in:
Drew DeVault 2020-12-16 09:49:59 -05:00
parent 9bbe16de54
commit b292237416
1 changed files with 7 additions and 1 deletions

View File

@ -40,13 +40,19 @@ a[href^="mailto:"] {
.table-code {
display: block;
background: #333;
width: 100%;
overflow-x: scroll;
padding-top: 0.5rem;
margin-bottom: 1rem;
background-color: #333;
@include anchor_with_contrast(#333);
@media(prefers-color-scheme: dark) {
background-color: darken($gray-900, 10);
@include anchor_with_contrast(darken($gray-900, 10));
}
pre {
background: transparent;
color: white;