Better contrast for selected text inside `pre code` blocks

This commit is contained in:
Mark Vasilkov 2019-07-30 14:08:45 +03:00
parent dc74e24d0c
commit 56d1ff2337
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;