Team:UNITN-Trento/CSS/Home

From 2013.igem.org

(Difference between revisions)
m (Added 1px height to tour cell)
m (Added 1px height to tour cell)
Line 74: Line 74:
.column.second .cell.first {
.column.second .cell.first {
 +
    position: relative;
     height: 423px;
     height: 423px;
     margin: 17px 17px -10px 0;
     margin: 17px 17px -10px 0;
Line 83: Line 84:
     background-size: 400px;
     background-size: 400px;
     background-position: -3px 10px;
     background-position: -3px 10px;
 +
}
 +
 +
.column.second .tour .bubble {
 +
    display: block;
 +
    position: absolute;
 +
    top: 0;
 +
    right: 90px;
 +
   
 +
    padding: 1em;
 +
   
 +
    width: 200px;
 +
   
 +
    background-color: rgba(250,250,250,1);
 +
    border: 2px solid black;
 +
    border-radius: 1em;
 +
   
 +
    font-family: "Cabin", sans-serif;
 +
}
 +
 +
.column.second .tour .bubble .pointer {
 +
    position: absolute;
 +
    bottom: -26px;
 +
    left: 12px;
}
}

Revision as of 08:10, 22 September 2013

  1. tn-central-container,
  2. tn-content-wrap,
  3. tn-content {
   padding-bottom: 0 !important;

}

.grid {

   width: 960px;
   margin: 0 auto;
   padding-bottom: 2em;

}

.column {

   display: inline-block;
   vertical-align: top;

}

.wrap, .cell {

   display: block;

}

.column.first .cell {

   height: 222px;
   width: 324px;
   background-color: #005e20;
   /*background-image: url(Tn-2013-boxbgs-Box-verde.png);
   background-position: bottom;
   background-repeat: no-repeat;*/
   border: 3px solid white;
   box-shadow: 2px 2px 4px #323232;

}

.column.first .cell.first {

   margin: 17px 7px 9px 17px;
   background-color: #355667;

}

.column.first .cell.second {

   margin: 9px 7px 9px 17px;
   background-color: #355667;

}

.column.first .cell.third {

   margin: 9px 7px 0px 17px;
   background-color: #13913f;
   background-image: url(Tn-2013-home-Know-your-fruit.jpg);
   border-color: transparent;

}

.column.first .cell.third:hover {

   box-shadow: 2px 2px 8px #323232 inset;

}

.column.first .cell.third a {

   display: block;
   width: 100%;
   height: 100%;

}

.column.second .cell {

   width: 574px;
   background-color: #355667;
   /*background-image: url(Tn-2013-boxbgs-Box-video.jpg);
   background-position: bottom;
   background-repeat: no-repeat;*/
   border: 3px solid white;
   box-shadow: 2px 2px 4px #323232;

}

.column.second .cell.first {

   position: relative;
   height: 423px;
   margin: 17px 17px -10px 0;
   background-color: transparent;
   border-color: transparent;
   box-shadow: none;
   background-image: url('https://static.igem.org/mediawiki/2013/c/c3/Tn-2013-Tourbg-kiwiki.png');
   background-repeat: no-repeat;
   background-size: 400px;
   background-position: -3px 10px;

}

.column.second .tour .bubble {

   display: block;
   position: absolute;
   top: 0;
   right: 90px;
   
   padding: 1em;
   
   width: 200px;
   
   background-color: rgba(250,250,250,1);
   border: 2px solid black;
   border-radius: 1em;
   
   font-family: "Cabin", sans-serif;

}

.column.second .tour .bubble .pointer {

   position: absolute;
   bottom: -26px;
   left: 12px;

}

.column.second .cell.second {

   height: 268px;
   margin: 9px 17px 0px 0;
   background-color: #c02020;

}

.row.second {

   height: 215px;
   width: 915px;
   margin: 9px 17px 0 17px;
   background-color: #ca6819;
   border: 3px solid white;
   box-shadow: 2px 2px 4px #323232;

}

/*PRE-FOOTER*/

.pre-footer {

   width: 960px;
   margin: 0 auto;

}

.pre-footer .sheet {

   width: 915px;
   min-height: 100px;
   margin-left: 17px;
   background-color: #13913f;
   border: 3px solid white;
   box-shadow: 2px -2px 4px #323232;
   text-align: justify;

}

.pre-footer .sheet .container {

   margin: 20px;
   padding: 25px;
   
   background-color: rgba(250,250,250,.7);
   border-radius: 10px;

}

.pre-footer .silhouette {

   display: block;
   margin: 0 auto;

}