From ebdd9e871944051bbd1eaab1103bf2474690e919 Mon Sep 17 00:00:00 2001 From: pfg Date: Fri, 1 Oct 2021 16:23:58 -0400 Subject: [PATCH] fix style in th --- doc/langref.html.in | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) 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; - }