Team:University College London/css/radio
From 2012.igem.org
(Difference between revisions)
Line 44: | Line 44: | ||
#nextepisode{ | #nextepisode{ | ||
- | position:relative; | + | position: relative; |
- | + | width: 708px; | |
- | + | border: 5px solid black; | |
- | + | margin-left: auto; | |
- | + | margin-right: auto; | |
- | + | margin-top: 15px; | |
+ | font-size: 30px; | ||
+ | padding: 10px; | ||
} | } | ||
Revision as of 17:46, 15 August 2012
- slidecontainer{
position:relative; width:728px; height:300px; border: 5px solid #000; margin-left:auto; margin-right:auto; overflow:hidden; background-color:#000;
}
- slidecontainer .episode{
position:absolute; top:0px; left:0px; width:728px; height:300px; opacity:0; cursor:pointer;
}
- slidecontainer .episode .bg{
background-color:#000; opacity: 0.8; position:absolute; left:-728px; bottom:0px; width:100%; height:50px;
z-index:4; opacity:0;
}
- slidecontainer .episode .desc{
position: absolute; bottom: 10px; left: 0px; width: 100%; font-size: 30px; color: white; z-index:5; opacity:0; text-align:center; }
- nextepisode{
position: relative;
width: 708px; border: 5px solid black; margin-left: auto; margin-right: auto; margin-top: 15px; font-size: 30px; padding: 10px; }
- boxcontainer{
position:relative; width:738px; height:150px; margin-left:auto; margin-right:auto; margin-top:15px;
}
- boxcontainer a,#boxcontainer a:active, #boxcontainer a:visited{
display: block;
width: 220px; height: 51px; background-color: black; color: white; font-size: 31px; border: 5px solid black; position: absolute; top: 0px; text-decoration: none; text-align: center; padding-top: 25px; }
- boxcontainer a:hover{
background-color:#fff; color:#000; }
- boxcontainer #about{
left:0px;
}
- boxcontainer #archive{
left:255px;
}
- boxcontainer #contact{
right:0px;
}