Team:UNITN-Trento/CSS/Home

From 2013.igem.org

(Difference between revisions)
 
(34 intermediate revisions not shown)
Line 5: Line 5:
}
}
-
.grid {
+
/* NEWS */
-
     width: 960px;
+
 
-
     margin: 0 auto;
+
.news {
-
     padding-bottom: 2em;
+
     display: block;
 +
     margin: -1em;
 +
      
 +
    color: white;
 +
    font-family: "Boogaloo", cursive;
 +
    font-size: 2.7em;
 +
    text-align: center;
 +
    text-shadow: 0 0 4px black;
}
}
-
.column {
+
.news:link,
-
     display: inline-block;
+
.news:visited,
-
     vertical-align: top;
+
.news-2:link,
 +
.news-2:visited {
 +
     color: white;
 +
     text-decoration: none;
}
}
-
.wrap,
+
.news:hover,
-
.cell {
+
.news-2:hover {
 +
    color: rgba(196, 34, 28,1);
 +
    text-decoration: underline;
 +
    text-shadow: 0 0 4px white;
 +
}
 +
 
 +
.news .photo {
 +
    width: 150px;
 +
}
 +
 
 +
.news-2 {
     display: block;
     display: block;
 +
    margin: 0.2em;
 +
    margin-top: 0.3em;
 +
   
 +
    color: white;
 +
    font-family: "Boogaloo", cursive;
 +
    font-size: 2.7em;
 +
    text-align: center;
 +
    text-shadow: 0 0 4px black;
}
}
-
.column.first .cell {
+
/*PRE-GRID*/
-
     height: 222px;
+
 
-
     width: 324px;
+
.pre-grid {
 +
    width: 960px;
 +
    margin: 0 auto;
 +
}
 +
 
 +
.pre-grid .sheet {
 +
     width: 922px;
 +
    min-height: 100px;
 +
 
 +
     margin-left: 10px;
-
     background-color: #005e20;
+
     background-color:   rgba(39,48,77,.9);
-
     /*background-image: url(https://static.igem.org/mediawiki/2013/a/af/Tn-2013-boxbgs-Box-verde.png);
+
     background-image: url( https://static.igem.org/mediawiki/2013/f/f6/Tn-2013-boxbg-Onda-Blueberry.png);
-
    background-position: bottom;
+
-
    background-repeat: no-repeat;*/
+
     border: 3px solid white;
     border: 3px solid white;
     box-shadow: 2px 2px 4px #323232;
     box-shadow: 2px 2px 4px #323232;
-
}
 
-
.column.first .cell.first {
+
     text-align: justify;
-
     margin: 17px 7px 9px 17px;
+
-
    background-color: #355667;
+
}
}
-
.column.first .cell.second {
+
.pre-grid .sheet .container {
-
     margin: 9px 7px 9px 17px;
+
     margin: 20px;
-
     background-color: #355667;
+
    padding: 15px 25px;
 +
   
 +
     background-color: rgba(250,250,250,.7);
 +
    border-radius: 10px;
}
}
-
.column.first .cell.third {
+
.pre-grid p {
-
     margin: 9px 7px 0px 17px;
+
     margin: 0.4em auto;
-
    background-color: #13913f;
+
-
    background-image: url(https://static.igem.org/mediawiki/2013/8/8c/Tn-2013-home-Know-your-fruit.jpg);
+
-
    border-color: transparent;
+
-
}
+
-
.column.first .cell.third:hover {
+
     line-height: 1.2em;
-
     box-shadow: 2px 2px 8px #323232 inset;
+
}
}
-
.column.first .cell.third a {
+
.pre-grid .silhouette {
     display: block;
     display: block;
-
     width: 100%;
+
     margin: 0 auto;
-
    height: 100%;
+
}
}
-
.column.second .cell {
+
/*GRID*/
-
    width: 574px;
+
-
    background-color: #355667;
+
.grid {
-
    /*background-image: url(https://static.igem.org/mediawiki/2013/d/dd/Tn-2013-boxbgs-Box-video.jpg);
+
     width: 960px;
-
     background-position: bottom;
+
     margin: 0 auto;
-
     background-repeat: no-repeat;*/
+
     padding-bottom: 2em;
-
     border: 3px solid white;
+
-
 
+
-
    box-shadow: 2px 2px 4px #323232;
+
}
}
-
.column.second .cell.first {
+
.column {
-
     position: relative;
+
     display: inline-block;
-
    height: 423px;
+
     margin: 0;
-
     margin: 17px 17px -10px 0;
+
     padding: 0;
-
     background-color: transparent;
+
     width: 315px;
-
     border-color: transparent;
+
     vertical-align: top;
-
     border-top-left-radius: 1em;
+
-
    border-top-right-radius: 1em;
+
-
    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: 27px 10px;
+
}
}
-
.column.second .guide .bubble {
+
.cell {
-
     display: block;
+
     display: inline-block;
-
    position: absolute;
+
-
    top: 0;
+
-
    right: 65px;
+
-
   
+
-
    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 .guide .bubble .pointer {
+
     padding: 0;
-
     position: absolute;
+
-
    bottom: -26px;
+
-
    left: 12px;
+
-
}
+
-
.column.second .guide .tour {
 
-
    display: block;
 
-
    padding: 10px;
 
-
    width: 150px;
 
-
   
 
     background-color: white;
     background-color: white;
-
     border-bottom: 3px solid #dadada;
+
     border: 3px solid white;
-
    border-radius: 0.4em;
+
     box-shadow: 2px 2px 4px black;
-
     box-shadow: 1px 1px 2px black;
+
      
      
-
     color: black;
+
     vertical-align: top;
-
    font-family: "Boogaloo", cursive;
+
-
    font-size: 1.5em;
+
-
    text-align: center;
+
}
}
-
.column.second .guide .tour:hover {
+
.column.first .cell.first {
-
     background-color: #dadada;
+
     background-image: url(https://static.igem.org/mediawiki/2013/6/64/Tn-2013-Box-tour.png);
-
    border-bottom: 3px solid white;
+
-
    box-shadow: 1px 1px 1px black inset;
+
-
    text-decoration: none;
+
-
}
+
-
.column.second .guide #tour4 {
+
     margin: 10px 7px 7px 10px;
-
     position: absolute;
+
-
    bottom: 5px;
+
-
    right: 40px;
+
-
   
+
-
    background-color: rgb(81,85,158);
+
-
    border-color: rgb(51,53,101);
+
-
    color: white;
+
-
    text-shadow: 0 0 2px black;
+
}
}
-
.column.second .guide #tour4:hover {
+
.column.first .cell.second {
-
     background-color: rgb(51,53,101);
+
     margin: 7px 7px 10px 10px;
-
     border-color: rgb(81,85,158);
+
 
-
    text-shadow: none;
+
     background-image: url(https://static.igem.org/mediawiki/2013/9/97/Tn-2013-home-Fruit-ripening.png);
}
}
-
.column.second .guide #tour3 {
+
.column.third .cell.first {
-
     position: absolute;
+
     margin: 10px 10px 7px 0px;
-
    bottom: 60px;
+
-
    right: 80px;
+
      
      
-
     background-color: rgb(231,61,59);
+
     background-image: url(https://static.igem.org/mediawiki/2013/1/1f/Tn-2013-home-Vending-machine.png);
-
    border-color: rgb(171,47,46);
+
-
    color: white;
+
-
    text-shadow: 0 0 2px black;
+
}
}
-
.column.second .guide #tour3:hover {
+
.column.third .cell.second {
-
     background-color: rgb(171,47,46);
+
     margin: 7px 10px 10px 0px;
-
    border-color: rgb(231,61,59);
+
-
    text-shadow: none;
+
-
}
+
-
.column.second .guide #tour2 {
+
     background-image: url(https://static.igem.org/mediawiki/2013/8/8c/Tn-2013-home-Know-your-fruit.jpg);
-
    position: absolute;
+
-
    bottom: 115px;
+
-
    right: 40px;
+
-
   
+
-
     background-color: rgb(59,175,77);
+
-
    border-color: rgb(41,122,53);
+
-
    color: white;
+
-
    text-shadow: 0 0 2px black;
+
}
}
-
.column.second .guide #tour2:hover {
+
.column.first .cell.first,
-
     background-color: rgb(41,122,53);
+
.column.first .cell.second,
-
     border-color: rgb(59,175,77);
+
.column.third .cell.first,
-
     text-shadow: none;
+
.column.third .cell.second {
 +
     height: 222px;
 +
     width: 293px;
 +
     white-space: nowrap;
}
}
-
.column.second .guide #tour1 {
+
.column.first .cell.first:hover,
-
    position: absolute;
