diff --git a/doc/langref.html.in b/doc/langref.html.in index de62a83ceb..f77a3e94d6 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -196,6 +196,25 @@ visibility: visible; } + pre { + counter-reset: line; + } + pre span.line:before { + counter-increment: line; + content: counter(line); + display: inline-block; + padding-right: 1em; + width: 2em; + text-align: right; + color: #999; + } + th pre code { + background: none; + } + th span.line:before { + display: none; + } + @media (prefers-color-scheme: dark) { body{ background:#121212; @@ -274,19 +293,6 @@ color: #fff; } } - - pre { - counter-reset: line; - } - pre span.line:before { - counter-increment: line; - content: counter(line); - display: inline-block; - padding-right: 1em; - width: 2em; - text-align: right; - color: #999; - }