Merge pull request #599 from mvasilkov/pre-selection-color-patch

Better contrast for selected text inside `pre code` blocks
This commit is contained in:
David Darnes 2019-07-30 12:26:16 +01:00 committed by GitHub
commit 812b9ba657
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -941,6 +941,10 @@ Usage (In Ghost editor):
border-radius: 5px; border-radius: 5px;
} }
.post-full-content pre ::selection {
color: color(var(--midgrey) l(-25%));
}
.post-full-content pre code { .post-full-content pre code {
padding: 0; padding: 0;
font-size: inherit; font-size: inherit;