mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-10 01:52:19 +00:00
css: define new slightly-lighter color for code/pre elements
This commit is contained in:
parent
335a0ab2cd
commit
7c0b287cee
2 changed files with 14 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
/* color overrides */
|
||||||
|
:root {
|
||||||
|
--code: var(--base06);
|
||||||
|
}
|
||||||
|
|
||||||
/* override page max-width */
|
/* override page max-width */
|
||||||
.page {
|
.page {
|
||||||
max-width: 72rem;
|
max-width: 72rem;
|
||||||
|
@ -204,3 +209,11 @@ ul.pagination li {
|
||||||
small[style^="opacity: .5"] {
|
small[style^="opacity: .5"] {
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* code overrides */
|
||||||
|
pre,
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
samp {
|
||||||
|
color: var(--code);
|
||||||
|
}
|
|
@ -8,7 +8,7 @@
|
||||||
--base03: #585858; /* muted */
|
--base03: #585858; /* muted */
|
||||||
--base04: #abaaaa; /* off-fg */
|
--base04: #abaaaa; /* off-fg */
|
||||||
--base05: #d8d8d8; /* fg */
|
--base05: #d8d8d8; /* fg */
|
||||||
--base06: #e8e8e8;
|
--base06: #cfcfcf; /* code */
|
||||||
--base07: #5f8700; /* user prompt */
|
--base07: #5f8700; /* user prompt */
|
||||||
--base08: #ab4642; /* root prompt */
|
--base08: #ab4642; /* root prompt */
|
||||||
--base09: #dc9656;
|
--base09: #dc9656;
|
||||||
|
|
Loading…
Reference in a new issue