Team:UNITN-Trento/CSS/Home

From 2013.igem.org

(Difference between revisions)
Line 54: Line 54:
}
}
-
.row {
+
.column {
-
     display: block;
+
     display: inline-block;
     margin: 0;
     margin: 0;
     padding: 0;
     padding: 0;
-
    width: 100%;
 
}
}
Line 73: Line 72:
}
}
-
.row.first .cell.first {
+
.column.first .cell.first {
     background-image: url(https://static.igem.org/mediawiki/2013/6/64/Tn-2013-Box-tour.png);
     background-image: url(https://static.igem.org/mediawiki/2013/6/64/Tn-2013-Box-tour.png);
-
     margin: 17px 7px 7px 17px;
+
     margin: 17px 7px 7px 7px;
-
    height: 300px;
+
-
    width: 290px;
+
}
}
-
.row.first .cell.first a {
+
.column.first .cell.second {
-
     display: block;
+
     margin: 7px 7px 17px 17px;
-
   
+
-
    height: 100%;
+
-
    width: 100%;
+
-
}
+
-
.row.first .cell.first:hover {
+
     background-image: url(https://static.igem.org/mediawiki/2013/9/97/Tn-2013-home-Fruit-ripening.png);
-
     box-shadow: inset 0 0 4px black;
+
}
}
-
.row.first .cell.second {
+
.column.third .cell.first {
-
    position: relative;
+
     margin: 17px 17px 17px 7px;
-
     margin: 17px 17px 7px 17px;
+
-
    height: 300px;
+
-
    width: 592px;
+
-
}
+
-
 
+
-
.row.first #jms-slideshow .jms-wrapper {
+
-
    margin: 0 auto;
+
-
    padding: 0;
+
-
 
+
-
    height: 300px;
+
-
    min-width: 560px;
+
-
    width: 590px;
+
      
      
-
     background-color: transparent;
+
     background-image: url(https://static.igem.org/mediawiki/2013/1/1f/Tn-2013-home-Vending-machine.png);
-
    border: none;
+
-
   
+
-
    overflow: hidden;
+
}
}
-
.row.first #jms-slideshow .jms-wrapper .step {
+
.column.third .cell.second {
-
     height: 510px;
+
     margin: 7px 17px 17px 7px;
-
    width: 1000px;
+
-
   
+
-
    background-repeat: no-repeat;
+
-
    background-size: auto 100%;
+
-
}
+
-
.row.first #jms-slideshow .jms-dots {
+
    background-image: url(https://static.igem.org/mediawiki/2013/8/8c/Tn-2013-home-Know-your-fruit.jpg);
-
    bottom: 0px
+
}
}
-
.row.second .cell {
+
.column.first .cell.first,
 +
.column.first .cell.second,
 +
.column.third .cell.first,
 +
.column.third .cell.second {
     height: 222px;
     height: 222px;
     width: 293px;
     width: 293px;
}
}
-
.row.second .cell.first {
+
.column.first .cell.first:hover,
-
    margin: 7px 5px 7px 17px;
+
.column.first .cell.second:hover,
-
 
+
.column.third .cell.first:hover,
-
    background-image: url(https://static.igem.org/mediawiki/2013/9/97/Tn-2013-home-Fruit-ripening.png);
+
.column.third .cell.second:hover {
-
}
+
-
 
+
-
.row.second .cell.second {
+
-
    margin: 7px 4px;
+
-
   
+
-
    background-image: url(https://static.igem.org/mediawiki/2013/1/1f/Tn-2013-home-Vending-machine.png);
+
-
}
+
-
 
+
-
.row.second .cell.third {
+
-
    margin: 7px 17px 7px 5px;
+
-
   
+
-
    background-image: url(https://static.igem.org/mediawiki/2013/8/8c/Tn-2013-home-Know-your-fruit.jpg);
+
-
}
+
-
 
+
-
.row.second .cell.first:hover,
+
-
.row.second .cell.second:hover,
+
-
.row.second .cell.third:hover {
+
     box-shadow: 2px 2px 4px #323232 inset;
     box-shadow: 2px 2px 4px #323232 inset;
}
}
-
.row.second .cell.first a,
+
.column.first .cell.first a,
-
.row.second .cell.second a,
+
.column.first .cell.second a,
-
.row.second .cell.third a {
+
.column.third .cell.first a,
 +
.column.third .cell.second a {
     display: block;
     display: block;
Line 163: Line 121:
}
}
-
.row.third .cell.first {
+
.column.second .cell.first {
     margin: 7px 17px 17px 17px;
     margin: 7px 17px 17px 17px;
-
     height: 300px;
+
     height: 293px;
-
     width: 918px;
+
     width: 464px;
      
      
     background-color:  rgba(245, 90, 0,.75);
     background-color:  rgba(245, 90, 0,.75);
Line 172: Line 130:
}
}
-
.row.third .cell.first .tn-title {
+
.coulm.second .cell.first .tn-title {
     display: block;
     display: block;
      
      
Line 182: Line 140:
}
}
-
.row.third .cell.first ul {
+
.coulm.second .cell.first ul {
     display: inline-block;
     display: inline-block;
      
      
Line 202: Line 160:
}
}
-
.row.third .cell.first ul li {
+
.coulm.second .cell.first ul li {
     margin-bottom: 0.3em;
     margin-bottom: 0.3em;
}
}
-
.row.third .cell.first img {
+
.coulm.second .cell.first img {
     margin: 0.8em;
     margin: 0.8em;
     width: 100px;
     width: 100px;
}
}

Revision as of 10:17, 29 September 2013

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

}

/*PRE-GRID*/

.pre-footer {

   width: 960px;
   margin: 0 auto;

}

.pre-footer .sheet {

   width: 915px;
   min-height: 100px;
   margin-left: 17px;
   background-color:  rgba(32,86,54,.9);
   background-image: url( Tn-2013-boxbg-Onda-Watermelon.png);
   border: 3px solid white;
   box-shadow: 2px -2px 4px #323232;
   text-align: justify;

}

.pre-footer .sheet .container {

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

}

.pre-footer p {

   margin: 0.4em auto;
   line-height: 1.2em;

}

.pre-footer .silhouette {

   display: block;
   margin: 0 auto;

}

/*GRID*/

.grid {

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

}

.column {

   display: inline-block;
   margin: 0;
   padding: 0;

}

.cell {

   display: inline-block;
   padding: 0;
   background-color: white;
   border: 3px solid white;
   box-shadow: 2px 2px 4px black;
   
   vertical-align: top;

}

.column.first .cell.first {

   background-image: url(Tn-2013-Box-tour.png);
   margin: 17px 7px 7px 7px;

}

.column.first .cell.second {

   margin: 7px 7px 17px 17px;
   background-image: url(Tn-2013-home-Fruit-ripening.png);

}

.column.third .cell.first {

   margin: 17px 17px 17px 7px;
   
   background-image: url(Tn-2013-home-Vending-machine.png);

}

.column.third .cell.second {

   margin: 7px 17px 17px 7px;
   background-image: url(Tn-2013-home-Know-your-fruit.jpg);

}

.column.first .cell.first, .column.first .cell.second, .column.third .cell.first, .column.third .cell.second {

   height: 222px;
   width: 293px;

}

.column.first .cell.first:hover, .column.first .cell.second:hover, .column.third .cell.first:hover, .column.third .cell.second:hover {

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

}

.column.first .cell.first a, .column.first .cell.second a, .column.third .cell.first a, .column.third .cell.second a {

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

}

.column.second .cell.first {

   margin: 7px 17px 17px 17px;
   height: 293px;
   width: 464px;
   
   background-color:  rgba(245, 90, 0,.75);
   background-image: url( Tn-2013_Onda-fruitripening.png);

}

.coulm.second .cell.first .tn-title {

   display: block;
   
   color: white;
   font-family: "Boogaloo", cursive;
   font-size: 2.5em;
   text-align: center;
   text-shadow: 2px 2px 4px #323232;

}

.coulm.second .cell.first ul {

   display: inline-block;
   
   margin: 0;
   margin-right: 0.5em;
   padding: 15px;
   padding-left: 30px;
   
   max-height: 75px;
   width: 270px;
   
   background-color: rgba(255,255,255,.8);
   border-radius: 1em;
   
   font-size: 0.95em;
   line-height: 1.1em;
   list-style: disc;
   vertical-align: middle;

}

.coulm.second .cell.first ul li {

   margin-bottom: 0.3em;

}

.coulm.second .cell.first img {

   margin: 0.8em;
   width: 100px;

}