From 6d54717569f7cbb01a1665ffa97f5d46f59b493f Mon Sep 17 00:00:00 2001 From: Jordan Danielewski Date: Sun, 24 Jan 2016 02:46:45 +0100 Subject: [PATCH] Add prefix for Firefox selection and move prefixed rule first --- themes/prism-twilight.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/prism-twilight.css b/themes/prism-twilight.css index a2efd59404..f70e5c50d8 100644 --- a/themes/prism-twilight.css +++ b/themes/prism-twilight.css @@ -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 */ }