mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Move code theming to 'specific' stuff at the bottom to try to stay consistent
This commit is contained in:
parent
23fc2d9b03
commit
c05680bc06
1 changed files with 5 additions and 9 deletions
|
@ -19,9 +19,6 @@ body.dark-mode {
|
||||||
$warning: rgb(132, 88, 4);
|
$warning: rgb(132, 88, 4);
|
||||||
$success: rgb(51, 87, 35);
|
$success: rgb(51, 87, 35);
|
||||||
|
|
||||||
$code-bg-color: rgb(58, 58, 58);
|
|
||||||
$code-text-color: rgb(236, 229, 173);
|
|
||||||
|
|
||||||
// Main body background
|
// Main body background
|
||||||
background-color: $background-color;
|
background-color: $background-color;
|
||||||
|
|
||||||
|
@ -41,12 +38,6 @@ body.dark-mode {
|
||||||
color: $link-color;
|
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, header and dropdown have darker background
|
||||||
.card,
|
.card,
|
||||||
#footer,
|
#footer,
|
||||||
|
@ -305,4 +296,9 @@ body.dark-mode {
|
||||||
background-color: rgb(25, 44, 19);
|
background-color: rgb(25, 44, 19);
|
||||||
color: rgb(122, 197, 122);
|
color: rgb(122, 197, 122);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
background: rgb(58, 58, 58);
|
||||||
|
color: rgb(236, 229, 173);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue