Team:University College London/css/radio
From 2012.igem.org
(Difference between revisions)
Line 61: | Line 61: | ||
} | } | ||
- | #boxcontainer | + | |
- | width: | + | #boxcontainer a,#boxcontainer a:active, #boxcontainer a:visited{ |
- | height: | + | display:block; |
+ | width:200px; | ||
+ | height:80px; | ||
background-color:#000; | background-color:#000; | ||
color:#fff; | color:#fff; | ||
Line 70: | Line 72: | ||
position:absolute; | position:absolute; | ||
top:0px; | top:0px; | ||
+ | text-decoration:none; | ||
} | } | ||
+ | |||
+ | #boxcontainer a:hover{ | ||
+ | background-color:#fff; | ||
+ | color:#000; | ||
+ | } | ||
#boxcontainer #about{ | #boxcontainer #about{ |
Revision as of 17:40, 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:728px; border: 5px solid #000; margin-left:auto; margin-right:auto; margin-top:15px;
}
- boxcontainer{
position:relative; width:728px; height:150px; margin-left:auto; margin-right:auto; margin-top:15px;
}
- boxcontainer a,#boxcontainer a:active, #boxcontainer a:visited{
display:block; width:200px; height:80px; background-color:#000; color:#fff; font-size:40px; border: 5px solid #000; position:absolute; top:0px; text-decoration:none;
}
- boxcontainer a:hover{
background-color:#fff; color:#000; }
- boxcontainer #about{
left:0px;
}
- boxcontainer #archive{
left:299px;
}
- boxcontainer #contact{
right:0px;
}