Fix code pre coloring

This commit is contained in:
Avijit 🚀
2021-08-02 13:17:52 +02:00
parent 531dbcbd78
commit 274a6b4ec4
2 changed files with 11 additions and 1 deletions

View File

@@ -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,

View File

@@ -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;
}