Fix code pre coloring
This commit is contained in:
@@ -54,6 +54,10 @@ table th {
|
||||
border-bottom-color: var(--dark-header-divider-color);
|
||||
}
|
||||
|
||||
:not(pre) > code {
|
||||
color: var(--dark-text-color);
|
||||
}
|
||||
|
||||
/* TODO: Check if this is needed or not */
|
||||
/*
|
||||
img,
|
||||
|
||||
@@ -212,7 +212,7 @@ img {
|
||||
/* CODE BLOCKS */
|
||||
code,
|
||||
pre {
|
||||
background-color: #1f1f1f !important;
|
||||
background-color: #272822 !important;
|
||||
box-sizing: border-box;
|
||||
color: white;
|
||||
}
|
||||
@@ -230,6 +230,12 @@ code {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
:not(pre) > code {
|
||||
background-color: #e0e0e0 !important;
|
||||
color: var(--light-text-color);
|
||||
padding: 1px 4px;
|
||||
}
|
||||
|
||||
pre code {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user