Improved styles for hiding line numbers.

This commit is contained in:
Cotes Chung 2020-06-23 16:26:12 +08:00
parent e87ef0d40e
commit afccb144b1

View file

@ -119,6 +119,7 @@ td.rouge-code {
/* Hide line numbers for default, console, and terminal code snippets */ /* Hide line numbers for default, console, and terminal code snippets */
div { div {
&[class^='highlighter-rouge'], &[class^='highlighter-rouge'],
&.language-plaintext.highlighter-rouge,
&.language-console.highlighter-rouge, &.language-console.highlighter-rouge,
&.language-terminal.highlighter-rouge { &.language-terminal.highlighter-rouge {
pre.lineno { pre.lineno {