+
.column.first .cell.second:hover,
-
    bottom: 170px;
+
.column.third .cell.first:hover,
-
    right: 80px;
+
.column.third .cell.second:hover {
-
   
+
     box-shadow: 2px 2px 4px #323232 inset;
-
    background-color: rgb(102,163,229);
+
-
    border-color: rgb(71,114,161);
+
-
    color: white;
+
-
     text-shadow: 0 0 2px black;
+
}
}
-
.column.second .guide #tour1:hover {
+
.column.first .cell.first a,
-
     background-color: rgb(71,114,161);
+
.column.first .cell.second a,
-
     border-color: rgb(102,163,229);
+
.column.third .cell.first a,
-
     text-shadow: none;
+
.column.third .cell.second a {
 +
     display: block;
 +
 
 +
     height: 100%;
 +
     width: 100%;
}
}
-
.column.second .cell.second {
+
.column.second .cell.first {
     position: relative;
     position: relative;
-
     height: 268px;
+
 
 +
    margin: 10px 0px;
 +
     height: 464px;
 +
    width: 300px;
      
      
-
     margin: 9px 17px 0px 0;
+
     background-color: rgba(245, 90, 0,.75);
-
     padding: 0;
+
     background-image: url( https://static.igem.org/mediawiki/2013/b/bf/Tn-2013_Onda-fruitripening.png);
 +
}
 +
 
 +
.column.second .cell.first .tn-title {
 +
    display: block;
      
      
-
     background-color: #c02020;
+
     color: white;
 +
    font-family: "Boogaloo", cursive;
 +
    font-size: 2.5em;
 +
    text-align: center;
 +
    text-shadow: 2px 2px 4px #323232;
}
}
-
.column.second #jms-slideshow .jms-wrapper {
+
.column.second .cell.first ul {
-
     height: 268px;
+
     display: block;
-
    min-width: 500px;
+
-
    width: 574px;
+
      
      
-
     margin: 0;
+
     margin: 1em auto;
-
     padding: 0;
+
    margin-left: 1em;
 +
     padding: 10px;
 +
    padding-left: 25px;
 +
 
      
      
-
     background-color: transparent;
+
     width: 200px;
-
    border: none;
+
      
      
-
     overflow: hidden;
+
     background-color: rgba(255,255,255,.8);
 +
    border-radius: 1em;
 +
   
 +
    font-size: 0.85em;
 +
    line-height: 1em;
 +
    list-style: disc;
 +
    vertical-align: middle;
}
}
-
.column.second #jms-slideshow .jms-wrapper .step {
+
.column.second .cell.first ul li {
-
     width: 1000px;
+
     margin-bottom: 0.3em;
-
    height: 470px;
+
-
    background-repeat: no-repeat;
+
-
    background-size: auto 100%;
+
}
}
-
.column.second #jms-slideshow .jms-arrows-next {
+
.column.second .cell.first img {
-
     right: 5px;
+
     position: absolute;
 +
   
 +
    margin: 0.8em;
 +
    width: 70px;
}
}
-
.column.second #jms-slideshow .jms-arrows-prev {
+
.column.second .cell.first img.plasmid {
-
     left: 5px;
+
     top: 95px;
 +
    right: -10px;
 +
   
 +
    width: 65px;
}
}
-
.column.second #jms-slideshow .jms-dots {
+
.column.second .cell.first img.human {
-
     bottom: 5px;
+
     top: 190px;
 +
    right: -10px;
 +
   
 +
    width: 65px;
}
}
-
.row.second {
+
.column.second .cell.first img.product {
-
     height: auto;
+
     top: 270px;
-
     width: 915px;
+
     right: -10px;
-
    margin: 9px 17px 0 17px;
+
      
-
 
+
     width: 65px;
-
    background-color: rgb(231,61,59);
+
-
     border: 3px solid white;
+
-
 
+
-
     box-shadow: 2px 2px 4px #323232;
+
}
}
-
h1 {
+
.column.second .cell.first img.fruit {
-
border-bottom: none;
+
    top: 380px;
-
padding-top: 0;
+
    right: -10px;
 +
   
 +
    width: 65px;
}
}
-
.row.second.sheet .container {
+
/*POST-GRID*/
-
margin: 20px;
+
-
padding: 25px;
+
-
background-color: rgba(250,250,250,.7);
+
-
border-radius: 10px;
+
-
font-family: boogaloo;
+
-
}
+
-
 
