Difference between revisions of "Template:Paris Bettencourt/cssHome"

Line 69: Line 69:
 
position: relative;
 
position: relative;
 
float: left;
 
float: left;
 +
        background-position: top;
 +
background-attachment: fixed;
 +
background-repeat: no-repeat;
 +
-webkit-background-size: cover;
 +
-moz-background-size: cover;
 +
-o-background-size: cover;
 +
background-size: cover;
 
}
 
}
 
.blockTextLeft p, .blockTextRight p {
 
.blockTextLeft p, .blockTextRight p {
Line 138: Line 145:
 
         height: 200px;
 
         height: 200px;
 
}
 
}
.blockTextLeft img, .blockTextRight img {
 
        width: 100%;
 
        height: 100%;
 
        overflow: hidden;
 
}
 
 
  
  
 
.blockTextLeft#homeProject {
 
.blockTextLeft#homeProject {
        width: 100%;
 
        height: 100%;
 
 
         background-image: url('https://static.igem.org/mediawiki/2015/b/be/Parisbettencourt_homeproject.jpeg');
 
         background-image: url('https://static.igem.org/mediawiki/2015/b/be/Parisbettencourt_homeproject.jpeg');
 
}
 
}

Revision as of 10:34, 17 September 2015