diff options
| author | XhmikosR <[email protected]> | 2019-02-27 13:37:08 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-03-13 19:22:59 +0200 |
| commit | 6a82a2ebe8cfa018558c5d6b0b2745db3f123ab1 (patch) | |
| tree | 800898372c0b5121bd86fd5570602bf21d944abc | |
| parent | 6e16720b125d1303e51131e7734898bc041160f4 (diff) | |
| download | bootstrap-6a82a2ebe8cfa018558c5d6b0b2745db3f123ab1.tar.xz bootstrap-6a82a2ebe8cfa018558c5d6b0b2745db3f123ab1.zip | |
Fix the chroma fix and use Sass more.
| -rw-r--r-- | site/static/docs/4.3/assets/scss/_syntax.scss | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/site/static/docs/4.3/assets/scss/_syntax.scss b/site/static/docs/4.3/assets/scss/_syntax.scss index 7024b6941..c6e7e6046 100644 --- a/site/static/docs/4.3/assets/scss/_syntax.scss +++ b/site/static/docs/4.3/assets/scss/_syntax.scss @@ -70,20 +70,25 @@ /* LiteralStringOther */ .chroma .sx { color: #c30; } /* TextWhitespace */ .chroma .w { color: #bbb; } -.chroma .language-bash::before, -.chroma .language-sh::before { - color: #009; - content: "$ "; - user-select: none; -} +.chroma { + .language-bash, + .language-sh { + &::before { + color: #009; + content: "$ "; + user-select: none; + } -.chroma .language-bash .m, -.chroma .language-sh .m { - color: initial; -} + // This is just to work around a Chroma bug; + // should be removed when fixed upstream + .m { + color: inherit; + } + } -.chroma .language-powershell::before { - color: #009; - content: "PM> "; - user-select: none; + .language-powershell::before { + color: #009; + content: "PM> "; + user-select: none; + } } |
