post-single: Fix embeded gist colors

fixes: #161
This commit is contained in:
Aditya Telange 2020-12-29 18:12:15 +05:30
parent 2b7d2dd493
commit b825b7f27c
No known key found for this signature in database
GPG key ID: 82E844EF3DA99E77
2 changed files with 3 additions and 3 deletions

View file

@ -122,7 +122,7 @@
} }
.post-content table th, .post-content table th,
.post-content table:not(.highlighttable) td { .post-content:not(.gist) > table:not(.highlighttable) td {
min-width: 80px; min-width: 80px;
padding: 12px 8px; padding: 12px 8px;
line-height: 1.5; line-height: 1.5;
@ -138,7 +138,7 @@
margin: auto 0 margin: auto 0
} }
.post-content .highlight, .post-content:not(.gist) > .highlight,
.post-content pre { .post-content pre {
margin: auto calc(var(--gap) * -1) 32px; margin: auto calc(var(--gap) * -1) 32px;
background: var(--hljs-bg) !important; background: var(--hljs-bg) !important;

View file

@ -79,7 +79,7 @@ table {
width: 100%; width: 100%;
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
overflow-x: scroll; overflow-x: auto;
word-break: keep-all word-break: keep-all
} }