hide half of the line number on printing

This commit is contained in:
Mylloon 2025-03-25 13:39:00 +01:00
parent f80defe0c8
commit 5ec1c72103
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -254,6 +254,11 @@ table:not(.hljs-ln) tr th:last-child {
page-break-inside: avoid;
}
/* Skip some numbers lines in codeblocks */
tbody tr:nth-child(even) .hljs-ln-numbers {
visibility: hidden;
}
@page {
@bottom-right {
content: counter(page) "/" counter(pages);