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

Line 5: Line 5:
 
  * It's FREE! But you can send us beer at
 
  * It's FREE! But you can send us beer at
 
  * beer@corre.bio :-) */
 
  * beer@corre.bio :-) */
 
 
/* Title (FIY), only Home page*/
 
/* Home banner
 
#homeBanner {
 
width: 100%;
 
height: 100%;
 
position: fixed;
 
top: 0;
 
    background-image: url('https://static.igem.org/mediawiki/2015/d/d1/ParisBettencourt_Banner1.jpg');
 
background-size: cover;
 
background-repeat: no-repeat;
 
background-position: left;
 
z-index: -10;
 
}*/
 
 
/*#homeBanner h1 {
 
/* Position & size
 
/*display: table-caption;
 
position: relative;
 
top: 100px;
 
 
/* Block
 
background-color: rgba(0,0,0,0.5);
 
padding: 20px;
 
 
/* Style
 
color: white;
 
font-size: 70px;
 
/*font-family: 'AlexBrushRegular';
 
font-family: 'GenomeThin';
 
font-weight: 600;
 
letter-spacing: 10px;
 
text-shadow: 0px 0px 5px rgba(255,255,255,0.4);
 
}*/
 
 
/*#homeBanner h1 .letter {
 
color: #F8E9B3;
 
}*/
 
 
 
 
/*#homeBanner h3 {
 
position: absolute;
 
top: 470px;
 
float: right;
 
 
background-color: rgba(0,0,0,0.5);
 
padding: 10px 20px 10px 20px;
 
 
color: white;
 
font-size: 40px;
 
font-family: 'GenomeThin';
 
font-weight: 700;
 
letter-spacing: 7px;
 
text-align: right;
 
text-shadow: 0px 0px 5px rgba(255,255,255,0.4);
 
}
 
#homeBanner img {
 
display: block;
 
width: 400px;
 
margin: auto;
 
padding-top: 100px;
 
}*/
 
 
/* Project description */
 
/*#blockDescription {
 
        min-height: 200px;
 
        width: 100%;
 
}
 
#projDescription {
 
        background-color: black;
 
        float: left;
 
        width: 50%;
 
}
 
#projDescription p {
 
        color: white;
 
    text-indent: 20px;
 
    text-align: justify;
 
    text-decoration: none;
 
        font-size: 24px;
 
        padding: 25px;
 
}*/
 
 
 
/* Tiles for subprojects */
 
/* Common stuff to make them responsive */
 
/*.tiles {
 
        float: left;
 
        position: relative;
 
        width: 16.6667%;
 
        overflow: hidden;
 
}
 
.tiles:before {
 
        content: "";
 
        display: block;
 
        padding-top: 100%;
 
}
 
.tileContent {
 
        position: absolute;
 
        top: 0;
 
        bottom: 0;
 
        left: 0;
 
        right: 0;
 
        color: red;
 
}
 
.tileContent p {
 
        display: table;
 
        width: 100%;
 
        height: 100%;
 
}
 
.tileContent span {
 
        display: table-cell;
 
        text-align: center;
 
        vertical-align: middle;
 
        color: white;
 
        font-size: 28px;
 
        padding: 10px;
 
}*/
 
 
 
  
  
 
/* Background of the page */
 
/* Background of the page */
 
.contentContainer#home {
 
.contentContainer#home {
    background-image: url('https://static.igem.org/mediawiki/2015/d/d1/ParisBettencourt_Banner1.jpg');
+
  background-image: url('../images/idli7_medium.jpg');
background-size: cover;
+
background-repeat: no-repeat;
+
background-position: left;
+
background-attachment: fixed;
+
 
}
 
}
  
 
/* Banner (FIY logo and name of the team) */
 
/* Banner (FIY logo and name of the team) */
 
#banner {
 
#banner {
height: 700px;
+
height: 100%;
 
}
 
}
 
#banner h3 {
 
#banner h3 {
 
display: block;
 
display: block;
 
position: absolute;
 
position: absolute;
top: 370px;
+
bottom: 5%;
 
right: 0;
 
right: 0;
  
background-color: rgba(0,0,0,0.5);
 
 
padding: 10px 20px 10px 20px;
 
padding: 10px 20px 10px 20px;
 
+
text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000,
 +
            0.5px 0.5px #000, -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000;
 
color: white;
 
color: white;
 
font-size: 40px;
 
font-size: 40px;
 
font-family: 'Generica';
 
font-family: 'Generica';
 
letter-spacing: 7px;
 
letter-spacing: 7px;
text-shadow: 0px 0px 5px rgba(255,255,255,0.4);
 
 
}
 
}
#banner img {
 
display: block;
 
position: absolute;
 
top: 200px;
 
left: 10%;
 
width: 400px;
 
}
 
 
 
  
 
/* Text content */
 
/* Text content */
Line 196: Line 62:
 
#description {
 
#description {
 
width: 100%;
 
width: 100%;
height: 300px;
+
height: 400px;
 
margin-top: 5px;
 
margin-top: 5px;
 
background-color: black;
 
background-color: black;
Line 223: Line 89:
 
#subprojects {
 
#subprojects {
 
width:50%;
 
width:50%;
float: right;
+
float: left;
 
height: 100%;
 
height: 100%;
 
}
 
}
Line 235: Line 101:
 
width: 100%;
 
width: 100%;
 
display: block;
 
display: block;
border: 1px solid green;
 
 
}
 
}
  
Line 245: Line 110:
 
#sub5,
 
#sub5,
 
#sub6 {
 
#sub6 {
height: 150px;
+
height: 50%;
width: 150px;
+
width: 33.33333%;
 
float: left;
 
float: left;
 
-webkit-box-sizing: border-box;
 
-webkit-box-sizing: border-box;
Line 263: Line 128:
 
}
 
}
 
#sub4 {
 
#sub4 {
background-color: #00AEEF;
+
background-color: #ED028C;
 
}
 
}
 
#sub5 {
 
#sub5 {
background-color: #ED028C;
+
background-color: #FFF101;
 
}
 
}
 
#sub6 {
 
#sub6 {

Revision as of 13:46, 10 August 2015