Team:UNITN-Trento/CSS/Project/Fruit ripening

From 2013.igem.org

(Difference between revisions)
 
(32 intermediate revisions not shown)
Line 1: Line 1:
-
.tn-title {
+
#tn-content .container {
-
     display: block;
+
     background-image: url(https://static.igem.org/mediawiki/2013/b/bf/Tn-2013_Onda-fruitripening.png);
 +
    background-color: rgb(245, 90, 0);
 +
}
 +
.tn-msg {
     margin-bottom: 0;
     margin-bottom: 0;
-
    color: #bf1b39;
+
     font-family: "Kameron", cursive;
-
 
+
     font-size: 0.8em;
-
     font-family: "Boogaloo",Helvetica,sans-serif;
+
-
    font-variant: small-caps;
+
-
     font-size: 3em;
+
-
   
+
     text-align: center;
     text-align: center;
}
}
Line 20: Line 19:
     margin: 2em auto !important;
     margin: 2em auto !important;
 +
    margin-top: 0 !important;
     font-family: arial;
     font-family: arial;
Line 51: Line 51:
     text-align: center;
     text-align: center;
     /*opacity: 1 !important;*/
     /*opacity: 1 !important;*/
 +
    z-index: 0;
 +
    display: none;
 +
}
 +
 +
.step.active {
 +
    z-index: 5;
 +
    display: block;
}
}
Line 82: Line 89:
.step table img {
.step table img {
     margin-left: 2em;
     margin-left: 2em;
-
     max-width: 700px;
+
     max-width: 500px;
-
     max-height: 600px;
+
     max-height: 550px;
}
}
Line 100: Line 107:
}
}
-
/*.jms-slideshow .jms-dots > span {
+
/*Navigation arrows*/
-
     background-color: #f3d19a !important;
+
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet-2 {
 +
    position: relative;
 +
   
 +
    margin: -1em 0 1em 0;
 +
    padding: 0.5em;
 +
   
 +
     background-color: rgba(255,255,255,.6);
 +
   
 +
    text-align: center;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet-2 .tn-arr-prev,
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet-2 .tn-arr-next {
 +
    position: absolute;
 +
    bottom: 0.8em;
 +
 
 +
    width: 174px;
 +
   
 +
    border: none;
 +
    box-shadow: none;
 +
}
 +
 
 +
.container .sheet-2 .tn-arr-prev {
 +
    left: 2em;
 +
}
 +
 
 +
.container .sheet-2 .tn-arr-next {
 +
    right: 2em;
 +
}
 +
 
 +
/*Tour*/
 +
 
 +
#tn-central-container {
 +
    position: relative;
 +
    box-shadow: none;
 +
    z-index: 0;
 +
}
 +
 
 +
#tn-header-wrap #tn-header #tn-menu {
 +
    z-index: 5;
 +
}
 +
 
 +
#tn-sp-tour {
 +
    position: absolute;
 +
    bottom: 0;
 +
    right: 10px;
 +
   
 +
    width: 200px;
 +
}
 +
 
 +
#tn-sp-tour img {
 +
    height: 200px;
 +
}
 +
 
 +
#tn-sp-tour span {
 +
    position: absolute;
 +
    bottom: 0.5em;
 +
    left: 0;
 +
   
 +
    color: black;
 +
    font-family: "Boogaloo", cursive;
 +
    font-size: 1.5em;
 +
    text-shadow: 0 0 4px white;
}
}
-
.jms-slideshow .jms-dots .jms-dots-current > span {
+
#tn-sp-tour:hover span {
-
     background-color: #ac5b3d !important;
+
     color: rgb(245, 90, 0);
}
}
-
*/
 
-
.tn-hoverTag {
+
@media(max-width:1500px) {
-
position: fixed;
+
    #tn-central-container {
-
top:0; right:0; bottom:0; left:0;
+
        padding-bottom: 200px;
 +
    }
-
text-align: center;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet a:link, #tn-central-container #tn-content-wrap #tn-content .container .sheet a:visited {
-
background-color: rgba(50,50,50,.9);
+
color:rgb(245, 90, 0);
-
z-index: 5;
+
}
}
-
.tn-hoverTag > div {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet a:hover {
-
height: 100%;
+
color:black;  
}
}
-
.tn-hoverTag img {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:link, #tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:visited {
-
margin-top: 2em;
+
color:rgb(245, 90, 0);
-
height: 75%;
+
-
border-radius:1em;
+
}
}
-
.tn-hoverTag span {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:hover {
-
display: block;
+
color:black;
-
margin-top: 0.5em;
+
-
font-size: 2em;
+
-
color: white;
+
}
}

