From b25fa5065720a95ead521d148f5384515549d383 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 17 Feb 2014 11:55:38 +0100 Subject: remove all use of :not(.image) --- css/theme/night.css | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'css/theme/night.css') diff --git a/css/theme/night.css b/css/theme/night.css index e8703a5..46c6e64 100644 --- a/css/theme/night.css +++ b/css/theme/night.css @@ -47,7 +47,7 @@ body { /********************************************* * LINKS *********************************************/ -.reveal a:not(.image) { +.reveal a { color: #e7ad52; text-decoration: none; -webkit-transition: color .15s ease; @@ -56,7 +56,7 @@ body { -o-transition: color .15s ease; transition: color .15s ease; } -.reveal a:not(.image):hover { +.reveal a:hover { color: #f3d7ac; text-shadow: none; border: none; } @@ -72,12 +72,14 @@ body { margin: 15px 0px; background: rgba(255, 255, 255, 0.12); border: 4px solid #eeeeee; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); - -webkit-transition: all .2s linear; - -moz-transition: all .2s linear; - -ms-transition: all .2s linear; - -o-transition: all .2s linear; - transition: all .2s linear; } + box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } + +.reveal a img { + -webkit-transition: all .15s linear; + -moz-transition: all .15s linear; + -ms-transition: all .15s linear; + -o-transition: all .15s linear; + transition: all .15s linear; } .reveal a:hover img { background: rgba(255, 255, 255, 0.2); -- cgit v1.2.3