Team:UNITN-Trento/CSS/Laboratory/Meetings
From 2013.igem.org
(Solved safari scrollbar problem) |
|||
Line 202: | Line 202: | ||
margin: 0 auto; | margin: 0 auto; | ||
margin-top: 1em; | margin-top: 1em; | ||
+ | height: 150px; | ||
width: 850px; | width: 850px; | ||
overflow-x: auto; | overflow-x: auto; |
Revision as of 11:08, 25 September 2013
.tn-timeline {
position: relative;
margin: 0 auto;
height: 1600px; width: 960px;
}
.tn-timeline .line {
display: block; margin: 0 auto; height: 100%; width: 15px; background-color: #2880c5; box-shadow: 2px 2px 4px black;
}
.tn-timeline .box {
position: absolute;
padding: 1.5em;
width: 400px; background-color: rgba(250,250,250,.9); border-radius: 0.7em; font-family: "Cabin", cursive; text-align: justify;
}
.tn-timeline .left {
left: 0;
}
.tn-timeline .right {
right: 0;
}
.tn-timeline #box1 {
top: 0;
}
.tn-timeline #box2 {
top: 222px;
}
.tn-timeline #box3 {
top: 430px;
}
.tn-timeline #box4 {
top: 600px;
}
.tn-timeline #box5 {
top: 760px;
}
.tn-timeline #box6 {
top: 900px;
}
.tn-timeline #box7 {
top: 1200px;
}
.tn-timeline #box8 {
top: 1400px;
}
.tn-timeline .left .pointer {
position: absolute; top: 40%; right: -24px; transform:rotate(-90deg); -webkit-transform:rotate(-90deg); -moz-transform:rotate(-90deg);
}
.tn-timeline .right .pointer {
position: absolute; top: 40%; left: -24px; transform:rotate(90deg); -webkit-transform:rotate(90deg); -moz-transform:rotate(90deg);
}
.tn-timeline .box .date {
display: block; margin-bottom: 5px; font-family: "Boogaloo", sans-serif; font-size: 1.5em;
}
.tn-timeline .box.left .date {
text-align: right;
}
.tn-timeline .photo {
position: absolute;
height: 200px; width: 300px; border: 3px solid white;
}
.tn-timeline .photo img {
max-height: 200px !important; max-width: 300px !important;
}
.tn-timeline .photo.right .pointer {
left: -30px;
}
.tn-timeline .photo.left .pointer {
right: -30px;
}
.tn-timeline #photo1 {
top: 210px; left: 139px;
}
.tn-timeline #photo2 {
top: 1159px; right: 139px;
}
.tn-timeline #photo3 {
top: 897px; left: 139px;
}
.tn-timeline #photo4 {
top: 1357px; left: 139px;
}
.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;
}
- tn-content .container {
width: 960px; margin: auto; padding: 0;
background-color: rgb(48,106,56); background-image: url(); background-position: top center; background-repeat: no-repeat; border: 3px solid white; box-shadow: 2px 2px 4px #323232; text-align:justify;
}
- tn-content .container .sheet {
margin: 2em; padding: 1em;
background: rgba(255,255,255,0.7); border-radius: 1em;
text-align: justify;
}
.container {
margin-top: 2em !important;
}
.container .sheet .logo {
margin: 0 auto; margin-top: 1em; height: 150px; width: 850px; overflow-x: auto; white-space: nowrap;
}
.container .sheet .logo img {
margin: 0.5em 0.3em; max-height: 100px; max-width: 200px; border: 4px solid black; box-shadow: 2px 2px 4px black;
}