From 60eababe100c04175a7c46ab08eacf5bf0f880eb Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 18 Oct 2026 20:43:43 +0530 Subject: [PATCH] refactor(md-content): remove unused css rules - removed pygments line number styles (.highlighttable, .linenodiv) - removed li>.highlight margin reset left over from full-bleed code blocks --- assets/css/common/md-content.css | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/assets/css/common/md-content.css b/assets/css/common/md-content.css index 3f36f92e..77dd4452 100644 --- a/assets/css/common/md-content.css +++ b/assets/css/common/md-content.css @@ -88,7 +88,7 @@ } .md-content table th, -.md-content table:not(.highlighttable, .highlight table, .gist .highlight) td { +.md-content table:not(.highlight table, .gist .highlight) td { min-width: 80px; padding: 6px 13px; line-height: 1.5; @@ -99,7 +99,7 @@ text-align: start; } -.md-content table:not(.highlighttable) td code:only-child { +.md-content table td code:only-child { margin: auto 0; } @@ -114,31 +114,10 @@ direction: ltr; } -.md-content li>.highlight { - margin-inline-end: 0; -} - .md-content .highlight pre { margin: 0; } -.md-content .highlighttable { - table-layout: fixed; -} - -.md-content .highlighttable td:first-child { - width: 40px; -} - -.md-content .highlighttable td .linenodiv { - padding-inline-end: 0 !important; -} - -.md-content .highlighttable td .highlight, -.md-content .highlighttable td .linenodiv pre { - margin-bottom: 0; -} - .post-content code { padding: 0.2rem 0.3rem; font-size: 0.78em;