Team:ZJU-China/css/js-slider.css
From 2013.igem.org
(Difference between revisions)
Line 97: | Line 97: | ||
} | } | ||
a.more{ | a.more{ | ||
- | color: | + | color:#FF0; |
text-decoration:none; | text-decoration:none; | ||
text-transform:uppercase; | text-transform:uppercase; |
Latest revision as of 04:45, 26 September 2013
.rotator{
background-color:transparent; width:800px; height:300px; margin:0px auto; position:relative; font-family:'Myriad Pro',Arial,Helvetica,sans-serif; color:#fff; text-transform:uppercase; letter-spacing:-1px; border:3px solid rgba(240, 240, 240, 0.5); overflow:hidden; -moz-box-shadow:0px 0px 10px #222; -webkit-box-shadow:0px 0px 10px #222; box-shadow:0px 0px 10px #222;
} img.bg{
position:absolute; top:0px; left:0px;
} .rotator ul{
list-style:none; position:absolute; right:0px; top:0px; margin-top:6px; z-index:999999;
} .rotator ul li{
display:block; float:left; clear:both; width:260px;
} .rotator ul li a{
width:230px; float:right; clear:both; padding-left:10px; text-decoration:none; display:block; height:52px; line-height:52px; background-color:#222; margin:1px -20px 1px 0px; opacity:0.7; color:#f0f0f0; font-size:20px; outline:none; text-shadow:-1px 1px 1px #000; -moz-border-radius:10px 0px 0px 20px; -webkit-border-top-left-radius:10px; -webkit-border-bottom-left-radius:20px; border-top-left-radius:10px; border-bottom-left-radius:20px;
font-family: "Comic Sans MS", cursive; } .rotator ul li a:hover{
text-shadow:0px 0px 2px #fff;
} .rotator .heading{
position:absolute; top:0px; left:0px; width:500px;
} .rotator .heading h1{
text-shadow:-1px 1px 1px #555; font-weight:normal; font-size:46px; padding:20px;
color: #FFF; font-family: "Comic Sans MS", cursive; } .rotator .description{
width:500px; height:80px; position:absolute; bottom:0px; left:0px; padding:20px; background-color:rgba(255, 255, 255, 0.2); -moz-border-radius:0px 10px 0px 0px; -webkit-border-top-right-radius:10px; border-top-right-radius:10px;
} .rotator .description p{
text-shadow:-1px 1px 1px #000; text-transform:none; letter-spacing:normal; line-height:26px;
font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif; font-style: italic; color: #FFFFFF; } a.more{
color:#FF0; text-decoration:none; text-transform:uppercase; font-size:10px;
} a.more:hover{
color:#fff;
}