refactor(aio): use the same selectors for screen and print styles (#23538)
PR Close #23538
This commit is contained in:
parent
14d8a98001
commit
3f20a5c7c8
|
@ -179,7 +179,7 @@ ol.linenums {
|
|||
/* SHELL / TERMINAL CODE BLOCKS */
|
||||
|
||||
code-example.code-shell, code-example[language=sh], code-example[language=bash] {
|
||||
& .pnk, .blk,.pln, .otl, .kwd, .typ, .tag, .str, .atv, .atn, .com, .lit, .pun, .dec {
|
||||
.pnk, .blk, .pln, .otl, .kwd, .typ, .tag, .str, .atv, .atn, .com, .lit, .pun, .dec {
|
||||
color: $codegreen;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,12 +66,10 @@
|
|||
}
|
||||
|
||||
code-example {
|
||||
pre.lang-bash code span {
|
||||
color: $mediumgray !important;
|
||||
}
|
||||
|
||||
pre.lang-sh code span {
|
||||
color: $darkgray !important;
|
||||
&.code-shell, &[language=sh], &[language=bash] {
|
||||
.pnk, .blk, .pln, .otl, .kwd, .typ, .tag, .str, .atv, .atn, .com, .lit, .pun, .dec {
|
||||
color: $darkgray;
|
||||
}
|
||||
}
|
||||
|
||||
header {
|
||||
|
|
Loading…
Reference in New Issue