Team:UNITN-Trento/CSS/Project/Vending Machine

From 2013.igem.org

(Difference between revisions)
m
 
(13 intermediate revisions not shown)
Line 1: Line 1:
-
.subscript {
+
#tn-content .container {
 +
    background-color: rgb(208,146,32);
 +
    background-image: url(https://static.igem.org/mediawiki/2013/c/c6/Tn-2013-boxbg-onda-Gold.png);
 +
}
 +
 
 +
.tn-title {
 +
    text-align: center;
 +
}
 +
 
 +
.tn-title .tn-subscript {
     display: block;
     display: block;
     padding-left: 3em;
     padding-left: 3em;
Line 9: Line 18:
.tn-quote {
.tn-quote {
-
     color: rgb(105, 18, 28);
+
     margin: 0 auto;
-
     font-family: "Cabin", sans-serif;
+
     width: 75%;
-
    font-style: italic;
+
-
    text-align: center;
+
}
}
.container .sheet .col {
.container .sheet .col {
     display: inline-block;
     display: inline-block;
-
    width: 400px;
+
 
     margin: 1em 16px 0 0;
     margin: 1em 16px 0 0;
 +
    width: 400px;
}
}
.container .sheet > img {
.container .sheet > img {
     width: 75%;
     width: 75%;
 +
     border-radius: 1em;
     border-radius: 1em;
     box-shadow: 2px 2px 4px #323232;
     box-shadow: 2px 2px 4px #323232;
Line 30: Line 39:
     position: relative;
     position: relative;
     top: 2em;
     top: 2em;
-
    width: 400px;
+
 
-
    min-width: 400px;
+
-
    height: 500px;
+
     margin: 0;
     margin: 0;
     margin-left: 1.5em;
     margin-left: 1.5em;
-
     /*background-image: url(https://static.igem.org/mediawiki/2013/c/c3/Tn-2013-mainbg-Wood_pattern_2.jpg);*/
+
     height: 500px;
 +
    min-width: 400px;
 +
    width: 400px;
 +
 
     background-color: transparent;
     background-color: transparent;
     border-radius: 1em;
     border-radius: 1em;
-
    /*box-shadow: 2px 2px 4px #323232;*/
 
}
}
#jms-slideshow > div {
#jms-slideshow > div {
-
    width: 400px;
 
-
    min-width: 400px;
 
     height: 500px;
     height: 500px;
 +
    min-width: 400px;
 +
    width: 400px;
 +
   
     background-color: transparent;
     background-color: transparent;
     border: none;
     border: none;
Line 51: Line 61:
#jms-slideshow > div .step {
#jms-slideshow > div .step {
-
     width: 800px;
+
     display: none;
 +
 
     height: 1000px;
     height: 1000px;
 +
    width: 800px;
 +
   
     box-shadow: none;
     box-shadow: none;
     text-align: center;
     text-align: center;
 +
     z-index: 0;
     z-index: 0;
}
}
#jms-slideshow > div .step.active {
#jms-slideshow > div .step.active {
-
z-index: 5;
+
    display: block;
 +
    z-index: 5;
}
}
Line 65: Line 80:
     max-height: 1000px;
     max-height: 1000px;
     max-width: 800px;
     max-width: 800px;
 +
     border-radius: 1em;
     border-radius: 1em;
}
}
.tn-hoverTag {
.tn-hoverTag {
-
position: fixed;
+
    position: fixed;
-
top:0; right:0; bottom:0; left:0;
+
    top:0;
 +
    right:0;
 +
    bottom:0;
 +
    left:0;
-
text-align: center;
+
    background-color: rgba(50,50,50,.9);
-
z-index: 5;
+
    text-align: center;
 +
   
 +
    z-index: 5;
}
}
.tn-hoverTag > div {
.tn-hoverTag > div {
-
height: 100%;
+
    height: 100%;
}
}
.tn-hoverTag img {
.tn-hoverTag img {
-
height: 75%;
+
    margin-top: 2em;
 +
    height: 75%;
 +
 
 +
    border-radius:1em;
 +
}
 +
 
 +
.tn-hoverTag span {
 +
    display: block;
 +
    margin-top: 0.5em;
 +
 
 +
    color: white;
 +
    font-size: 2em;
 +
}
 +
 
 +
/*Navigation arrows*/
 +
 
 +
#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: 250px;
 +
}
 +
 
 +
#tn-sp-tour img {
 +
    width: 250px;
 +
}
 +
 
 +
#tn-sp-tour span {
 +
    position: absolute;
 +
    bottom: 0.5em;
 +
    left: 0.5em;
 +
   
 +
    color: black;
 +
    font-family: "Boogaloo", cursive;
 +
    font-size: 1.5em;
 +
    text-shadow: 0 0 4px white;
 +
}
 +
 
 +
#tn-sp-tour:hover span {
 +
    color: rgb(208,146,32);
 +
}
 +
 
 +
@media(max-width:1500px) {
 +
    #tn-central-container {
 +
        padding-bottom: 200px;
 +
    }
}
}

Latest revision as of 20:45, 27 September 2013

  1. tn-content .container {
   background-color: rgb(208,146,32);
   background-image: url(Tn-2013-boxbg-onda-Gold.png);

}

.tn-title {

   text-align: center;

}

.tn-title .tn-subscript {

   display: block;
   padding-left: 3em;
   font-family: "Cabin";
   font-size: 14px;
   font-style:italic;
   font-weight: lighter;

}

.tn-quote {

   margin: 0 auto;
   width: 75%;

}

.container .sheet .col {

   display: inline-block;
   margin: 1em 16px 0 0;
   width: 400px;

}

.container .sheet > img {

   width: 75%;
   border-radius: 1em;
   box-shadow: 2px 2px 4px #323232;

}

.container .sheet .jms-slideshow {

   position: relative;
   top: 2em;
   margin: 0;
   margin-left: 1.5em;
   height: 500px;
   min-width: 400px;
   width: 400px;
   background-color: transparent;
   border-radius: 1em;

}

  1. jms-slideshow > div {
   height: 500px;
   min-width: 400px;
   width: 400px;
   
   background-color: transparent;
   border: none;
   box-shadow: none;

}

  1. jms-slideshow > div .step {
   display: none;
   height: 1000px;
   width: 800px;
   
   box-shadow: none;
   text-align: center;
   z-index: 0;

}

  1. jms-slideshow > div .step.active {
   display: block;
   z-index: 5;

}

  1. jms-slideshow > div .step img {
   max-height: 1000px;
   max-width: 800px;
   border-radius: 1em;

}

.tn-hoverTag {

   position: fixed;
   top:0;
   right:0;
   bottom:0;
   left:0;
   background-color: rgba(50,50,50,.9);
   text-align: center;
   
   z-index: 5;

}

.tn-hoverTag > div {

   height: 100%;

}

.tn-hoverTag img {

   margin-top: 2em;
   height: 75%;
   border-radius:1em;

}

.tn-hoverTag span {

   display: block;
   margin-top: 0.5em;
   color: white;
   font-size: 2em;

}

/*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: 250px;

}

  1. tn-sp-tour img {
   width: 250px;

}

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

}

  1. tn-sp-tour:hover span {
   color: rgb(208,146,32);

}

@media(max-width:1500px) {

   #tn-central-container {
       padding-bottom: 200px;
   }

}