Move code theming to 'specific' stuff at the bottom to try to stay consistent

This commit is contained in:
Alexandre Aubin 2021-02-11 00:05:48 +01:00
parent 23fc2d9b03
commit c05680bc06

View file

@ -19,9 +19,6 @@ body.dark-mode {
$warning: rgb(132, 88, 4);
$success: rgb(51, 87, 35);
$code-bg-color: rgb(58, 58, 58);
$code-text-color: rgb(236, 229, 173);
// Main body background
background-color: $background-color;
@ -41,12 +38,6 @@ body.dark-mode {
color: $link-color;
}
// Dark version of code `stuff`
code {
background: $code-bg-color;
color: $code-text-color;
}
// Card, header and dropdown have darker background
.card,
#footer,
@ -305,4 +296,9 @@ body.dark-mode {
background-color: rgb(25, 44, 19);
color: rgb(122, 197, 122);
}
code {
background: rgb(58, 58, 58);
color: rgb(236, 229, 173);
}
}