Team:UNITN-Trento/CSS/Extra/Human Practice
From 2013.igem.org
(Difference between revisions)
(7 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
+ | #tn-content .container { | ||
+ | background-color: rgb(143, 11, 25); | ||
+ | background-image: url(https://static.igem.org/mediawiki/2013/d/de/Tn-2013-boxbg-Onda-GrapeRed.png); | ||
+ | } | ||
+ | |||
.col.one { | .col.one { | ||
display: inline-block; | display: inline-block; | ||
Line 29: | Line 34: | ||
padding: 0; | padding: 0; | ||
- | height: | + | height: 420px; |
min-width: 0; | min-width: 0; | ||
- | width: | + | width: 360px !important; |
background-color: transparent; | background-color: transparent; | ||
Line 57: | Line 62: | ||
border: 8px solid white; | border: 8px solid white; | ||
box-shadow: 4px 4px 8px #323232; | box-shadow: 4px 4px 8px #323232; | ||
+ | } | ||
+ | |||
+ | /*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: 260px; | ||
+ | } | ||
+ | |||
+ | #tn-sp-tour img { | ||
+ | width: 185px; | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | #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; | ||
+ | } | ||
+ | |||
+ | #tn-sp-tour:hover span { | ||
+ | color: rgb(143, 11, 25); | ||
+ | } | ||
+ | |||
+ | @media(max-width:1500px) { | ||
+ | #tn-central-container { | ||
+ | padding-bottom: 200px; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | #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(143, 11, 25); | ||
+ | } | ||
+ | |||
+ | #tn-central-container #tn-content-wrap #tn-content .container .sheet a:hover { | ||
+ | color:black; | ||
+ | } | ||
+ | |||
+ | #jms-online-slideshow, | ||
+ | #jms-online-slideshow .jms-wrapper, | ||
+ | #jms-market-slideshow, | ||
+ | #jms-market-slideshow .jms-wrapper { | ||
+ | height: 350px; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | #jms-online-slideshow .step, | ||
+ | #jms-market-slideshow .step { | ||
+ | height: 450px; | ||
+ | } | ||
+ | |||
+ | #jms-online-slideshow .step .q, | ||
+ | #jms-market-slideshow .step .q { | ||
+ | display: block; | ||
+ | margin-bottom: 20px; | ||
+ | font-family: "Boogaloo", cursive; | ||
+ | font-size: 2.2em; | ||
+ | } | ||
+ | |||
+ | #jms-online-slideshow .step .left, | ||
+ | #jms-market-slideshow .step .left { | ||
+ | display: inline-block; | ||
+ | width: 440px; | ||
+ | |||
+ | vertical-align: middle; | ||
+ | } | ||
+ | |||
+ | #jms-online-slideshow .step .right, | ||
+ | #jms-market-slideshow .step .right { | ||
+ | display: inline-block; | ||
+ | width: 440px; | ||
+ | |||
+ | font-size: 1.4em; | ||
+ | vertical-align: middle; | ||
} | } |
Latest revision as of 11:47, 3 October 2013
- tn-content .container {
background-color: rgb(143, 11, 25); background-image: url();
}
.col.one {
display: inline-block; margin-right: 1em; min-width: 0; width: 450px; vertical-align: top;
}
.col.two {
display: inline-block; margin: 0; margin-left: 1em; height: 400px; min-width: 0; width: 360px; background-color: transparent; border: none; box-shadow: none; vertical-align: top;
}
.col.two .jms-wrapper {
margin: 0; padding: 0; height: 420px; min-width: 0; width: 360px !important; background-color: transparent; border: none; box-shadow: none;
}
.col.two .step {
min-width: 0; width: 900px; height: 1000px; box-shadow: none; z-index: 0;
}
.col.two .step.active {
z-index: 5;
}
.col.two .step img {
min-width: 0; height: 100%; border: 8px solid white; box-shadow: 4px 4px 8px #323232;
}
/*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: 260px;
}
- tn-sp-tour img {
width: 185px; margin: 0;
}
- 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;
}
- tn-sp-tour:hover span {
color: rgb(143, 11, 25);
}
@media(max-width:1500px) {
#tn-central-container { padding-bottom: 200px; }
}
- 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(143, 11, 25);
}
- tn-central-container #tn-content-wrap #tn-content .container .sheet a:hover {
color:black;
}
- jms-online-slideshow,
- jms-online-slideshow .jms-wrapper,
- jms-market-slideshow,
- jms-market-slideshow .jms-wrapper {
height: 350px;
}
- jms-online-slideshow .step,
- jms-market-slideshow .step {
height: 450px;
}
- jms-online-slideshow .step .q,
- jms-market-slideshow .step .q {
display: block; margin-bottom: 20px; font-family: "Boogaloo", cursive; font-size: 2.2em;
}
- jms-online-slideshow .step .left,
- jms-market-slideshow .step .left {
display: inline-block; width: 440px; vertical-align: middle;
}
- jms-online-slideshow .step .right,
- jms-market-slideshow .step .right {
display: inline-block; width: 440px; font-size: 1.4em; vertical-align: middle;
}