From b825b7f27c96f51e441fe2c6afd2568fbc1d864d Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 29 Dec 2020 18:12:15 +0530 Subject: post-single: Fix embeded gist colors fixes: #161 --- assets/css/post-single.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/css/post-single.css') diff --git a/assets/css/post-single.css b/assets/css/post-single.css index 30db3e4..d4eea9c 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -122,7 +122,7 @@ } .post-content table th, -.post-content table:not(.highlighttable) td { +.post-content:not(.gist) > table:not(.highlighttable) td { min-width: 80px; padding: 12px 8px; line-height: 1.5; @@ -138,7 +138,7 @@ margin: auto 0 } -.post-content .highlight, +.post-content:not(.gist) > .highlight, .post-content pre { margin: auto calc(var(--gap) * -1) 32px; background: var(--hljs-bg) !important; -- cgit v1.2.3