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/serif.css | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'css/theme/serif.css') diff --git a/css/theme/serif.css b/css/theme/serif.css index d5f0ad8..ed38176 100644 --- a/css/theme/serif.css +++ b/css/theme/serif.css @@ -4,7 +4,7 @@ * * This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed. */ -.reveal a:not(.image) { +.reveal a { line-height: 1.3em; } /********************************************* @@ -49,7 +49,7 @@ body { /********************************************* * LINKS *********************************************/ -.reveal a:not(.image) { +.reveal a { color: #51483d; text-decoration: none; -webkit-transition: color .15s ease; @@ -58,7 +58,7 @@ body { -o-transition: color .15s ease; transition: color .15s ease; } -.reveal a:not(.image):hover { +.reveal a:hover { color: #8b7c69; text-shadow: none; border: none; } @@ -74,12 +74,14 @@ body { margin: 15px 0px; background: rgba(255, 255, 255, 0.12); border: 4px solid black; - 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