Team:Tianjin/scropic.css

From 2012.igem.org

(Difference between revisions)
(Created page with ".slide{position:relative;width:540px;height:300px;} .pic_img{z-index:0; } .pic_img div{display:none;width:540px;height:300px;position:relative;} .pic_img img{width:540px;height:3...")
Line 1: Line 1:
-
.slide{position:relative;width:540px;height:300px;}
+
.slide{position:relative;width:470px;height:230px;}
.pic_img{z-index:0; }
.pic_img{z-index:0; }
-
.pic_img div{display:none;width:540px;height:300px;position:relative;}
+
.pic_img div{display:none;width:470px;height:230px;position:relative;}
-
.pic_img img{width:540px;height:300px;}
+
.pic_img img{width:470px;height:230px;}
.pic_img div.cur{display:block;}
.pic_img div.cur{display:block;}
-
.slide .thumb{position:absolute;bottom:0px;z-index:9;margin:0;}
+
.slide .thumb{position:absolute;bottom:0px;z-index:9;margin:0;right:0px;}
.slide .thumb div{
.slide .thumb div{
overflow:hidden;
overflow:hidden;
Line 10: Line 10:
color:#fff;
color:#fff;
text-align:center;
text-align:center;
-
height:3em;
+
width:4px;height:4px;
-
width:133px;
+
border:none;
-
border:1px solid #000;
+
background:#000;
background:#000;
filter: Alpha(opacity=60);
filter: Alpha(opacity=60);
-moz-opacity:.6;
-moz-opacity:.6;
opacity:0.6;
opacity:0.6;
-
font-size:1em;
 
-
line-height:1.5em;
 
}
}
.slide .thumb div a{color:#fff;}
.slide .thumb div a{color:#fff;}
.slide .thumb .cur,.slide .thumb div:hover{background:#f00;color:#FFF;}
.slide .thumb .cur,.slide .thumb div:hover{background:#f00;color:#FFF;}

Revision as of 02:22, 22 August 2012

.slide{position:relative;width:470px;height:230px;} .pic_img{z-index:0; } .pic_img div{display:none;width:470px;height:230px;position:relative;} .pic_img img{width:470px;height:230px;} .pic_img div.cur{display:block;} .slide .thumb{position:absolute;bottom:0px;z-index:9;margin:0;right:0px;} .slide .thumb div{ overflow:hidden; float:left; color:#fff; text-align:center; width:4px;height:4px; border:none; background:#000; filter: Alpha(opacity=60); -moz-opacity:.6; opacity:0.6; } .slide .thumb div a{color:#fff;} .slide .thumb .cur,.slide .thumb div:hover{background:#f00;color:#FFF;}