remove all use of :not(.image)

This commit is contained in:
Hakim El Hattab
2014-02-17 11:55:38 +01:00
parent 26e9ce1ff7
commit b25fa50657
16 changed files with 119 additions and 99 deletions

View File

@ -59,7 +59,7 @@ body {
/*********************************************
* LINKS
*********************************************/
.reveal a:not(.image) {
.reveal a {
color: #8b743d;
text-decoration: none;
-webkit-transition: color .15s ease;
@ -68,7 +68,7 @@ body {
-o-transition: color .15s ease;
transition: color .15s ease; }
.reveal a:not(.image):hover {
.reveal a:hover {
color: #c0a86e;
text-shadow: none;
border: none; }
@ -84,12 +84,14 @@ body {
margin: 15px 0px;
background: rgba(255, 255, 255, 0.12);
border: 4px solid #333333;
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);

View File

@ -58,7 +58,7 @@ body {
/*********************************************
* LINKS
*********************************************/
.reveal a:not(.image) {
.reveal a {
color: #aa2233;
text-decoration: none;
-webkit-transition: color .15s ease;
@ -67,7 +67,7 @@ body {
-o-transition: color .15s ease;
transition: color .15s ease; }
.reveal a:not(.image):hover {
.reveal a:hover {
color: #dd5566;
text-shadow: none;
border: none; }
@ -83,12 +83,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);
@ -158,12 +160,12 @@ body {
.reveal h6 {
font-weight: 700; }
.reveal a:not(.image),
.reveal a:not(.image):hover {
.reveal a,
.reveal a:hover {
text-shadow: 2px 2px 2px #000; }
.reveal small a:not(.image),
.reveal small a:not(.image):hover {
.reveal small a,
.reveal small a:hover {
text-shadow: 1px 1px 1px #000; }
.reveal p code {

View File

@ -59,7 +59,7 @@ body {
/*********************************************
* LINKS
*********************************************/
.reveal a:not(.image) {
.reveal a {
color: #13daec;
text-decoration: none;
-webkit-transition: color .15s ease;
@ -68,7 +68,7 @@ body {
-o-transition: color .15s ease;
transition: color .15s ease; }
.reveal a:not(.image):hover {
.reveal a:hover {
color: #71e9f4;
text-shadow: none;
border: none; }
@ -84,12 +84,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);

View File

@ -59,7 +59,7 @@ body {
/*********************************************
* LINKS
*********************************************/
.reveal a:not(.image) {
.reveal a {
color: #268bd2;
text-decoration: none;
-webkit-transition: color .15s ease;
@ -68,7 +68,7 @@ body {
-o-transition: color .15s ease;
transition: color .15s ease; }
.reveal a:not(.image):hover {
.reveal a:hover {
color: #78b9e6;
text-shadow: none;
border: none; }
@ -84,12 +84,14 @@ body {
margin: 15px 0px;
background: rgba(255, 255, 255, 0.12);
border: 4px solid #93a1a1;
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);

View File

@ -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);

View File

@ -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);

View File

@ -49,7 +49,7 @@ body {
/*********************************************
* LINKS
*********************************************/
.reveal a:not(.image) {
.reveal a {
color: darkblue;
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: #0000f1;
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);

View File

@ -5,7 +5,7 @@
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
.reveal a:not(.image) {
.reveal a {
line-height: 1.3em; }
/*********************************************
@ -56,7 +56,7 @@ body {
/*********************************************
* LINKS
*********************************************/
.reveal a:not(.image) {
.reveal a {
color: #3b759e;
text-decoration: none;
-webkit-transition: color .15s ease;
@ -65,7 +65,7 @@ body {
-o-transition: color .15s ease;
transition: color .15s ease; }
.reveal a:not(.image):hover {
.reveal a:hover {
color: #74a7cb;
text-shadow: none;
border: none; }
@ -81,12 +81,14 @@ body {
margin: 15px 0px;
background: rgba(255, 255, 255, 0.12);
border: 4px solid #333333;
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);

View File

@ -59,7 +59,7 @@ body {
/*********************************************
* LINKS
*********************************************/
.reveal a:not(.image) {
.reveal a {
color: #268bd2;
text-decoration: none;
-webkit-transition: color .15s ease;
@ -68,7 +68,7 @@ body {
-o-transition: color .15s ease;
transition: color .15s ease; }
.reveal a:not(.image):hover {
.reveal a:hover {
color: #78b9e6;
text-shadow: none;
border: none; }
@ -84,12 +84,14 @@ body {
margin: 15px 0px;
background: rgba(255, 255, 255, 0.12);
border: 4px solid #657b83;
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);

View File

@ -70,13 +70,13 @@ $selectionColor: #fff;
font-weight: 700;
}
.reveal a:not(.image),
.reveal a:not(.image):hover {
.reveal a,
.reveal a:hover {
text-shadow: 2px 2px 2px #000;
}
.reveal small a:not(.image),
.reveal small a:not(.image):hover {
.reveal small a,
.reveal small a:hover {
text-shadow: 1px 1px 1px #000;
}

View File

@ -25,7 +25,7 @@ $linkColor: #51483D;
$linkColorHover: lighten( $linkColor, 20% );
$selectionBackgroundColor: #26351C;
.reveal a:not(.image) {
.reveal a {
line-height: 1.3em;
}

View File

@ -30,7 +30,7 @@ $linkColorHover: lighten( $linkColor, 20% );
$selectionBackgroundColor: #134674;
// Fix links so they are not cut off
.reveal a:not(.image) {
.reveal a {
line-height: 1.3em;
}

View File

@ -53,7 +53,7 @@ body {
* LINKS
*********************************************/
.reveal a:not(.image) {
.reveal a {
color: $linkColor;
text-decoration: none;
@ -63,7 +63,7 @@ body {
-o-transition: color .15s ease;
transition: color .15s ease;
}
.reveal a:not(.image):hover {
.reveal a:hover {
color: $linkColorHover;
text-shadow: none;
@ -86,14 +86,16 @@ body {
border: 4px solid $mainColor;
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;
}
.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);
border-color: $linkColor;