Team:UNITN-Trento/CSS/Project/Vending Machine
From 2013.igem.org
(Difference between revisions)
m |
|||
(45 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 { | ||
- | + | margin: 0 auto; | |
- | + | width: 75%; | |
- | + | ||
- | + | ||
} | } | ||
.container .sheet .col { | .container .sheet .col { | ||
display: inline-block; | display: inline-block; | ||
- | + | ||
margin: 1em 16px 0 0; | 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; | ||
+ | } | ||
+ | |||
+ | #jms-slideshow > div { | ||
+ | height: 500px; | ||
+ | min-width: 400px; | ||
+ | width: 400px; | ||
+ | |||
+ | background-color: transparent; | ||
+ | border: none; | ||
+ | box-shadow: none; | ||
+ | } | ||
+ | |||
+ | #jms-slideshow > div .step { | ||
+ | display: none; | ||
+ | |||
+ | height: 1000px; | ||
+ | width: 800px; | ||
+ | |||
+ | box-shadow: none; | ||
+ | text-align: center; | ||
+ | |||
+ | z-index: 0; | ||
+ | } | ||
+ | |||
+ | #jms-slideshow > div .step.active { | ||
+ | display: block; | ||
+ | z-index: 5; | ||
+ | } | ||
+ | |||
+ | #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*/ | ||
+ | |||
+ | #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
- tn-content .container {
background-color: rgb(208,146,32); background-image: url();
}
.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;
}
- jms-slideshow > div {
height: 500px; min-width: 400px; width: 400px; background-color: transparent; border: none; box-shadow: none;
}
- jms-slideshow > div .step {
display: none;
height: 1000px; width: 800px; box-shadow: none; text-align: center;
z-index: 0;
}
- jms-slideshow > div .step.active {
display: block; z-index: 5;
}
- 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*/
- 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; }
}