From b7dd1f234b8937e5e2a442a4c2f4287bf0f3c037 Mon Sep 17 00:00:00 2001 From: Nate Contino Date: Thu, 12 Dec 2024 11:37:09 +0000 Subject: [PATCH] Make line numbers readable, unselectable, and a lighter font --- jekyll-assets/css/style.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/jekyll-assets/css/style.css b/jekyll-assets/css/style.css index 4fb17f80a..2d1799570 100644 --- a/jekyll-assets/css/style.css +++ b/jekyll-assets/css/style.css @@ -1234,7 +1234,14 @@ div.listingblock pre.highlight { } #content td.linenos { - padding-right: 10px; + padding-right: 5px; + user-select: none; +} + +#content td.linenos pre.lineno { + padding-top: 15px; + background-color: var(--code-bg-colour); + color: var(--subtle); } .highlight td.code pre {