Latest revision as of 12:31, 29 September 2013

  1. tn-content .container {
   background-image: url(Tn-2013_Onda-fruitripening.png);
   background-color: rgb(245, 90, 0);

}

.tn-msg {

   margin-bottom: 0;
   font-family: "Kameron", cursive;
   font-size: 0.8em;
   text-align: center;

}

/*jmslideshow*/

.jms-slideshow {

   width: 80%;
   height: 500px;
   margin: 2em auto !important;
   margin-top: 0 !important;
   font-family: arial;
   font-size: 16px;
   background-color: rgba(255, 255, 255, 0.4);
   /*background-image: url(https://static.igem.org/mediawiki/2013/c/c3/Tn-2013-mainbg-Wood_pattern_2.jpg);*/
   border: 3px solid rgb(105, 18, 28);
   border-radius: 1em;
   box-shadow: none !important;

}

.jms-wrapper {

   width: 100%;
   height: 500px;
   font-family: arial;
   font-size: 16px;
   background-color: transparent;
   /*background-image: url(https://static.igem.org/mediawiki/2013/c/c3/Tn-2013-mainbg-Wood_pattern_2.jpg);*/
   border: 0;
   border-radius: 1em;
   box-shadow: none !important;

}

.step {

   width: 900px;
   height: 600px;
   margin:auto;
   text-align: center;
   /*opacity: 1 !important;*/
   z-index: 0;
   display: none;

}

.step.active {

   z-index: 5;
   display: block;

}

.step > p {

   display: block;
   position: absolute;
   top: -1.3em;
   width: 100%;
   margin: 0 !important;
   padding: 0 !important;
   font-size: 2.5em;
   font-family: "Boogaloo";

}

.step table {

   position: relative;
   top: -1.5em;
   width: 100% !important;
   height: 100%;
   background-color: transparent;
   color: black;
   font-size: 1.2em;
   text-align: justify;

}

.step table tr td:nth-child(1) {

   width: 300px;

}

.step table img {

   margin-left: 2em;
   max-width: 500px;
   max-height: 550px;

}

.step table .title {

   display: block;
   margin-bottom: 5px;
   font-size: 1.3em;
   font-weight: bold;
   text-align: left;
   border-bottom: 3px solid black;

}

.jms-slideshow .jms-dots {

   position: relative;
   bottom: 1.5em;

}

/*Navigation arrows*/

  1. tn-central-container #tn-content-wrap #tn-content .container .sheet-2 {
   position: relative;
   
   margin: -1em 0 1em 0;
   padding: 0.5em;
   
   background-color: rgba(255,255,255,.6);
   
   text-align: center;

}

  1. tn-central-container #tn-content-wrap #tn-content .container .sheet-2 .tn-arr-prev,
  2. tn-central-container #tn-content-wrap #tn-content .container .sheet-2 .tn-arr-next {
   position: absolute;
   bottom: 0.8em;
   width: 174px;
   
   border: none;
   box-shadow: none;

}

.container .sheet-2 .tn-arr-prev {

   left: 2em;

}

.container .sheet-2 .tn-arr-next {

   right: 2em;

}

/*Tour*/

  1. tn-central-container {
   position: relative;
   box-shadow: none;
   z-index: 0;

}

  1. tn-header-wrap #tn-header #tn-menu {
   z-index: 5;

}

  1. tn-sp-tour {
   position: absolute;
   bottom: 0;
   right: 10px;
   
   width: 200px;

}

  1. tn-sp-tour img {
   height: 200px;

}

  1. tn-sp-tour span {
   position: absolute;
   bottom: 0.5em;
   left: 0;
   
   color: black;
   font-family: "Boogaloo", cursive;
   font-size: 1.5em;
   text-shadow: 0 0 4px white;

}

  1. tn-sp-tour:hover span {
   color: rgb(245, 90, 0);

}

@media(max-width:1500px) {

   #tn-central-container {
       padding-bottom: 200px;
   }
  1. tn-central-container #tn-content-wrap #tn-content .container .sheet a:link, #tn-central-container #tn-content-wrap #tn-content .container .sheet a:visited {

color:rgb(245, 90, 0); }

  1. tn-central-container #tn-content-wrap #tn-content .container .sheet a:hover {

color:black; }

  1. tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:link, #tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:visited {

color:rgb(245, 90, 0); }

  1. tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:hover {

color:black; }