Dark theme improvements
This commit is contained in:
parent
9bbe16de54
commit
b292237416
|
@ -40,13 +40,19 @@ a[href^="mailto:"] {
|
||||||
|
|
||||||
.table-code {
|
.table-code {
|
||||||
display: block;
|
display: block;
|
||||||
background: #333;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
padding-top: 0.5rem;
|
padding-top: 0.5rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
|
background-color: #333;
|
||||||
@include anchor_with_contrast(#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 {
|
pre {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: white;
|
color: white;
|
||||||
|
|
Loading…
Reference in New Issue