+
.post-grid {
-
 
+
    position: relative;
-
/*PRE-FOOTER*/
+
-
 
+
-
.pre-footer {
+
     width: 960px;
     width: 960px;
     margin: 0 auto;
     margin: 0 auto;
}
}
-
.pre-footer .sheet {
+
.post-grid .sheet {
-
     width: 915px;
+
     width: 922px;
     min-height: 100px;
     min-height: 100px;
-
     margin-left: 17px;
+
    margin-top: -2em;
 +
     margin-left: 10px;
 +
    margin-bottom: 2em;
-
     background-color: #13913f;
+
     background-color:   rgba(39,48,77,.9);
 +
    background-image: url( https://static.igem.org/mediawiki/2013/f/f6/Tn-2013-boxbg-Onda-Blueberry.png);
     border: 3px solid white;
     border: 3px solid white;
-
     box-shadow: 2px -2px 4px #323232;
+
     box-shadow: 2px 2px 4px #323232;
     text-align: justify;
     text-align: justify;
 +
    z-index: 1;
}
}
-
.pre-footer .sheet .container {
+
 
-
     margin: 20px;
+
.post-grid p {
-
    padding: 25px;
+
     margin: 0.4em auto;
-
      
+
 
-
    background-color: rgba(250,250,250,.7);
+
     line-height: 1.2em;
-
    border-radius: 10px;
+
}
}
-
.pre-footer .silhouette {
+
.post-grid .txt {
-
     display: block;
+
     display: box;
-
     margin: 0 auto;
+
     position: absolute;
 +
    top: -0.5em;
 +
    left: 0.7em;
 +
   
 +
    color: white;
 +
    font-size: 3em;
 +
    font-family: "Boogaloo", cursive;
 +
    text-shadow: 0 0 6px black;
 +
   
 +
    z-index: 5;
}
}

Latest revision as of 19:15, 26 October 2013

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

}

