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

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<style>
<style>
-
 
-
//general styling
 
.view {
.view {
     width: 300px;
     width: 300px;
Line 13: Line 11:
     text-align: center;
     text-align: center;
     box-shadow: 1px 1px 2px #e6e6e6;
     box-shadow: 1px 1px 2px #e6e6e6;
-
    cursor: default;
+
 
-
    background: #fff url(../images/bgimg.jpg) no-repeat center center
+
}
}
.view .mask, .view .content {
.view .mask, .view .content {
Line 60: Line 57:
}
}
 +
.view img {
 +
    transition: all 0.2s linear;
 +
}
 +
.view .mask {
 +
    opacity: 0;
 +
    background-color: rgba(219,127,8, 0.7);
 +
    transition: all 0.4s ease-in-out;
 +
}
 +
.view h2 {
 +
    transform: translateY(-100px);
 +
    opacity: 0;
 +
    transition: all 0.2s ease-in-out;
 +
}
 +
.view p {
 +
    transform: translateY(100px);
 +
    opacity: 0;
 +
    transition: all 0.2s linear;
 +
}
 +
.view a.info{
 +
    opacity: 0;
 +
    transition: all 0.2s ease-in-out;
 +
}
-
 
+
.view:hover img {
-
//Effects
+
-
.view:hover {
+
     transform: scale(1.1);
     transform: scale(1.1);
}
}
-
.view-first:hover .mask {
+
.view:hover .mask {
     opacity: 1;
     opacity: 1;
}
}
-
.view-first:hover h2,
+
.view:hover h2,
-
.view-first:hover p,
+
.view:hover p,
-
.view-first:hover a.info {
+
.view:hover a.info {
     opacity: 1;
     opacity: 1;
     transform: translateY(0px);
     transform: translateY(0px);
}
}
-
.view-first:hover p {
+
.view:hover p {
     transition-delay: 0.1s;
     transition-delay: 0.1s;
}
}
-
.view-first:hover a.info {
+
.view:hover a.info {
     transition-delay: 0.2s;
     transition-delay: 0.2s;
}
}
-
 
-
.view-sixth:hover .mask {
 
-
    opacity:1;
 
-
    transition-delay: 0s;
 
-
}                                                                         
 
-
.view-sixth:hover img {
 
-
    transition-delay: 0s;
 
-
}
 
-
.view-sixth:hover h2 {
 
-
    opacity: 1;
 
-
    transform: scale(1);
 
-
    transition-delay: 0.1s;
 
-
}
 
-
.view-sixth:hover p {
 
-
    opacity:1;
 
-
    transform: scale(1);
 
-
    transition-delay: 0.2s;
 
-
}
 
-
.view-sixth:hover a.info {
 
-
    opacity:1;
 
-
    transform: translateY(0px);
 
-
    transition-delay: 0.3s;
 
-
}
 
-
 

Revision as of 16:59, 2 October 2013