diff options
| author | pfg <pfg@pfg.pw> | 2021-10-01 16:23:58 -0400 |
|---|---|---|
| committer | pfg <pfg@pfg.pw> | 2021-10-01 16:23:58 -0400 |
| commit | ebdd9e871944051bbd1eaab1103bf2474690e919 (patch) | |
| tree | 1a49a38a16b881baece8a695d95968d132ddff4b /doc | |
| parent | d5c5824c8031bedeb8c2394099fcf66d1b4efb79 (diff) | |
| download | zig-ebdd9e871944051bbd1eaab1103bf2474690e919.tar.gz zig-ebdd9e871944051bbd1eaab1103bf2474690e919.zip | |
fix style in th
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 32 |
1 files 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; - } </style> </head> <body> |