/* NEWS */

.news {

   display: block;
   margin: -1em;
   
   color: white;
   font-family: "Boogaloo", cursive;
   font-size: 2.7em;
   text-align: center;
   text-shadow: 0 0 4px black;

}

.news:link, .news:visited, .news-2:link, .news-2:visited {

   color: white;
   text-decoration: none;

}

.news:hover, .news-2:hover {

   color: rgba(196, 34, 28,1);
   text-decoration: underline;
   text-shadow: 0 0 4px white;

}

.news .photo {

   width: 150px;

}

.news-2 {

   display: block;
   margin: 0.2em;
   margin-top: 0.3em;
   
   color: white;
   font-family: "Boogaloo", cursive;
   font-size: 2.7em;
   text-align: center;
   text-shadow: 0 0 4px black;

}

/*PRE-GRID*/

.pre-grid {

   width: 960px;
   margin: 0 auto;

}

.pre-grid .sheet {

   width: 922px;
   min-height: 100px;
   margin-left: 10px;
   background-color:   rgba(39,48,77,.9);
   background-image: url( Tn-2013-boxbg-Onda-Blueberry.png);
   border: 3px solid white;
   box-shadow: 2px 2px 4px #323232;
   text-align: justify;

}

.pre-grid .sheet .container {

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

}

.pre-grid p {

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

}

.pre-grid .silhouette {

   display: block;
   margin: 0 auto;

}

/*GRID*/

.grid {

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

}

.column {

   display: inline-block;
   margin: 0;
   padding: 0;
   width: 315px;
   vertical-align: top;

}

.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: 10px 7px 7px 10px;

}

.column.first .cell.second {

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

}

.column.third .cell.first {

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

}

.column.third .cell.second {

   margin: 7px 10px 10px 0px;
   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;
   white-space: nowrap;

}

.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 {

   position: relative;
   margin: 10px 0px;
   height: 464px;
   width: 300px;
   
   background-color:  rgba(245, 90, 0,.75);
   background-image: url( Tn-2013_Onda-fruitripening.png);

}

.column.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;

}

.column.second .cell.first ul {

   display: block;
   
   margin: 1em auto;
   margin-left: 1em;
   padding: 10px;
   padding-left: 25px;


   width: 200px;
   
   background-color: rgba(255,255,255,.8);
   border-radius: 1em;
   
   font-size: 0.85em;
   line-height: 1em;
   list-style: disc;
   vertical-align: middle;

}

.column.second .cell.first ul li {

   margin-bottom: 0.3em;

}

.column.second .cell.first img {

   position: absolute;
   
   margin: 0.8em;
   width: 70px;

}

.column.second .cell.first img.plasmid {

   top: 95px;
   right: -10px;
   
   width: 65px;

}

.column.second .cell.first img.human {

   top: 190px;
   right: -10px;
   
   width: 65px;

}

.column.second .cell.first img.product {

   top: 270px;
   right: -10px;
   
   width: 65px;

}

.column.second .cell.first img.fruit {

   top: 380px;
   right: -10px;
   
   width: 65px;

}

/*POST-GRID*/

.post-grid {

   position: relative;
   width: 960px;
   margin: 0 auto;

}

.post-grid .sheet {

   width: 922px;
   min-height: 100px;
   margin-top: -2em;
   margin-left: 10px;
   margin-bottom: 2em;
   background-color:   rgba(39,48,77,.9);
   background-image: url( Tn-2013-boxbg-Onda-Blueberry.png);
   border: 3px solid white;
   box-shadow: 2px 2px 4px #323232;
   text-align: justify;
   z-index: 1;

}


.post-grid p {

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

}

.post-grid .txt {

   display: box;
   position: absolute;
   top: -0.5em;
   left: 0.7em;
   
   color: white;
   font-size: 3em;
   font-family: "Boogaloo", cursive;
   text-shadow: 0 0 6px black;
   
   z-index: 5;

}