Team:UNITN-Trento/CSS/Laboratory/Meetings
From 2013.igem.org
(Difference between revisions)
(Positioned fourth photo) |
|||
Line 143: | Line 143: | ||
top: 1357px; | top: 1357px; | ||
left: 139px; | 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; | ||
} | } |
Revision as of 08:38, 24 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;
}