Team:UNITN-Trento/CSS/Home

From 2013.igem.org

(Difference between revisions)
(Given style to the tour buttons (lacks color))
 
(50 intermediate revisions not shown)
Line 1: Line 1:
-
<!--NEW PAGE-->
+
#tn-central-container,
 +
#tn-content-wrap,
 +
#tn-content {
 +
    padding-bottom: 0 !important;
 +
}
-
{{:Team:UNITN-Trento/Templates/Default|<html><!--start content-->
+
/* NEWS */
-
<!-- CSS -->
+
.news {
-
<link rel="stylesheet" href="https://2013.igem.org/Team:UNITN-Trento/CSS/Home?action=raw&ctype=text/css" />
+
    display: block;
 +
    margin: -1em;
 +
   
 +
    color: white;
 +
    font-family: "Boogaloo", cursive;
 +
    font-size: 2.7em;
 +
    text-align: center;
 +
    text-shadow: 0 0 4px black;
 +
}
-
<!-- JS -->
+
.news:link,
-
<script type="text/javascript" src="https://2013.igem.org/wiki/index.php?title=Team:UNITN-Trento/JS/Home&action=raw&ctype=text/javascript"></script>
+
.news:visited,
 +
.news-2:link,
 +
.news-2:visited {
 +
    color: white;
 +
    text-decoration: none;
 +
}
-
<!-- PAGE -->
+
.news:hover,
 +
.news-2:hover {
 +
    color: rgba(196, 34, 28,1);
 +
    text-decoration: underline;
 +
    text-shadow: 0 0 4px white;
 +
}
-
<div class="pre-footer">
+
.news .photo {
-
    <a class="silhouette" href="https://2013.igem.org/Team:UNITN-Trento/Team"><img class="photo-1" src="https://static.igem.org/mediawiki/2013/a/a5/Tn-2013-silhouette.png"><img style="display: none;" class="photo-2" src="https://static.igem.org/mediawiki/2013/2/21/Tn-2013-silhouette-2.png" /></a>
+
    width: 150px;
-
    <div class="sheet">
+
}
-
        <div class="container">
+
-
            <p>Hi everybody!</p>
+
-
           
+
-
            <p>Our team is proud to introduce to you <i>B. fruity</i>, a new environmentally friendly way to control climacteric and non-climacteric fruit ripening by exploiting an engineered, light regulated strain of <i>B. subtilis</i>. The system works by synthesizing ethylene or methyl salicylate (MeSA) upon photoinduction.</p>
+
-
            <p><b>Ethylene</b> is a plant hormone widely used to ripen fruit such as bananas, kiwifruit, apples, and others. However, the synthesis, handling, and storage of ethylene is expensive and dangerous. In contrast, <i>B. fruity</i> produces ethylene from inexpensive material by hijacking a metabolic intermediate, 2-oxoglutarate, from the TCA cycle and converting this metabolite to ethylene throught the activity of an ethylene forming enzyme (EFE, 2-oxoglutarate oxygenase/decarboxylase) from <i>Pseudomonas syringae</i>.</p>
+
.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;
 +
}
-
            <p><i>B. fruity</i> does not just accelerate ripening, but can also slow the process down, when desired, through the incorporation of a <b>methyl salicylate</b> (MeSA) synthesis pathway. MeSA was previously shown to inhibit the ripening of kiwi and tomatoes. The explored MeSA pathway builds upone the 2006 MIT iGEM project “<i>Eau de coli</i>”.</p>
+
/*PRE-GRID*/
-
            <p>As a proof of concept, we engineered <i>E. coli</i> with the above systems plus the YF1/FixJ blue light receptor device.</p>
+
.pre-grid {
 +
    width: 960px;
 +
    margin: 0 auto;
 +
}
-
            <p>We are hopeful that <i>B. fruity</i> will simplify the process of bringing fresh fruit from the field to the consumer.</p>
+
.pre-grid .sheet {
-
        </div>
+
     width: 922px;
-
     </div>
+
    min-height: 100px;
-
</div>
+
-
<div class="grid">
+
     margin-left: 10px;
-
     <div class="column first">
+
-
        <div class="wrap cell first">
+
-
        </div>
+
    background-color:  rgba(39,48,77,.9);
-
        <div class="wrap cell second">
+
    background-image: url( https://static.igem.org/mediawiki/2013/f/f6/Tn-2013-boxbg-Onda-Blueberry.png);
 +
    border: 3px solid white;
-
        </div>
+
     box-shadow: 2px 2px 4px #323232;
-
        <div class="wrap cell third">
+
-
            <a href="https://2013.igem.org/Team:UNITN-Trento/Extra/Fruit%20Info"></a>
+
-
        </div>
+
-
     </div>
+
-
    <div class="column second">
+
-
        <div class="cell first guide">
+
-
            <span class="bubble">
+
-
                <img src="https://static.igem.org/mediawiki/2013/d/d4/Tn-2013-guide-Bubble-point.png" class="pointer" />
+
-
                Hi, I am <span style="color: green;">Kiwi</span>ki! Choose a tour and I will be your wiki guide!
+
-
            </span>
+
-
            <a href="https://2013.igem.org/Team:UNITN-Trento/Project" class="tour" id="tour1">Project</a>
+
-
            <a href="https://2013.igem.org/Team:UNITN-Trento/Products" class="tour" id="tour2">Products</a>
+
-
            <a href="https://2013.igem.org/Team:UNITN-Trento/About_us" class="tour" id="tour3">About Us</a>
+
-
            <a href="https://2013.igem.org/Team:UNITN-Trento/Extra" class="tour" id="tour4">Extra</a>
+
-
        </div>
+
-
        <div class="wrap cell second">
+
-
        </div>
+
     text-align: justify;
-
    </div>
+
}
-
    <div class="row second">
+
-
        <center><h1>Achievements</h1></center>
+
-
     </div>
+
-
</div>
+
-
<!--end content--></html>|<html>https://static.igem.org/mediawiki/2013/5/53/Tn-2013-headerbg-Sfondobb.png</html>|<html>https://static.igem.org/mediawiki/2013/d/d2/Tn-2013-headerbg-Sfondobb_or.png</html>}}
+
.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(https://static.igem.org/mediawiki/2013/6/64/Tn-2013-Box-tour.png);
 +
 
 +
    margin: 10px 7px 7px 10px;
 +
}
 +
 
 +
.column.first .cell.second {
 +
    margin: 7px 7px 10px 10px;
 +
 
 +
    background-image: url(https://static.igem.org/mediawiki/2013/9/97/Tn-2013-home-Fruit-ripening.png);
 +
}
 +
 
 +
.column.third .cell.first {
 +
    margin: 10px 10px 7px 0px;
 +
   
 +
    background-image: url(https://static.igem.org/mediawiki/2013/1/1f/Tn-2013-home-Vending-machine.png);
 +
}
 +
 
 +
.column.third .cell.second {
 +
    margin: 7px 10px 10px 0px;
 +
 
 +
    background-image: url(https://static.igem.org/mediawiki/2013/8/8c/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( https://static.igem.org/mediawiki/2013/b/bf/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( https://static.igem.org/mediawiki/2013/f/f6/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;
 +
}

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;

}