Template:Kyoto/css/top

From 2014.igem.org

(Difference between revisions)
Line 20: Line 20:
.kyoto-fade{
.kyoto-fade{
-
     background-color: #ffffff;
+
     background-color: transparent;
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
-
    opacity: 0;
 
-
    transition: opacity 0.5s;
 
-
    -webkit-transition: opacity 0.5s;
 
-
    -moz-transition: opacity 0.5s;
 
-
    -o-transition: opacity 0.5s;
 
-
    -ms-transition: opacity 0.5s;
 
}
}
-
.kyoto-fade:hover{
+
.kyoto-fade:hover > div {
     opacity: 0.7;
     opacity: 0.7;
}
}
Line 71: Line 65:
     position: relative;
     position: relative;
     margin: auto;
     margin: auto;
 +
    opacity: 0;
 +
    transition: opacity 0.5s;
 +
    -webkit-transition: opacity 0.5s;
 +
    -moz-transition: opacity 0.5s;
 +
    -o-transition: opacity 0.5s;
 +
    -ms-transition: opacity 0.5s;
}
}

Revision as of 08:32, 4 October 2014