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

From 2013.igem.org

(Difference between revisions)
Line 56: Line 56:
     text-align: center;
     text-align: center;
     z-index: 0;
     z-index: 0;
 +
    display: none;
}
}
#jms-slideshow > div .step.active {
#jms-slideshow > div .step.active {
-
z-index: 5;
+
    z-index: 5;
 +
    display: block;
}
}
Line 69: Line 71:
.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;
+
    text-align: center;
-
background-color: rgba(50,50,50,.9);
+
    background-color: rgba(50,50,50,.9);
-
z-index: 5;
+
    z-index: 5;
}
}
.tn-hoverTag > div {
.tn-hoverTag > div {
-
height: 100%;
+
    height: 100%;
}
}
.tn-hoverTag img {
.tn-hoverTag img {
-
margin-top: 2em;
+
    margin-top: 2em;
-
height: 75%;
+
    height: 75%;
-
border-radius:1em;
+
    border-radius:1em;
}
}
.tn-hoverTag span {
.tn-hoverTag span {
-
display: block;
+
    display: block;
-
margin-top: 0.5em;
+
    margin-top: 0.5em;
-
font-size: 2em;
+
    font-size: 2em;
-
color: white;
+
    color: white;
}
}

Revision as of 14:55, 18 September 2013

.subscript {

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

}

.tn-quote {

   color: rgb(105, 18, 28);
   font-family: "Cabin", sans-serif;
   font-style: italic;
   text-align: center;

}

.container .sheet .col {

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

}

.container .sheet > img {

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

}

.container .sheet .jms-slideshow {

   position: relative;
   top: 2em;
   width: 400px;
   min-width: 400px;
   height: 500px;
   margin: 0;
   margin-left: 1.5em;
   /*background-image: url(https://static.igem.org/mediawiki/2013/c/c3/Tn-2013-mainbg-Wood_pattern_2.jpg);*/
   background-color: transparent;
   border-radius: 1em;
   /*box-shadow: 2px 2px 4px #323232;*/

}

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

}

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

}

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

}

  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;
   text-align: center;
   background-color: rgba(50,50,50,.9);
   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;
   font-size: 2em;
   color: white;

}