From b239e87fe2739392429289b40e1a687b4cd7bf2e Mon Sep 17 00:00:00 2001 From: 3Dgoo Date: Wed, 3 Dec 2014 09:35:01 +1030 Subject: [PATCH] Fixing text highlight css By setting anything to ::selection in the css it resets all selection styling. Meaning highlighted text does not show any indication of highlighting. I have added in the selection color and background so text appears highlighted when selected. --- css/typography.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/css/typography.css b/css/typography.css index 179c0f0..dcbd79d 100644 --- a/css/typography.css +++ b/css/typography.css @@ -1,10 +1,14 @@ /*! text selection */ ::-moz-selection { text-shadow:none; + color: #ffffff; + background: #1389CE; } ::selection { text-shadow: none; + color: #ffffff; + background: #1389CE; } /*! links */ @@ -343,4 +347,4 @@ table { background: -ms-linear-gradient(top, #599BDC 1%,#3072B3 100%); /* IE10+ */ background: linear-gradient(to bottom, #599BDC 1%,#3072B3 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#599BDC', endColorstr='#3072B3',GradientType=0 ); /* IE6-9 */ - } \ No newline at end of file + }