Skip to content

Commit

Permalink
Add prefix for Firefox selection and move prefixed rule first
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Danielewski committed Jan 24, 2016
1 parent 7501ceb commit 6d54717
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions themes/prism-twilight.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ pre[class*="language-"] {
padding: 1em;
}

pre[class*="language-"]::selection {
/* Safari */
pre[class*="language-"]::-moz-selection {
/* Firefox */
background: hsl(200, 4%, 16%); /* #282A2B */
}

pre[class*="language-"]::selection {
/* Firefox */
/* Safari */
background: hsl(200, 4%, 16%); /* #282A2B */
}

Expand Down

0 comments on commit 6d54717

Please sign in to comment.