Team:UNITN-Trento/CSS/Laboratory/Meetings
From 2013.igem.org
.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: 230px;
}
.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;
}