Merge pull request #599 from mvasilkov/pre-selection-color-patch
Better contrast for selected text inside `pre code` blocks
This commit is contained in:
commit
812b9ba657
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -941,6 +941,10 @@ Usage (In Ghost editor):
|
|||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.post-full-content pre ::selection {
|
||||
color: color(var(--midgrey) l(-25%));
|
||||
}
|
||||
|
||||
.post-full-content pre code {
|
||||
padding: 0;
|
||||
font-size: inherit;
|
||||
|
|
Loading…
Reference in New Issue