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

From 2013.igem.org

(Difference between revisions)
 
(157 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style>
<style>
-
 
-
//general styling
 
.view {
.view {
     width: 300px;
     width: 300px;
Line 8: Line 6:
     margin: 10px;
     margin: 10px;
     float: left;
     float: left;
-
     border: 10px solid #fff;
+
    background: white;
 +
     border: 0px solid #fff;
     overflow: hidden;
     overflow: hidden;
     position: relative;
     position: relative;
     text-align: center;
     text-align: center;
-
     box-shadow: 1px 1px 2px #e6e6e6;
+
     background:white;
-
     cursor: default;
+
     box-shadow:0px 0px 3px 0px black;
-
    background: #fff url(../images/bgimg.jpg) no-repeat center center
+
 
}
}
.view .mask, .view .content {
.view .mask, .view .content {
Line 26: Line 25:
.view img {
.view img {
     display: block;
     display: block;
-
     position: relative
+
     position: absolute;
}
}
.view h2 {
.view h2 {
Line 36: Line 35:
     padding: 10px;
     padding: 10px;
     background: rgba(0, 0, 0, 0.8);
     background: rgba(0, 0, 0, 0.8);
-
     margin: 20px 0 0 0
+
     margin: 10px 0 0 0
}
}
 +
 +
.view h3 {
 +
    text-transform: uppercase;
 +
    color: #fff;
 +
    text-align: center;
 +
    position: relative;
 +
    font-size: 17px;
 +
    padding: 10px;
 +
    background: rgba(0, 0, 0, 0.3);
 +
    margin: 0 0 0 0;
 +
    margin-top:0px;
 +
    z-index:10;
 +
    border:none;
 +
}
 +
 +
.view .hl{
 +
    position:absolute;   
 +
    margin-top:80px;
 +
    z-index:100;
 +
    width:100%;
 +
}
 +
.view p {
.view p {
     font-family: Georgia, serif;
     font-family: Georgia, serif;
     font-style: italic;
     font-style: italic;
-
     font-size: 12px;
+
     font-size: 11px;
     position: relative;
     position: relative;
     color: #fff;
     color: #fff;
-
     padding: 10px 20px 20px;
+
     padding: 10px 15px 20px;
-
     text-align: center
+
     text-align: left;
}
}
.view a.info {
.view a.info {
     display: inline-block;
     display: inline-block;
     text-decoration: none;
     text-decoration: none;
-
     padding: 7px 14px;
+
     padding: 5px 10px;
-
     background: #000;
+
     background: rgba(0, 0, 0, 0.8);
     color: #fff;
     color: #fff;
     text-transform: uppercase;
     text-transform: uppercase;
Line 57: Line 78:
}
}
.view a.info:hover {
.view a.info:hover {
-
     box-shadow: 0 0 5px #000
+
     box-shadow: 0 0 5px lightgrey;
}
}
-
 
+
.view img {
-
//Effects
+
     transition: all 0.6s linear;
-
.view:hover {
+
-
     transform: scale(1.1);
+
}
}
-
.view-first:hover .mask {
+
.view h3{
-
     opacity: 1;
+
     transition: all 0.6s linear;
}
}
-
.view-first:hover h2,
+
.view .mask {
-
.view-first:hover p,
+
-
.view-first:hover a.info {
+
     opacity: 1;
     opacity: 1;
-
     transform: translateY(0px);
+
     background-color: rgba(255,102,0, 0.8);
 +
    transition: all 0.6s ease-in-out;
 +
    transform: translateX(350px);
 +
    -webkit-transform: translateX(350px);
}
}
-
.view-first:hover p {
+
.view h2 {
-
     transition-delay: 0.1s;
+
    transform: translateY(-100px);
 +
    -webkit-transform: translateY(-100px);
 +
    opacity: 0;
 +
     transition: all 0.4s ease-in-out;
}
}
-
.view-first:hover a.info {
 
-
    transition-delay: 0.2s;
 
}
}
-
.view-sixth:hover .mask {  
+
.view p {
-
     opacity:1;
+
     transform: translateX(100px);
-
     transition-delay: 0s;
+
     -webkit-transform: translateX(100px);
-
}                                                                         
+
    opacity: 0;
-
.view-sixth:hover img {
+
     transition: all 0.4s linear;
-
     transition-delay: 0s;
+
}
}
-
.view-sixth:hover h2 {
+
.view a.info{
-
     opacity: 1;
+
     transform: translateX(100px);
-
     transform: scale(1);
+
     -webkit-transform: translateX(100px);
-
     transition-delay: 0.1s;
+
    opacity: 0;
 +
     transition: all 0.2s ease-in-out;
}
}
-
.view-sixth:hover p {
+
 
-
     opacity:1;
+
 
-
     transform: scale(1);
+
 
-
     transition-delay: 0.2s;
+
.view:hover img {
 +
     opacity:0.8;
 +
     transform: translateX(-300px);
 +
     -webkit-transform: translateX(-300px);
}
}
-
.view-sixth:hover a.info {
+
 
-
     opacity:1;
+
.view:hover h3{
 +
    opacity:0.8;
 +
    transform: translateX(-300px);
 +
    -webkit-transform: translateX(-300px);
 +
}
 +
 
 +
 
 +
.view:hover .mask {
 +
    opacity: 1;
 +
    transform: translateX(000px);
 +
    -webkit-transform: translateX(000px);
 +
}
 +
.view:hover h2,
 +
.view:hover p,
 +
.view:hover a.info {
 +
     opacity: 1;
     transform: translateY(0px);
     transform: translateY(0px);
-
     transition-delay: 0.3s;
+
     -webkit-transform: translateY(0px);
}
}
 +
.view:hover h3{
 +
    opacity:0;
 +
    transform: translateX(-300px);
 +
    -webkit-transform: translateX(-300px);
 +
}
 +
 +
 +
.view:hover p {
 +
    transition-delay: 0.2s;
 +
}
 +
.view:hover a.info {
 +
    transition-delay: 0.2s;
 +
}

Latest revision as of 17:45, 24 October 2013