Template:CAU China/Periodicals
From 2014.igem.org
(Difference between revisions)
(Created page with "<html> <style text="css";> @charset "utf-8"; *{margin:0;padding:0;list-style-type:none;} a,img{border:0;text-decoration:none;} body{font:12px/180% Arial, Helvetica, sans-serif, "...") |
|||
(8 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <style | + | <style type="text/css"> |
@charset "utf-8"; | @charset "utf-8"; | ||
*{margin:0;padding:0;list-style-type:none;} | *{margin:0;padding:0;list-style-type:none;} | ||
Line 7: | Line 7: | ||
/* mainbanner */ | /* mainbanner */ | ||
- | .mainbanner{height: | + | .mainbanner{height:1300px;overflow:hidden; position:relative;} |
- | .mainbanner_window{left:50%;width: | + | .mainbanner_window{left:50%;width:1600px;height:1300px;overflow:hidden;margin-left:-1000px;position:absolute;} |
- | .mainbanner_window ul{width:999999px;height: | + | .mainbanner_window ul{width:999999px;height:1300px;position:relative;} |
- | .mainbanner_window li{background:rgb(204, 204, 204);width:2000px;height: | + | .mainbanner_window li{background:rgb(204, 204, 204);width:2000px;height:1300px;text-align:center;font-size:0px;float:left;display:inline;} |
- | .mainbanner_list{left:50%;top: | + | .mainbanner_list{left:50%;top:30%;width:500px;height:30px;margin-left:-75px;position:relative;} |
.mainbanner_list li{width:30px;height:30px;overflow:hidden;float:left;display:inline;} | .mainbanner_list li{width:30px;height:30px;overflow:hidden;float:left;display:inline;} | ||
- | .mainbanner_list a{background:url("../ | + | .mainbanner_list a{background:url("https://static.igem.org/mediawiki/2014/9/99/Peodicals_background.png") no-repeat;width:25px;height:25px;line-height:25px;overflow:hidden;text-align:center;color:rgb(255, 255, 255);font-size:12px;font-weight:700;float:left;display:inline-block;} |
.mainbanner_list li.active a{background-position:0 -30px;text-decoration:none;} | .mainbanner_list li.active a{background-position:0 -30px;text-decoration:none;} | ||
.mainbanner_list li a:hover{background-position:0 -30px;text-decoration:none;} | .mainbanner_list li a:hover{background-position:0 -30px;text-decoration:none;} |
Latest revision as of 03:46, 18 October 2014