Template:Team:Bielefeld-Germany/css/frontpage.css

From 2013.igem.org

(Difference between revisions)
Line 57: Line 57:
}
}
-
.view:hover img {
+
.view img {
-
    transform: scaleY(1);
+
     transition: all 0.2s linear;
-
     transition: all 0.7s ease-in-out;
+
}
}
-
.view:hover .mask {
+
.view .mask {
-
    background-color: rgba(255, 231, 179, 0.3);
+
-
    transition: all 0.5s linear;
+
     opacity: 0;
     opacity: 0;
-
+
     background-color: rgba(219,127,8, 0.7);
-
.view:hover h2{
+
     transition: all 0.4s ease-in-out;
-
     border-bottom: 1px solid rgba(0, 0, 0, 0.3);
+
}
-
     background: transparent;
+
.view h2 {
-
    margin: 20px 40px 0px 40px;
+
     transform: translateY(-100px);
-
     transform: scale(0);
+
-
    color: #333;
+
-
    transition: all 0.5s linear;
+
     opacity: 0;
     opacity: 0;
 +
    transition: all 0.2s ease-in-out;
}
}
-
.view:hover p {
+
.view p {
-
     color: #333;
+
     transform: translateY(100px);
     opacity: 0;
     opacity: 0;
-
    transform: scale(0);
+
     transition: all 0.2s linear;
-
     transition: all 0.5s linear;
+
}
}
-
.view:hover a.info {
+
.view a.info{
     opacity: 0;
     opacity: 0;
-
     transform: scale(0);
+
    transition: all 0.2s ease-in-out;
-
     transition: all 0.5s linear;
+
}
 +
 
 +
.view:hover img {
 +
     transform: scale(1.1);
 +
}
 +
.view:hover .mask {
 +
    opacity: 1;
 +
}
 +
.view:hover h2,
 +
.view:hover p,
 +
.view:hover a.info {
 +
    opacity: 1;
 +
    transform: translateY(0px);
 +
}
 +
.view:hover p {
 +
     transition-delay: 0.1s;
 +
}
 +
.view:hover a.info {
 +
    transition-delay: 0.2s;
}
}
 +
</style>
</style>
</html>
</html>

Revision as of 17:07, 2 October 2013