diff --git a/client/src/components/layouts/prism-night.css b/client/src/components/layouts/prism-night.css index 4c20736761..3fdbdb51ec 100644 --- a/client/src/components/layouts/prism-night.css +++ b/client/src/components/layouts/prism-night.css @@ -5,50 +5,50 @@ * @author Rose Pritchard */ -.night code[class*="language-"], -.night pre[class*="language-"] { - color: #ccc; - font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; - font-size: 1em; - text-align: left; - white-space: pre; - word-spacing: normal; - word-break: normal; - word-wrap: normal; - line-height: 1.5; +.night code[class*='language-'], +.night pre[class*='language-'] { + color: #ccc; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; - -moz-tab-size: 4; - -o-tab-size: 4; - tab-size: 4; + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; - -webkit-hyphens: none; - -moz-hyphens: none; - -ms-hyphens: none; - hyphens: none; + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; text-shadow: none; } -.night pre[class*="language-"] code[class*="language-"] { +.night pre[class*='language-'] code[class*='language-'] { color: #d4d4d4; } /* Code blocks */ -.night pre[class*="language-"] { - padding: 1em; - margin: .5em 0; - overflow: auto; +.night pre[class*='language-'] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; } -.night :not(pre) > code[class*="language-"], -.night pre[class*="language-"] { +.night :not(pre) > code[class*='language-'], +.night pre[class*='language-'] { background: #242424; } /* Inline code */ -.night :not(pre) > code[class*="language-"] { - padding: .1em; - border-radius: .3em; - white-space: normal; +.night :not(pre) > code[class*='language-'] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; } .night .token.comment, @@ -67,7 +67,7 @@ .night .token.attr-name, .night .token.namespace, .night .token.deleted { - color: #e2777a; + color: #e2777a; } .night .token.function-name { @@ -84,7 +84,7 @@ .night .token.class-name, .night .token.constant, .night .token.symbol { - color: #f8c555; + color: #f8c555; } .night .token.selector, @@ -100,28 +100,28 @@ .night .token.attr-value, .night .token.regex, .night .token.variable { - color: #7ec699; + color: #7ec699; } .night .token.operator, .night .token.entity, .night .token.url { - color: #67cdcc; + color: #67cdcc; background: none; } .night .token.important, .night .token.bold { - font-weight: bold; + font-weight: bold; } .night .token.italic { - font-style: italic; + font-style: italic; } .night .token.entity { - cursor: help; + cursor: help; } .night .token.inserted { - color: green; + color: green; }