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
This commit is contained in:
Aditya Telange committed 2026-10-18 20:43:43 +05:30
1 parent 71da652f29
commit 60eababe10
1 file changed
+2 -23
+2 -23
View File
@@ -88,7 +88,7 @@
} }
.md-content table th, .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; min-width: 80px;
padding: 6px 13px; padding: 6px 13px;
line-height: 1.5; line-height: 1.5;
@@ -99,7 +99,7 @@
text-align: start; text-align: start;
} }
.md-content table:not(.highlighttable) td code:only-child { .md-content table td code:only-child {
margin: auto 0; margin: auto 0;
} }
@@ -114,31 +114,10 @@
direction: ltr; direction: ltr;
} }
.md-content li>.highlight {
margin-inline-end: 0;
}
.md-content .highlight pre { .md-content .highlight pre {
margin: 0; 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 { .post-content code {
padding: 0.2rem 0.3rem; padding: 0.2rem 0.3rem;
font-size: 0.78em; font-size: 0.78em;