Template:CAU China
From 2014.igem.org
(Difference between revisions)
(6 intermediate revisions not shown) | |||
Line 7: | Line 7: | ||
img { border: 0; } | img { border: 0; } | ||
li { list-style: none; } | li { list-style: none; } | ||
- | body { font-family: Microsoft YaHei,Segoe UI,Tahoma,Arial,Verdana,sans-serif; font-size: 12px; color: # | + | body { font-family: Microsoft YaHei,Segoe UI,Tahoma,Arial,Verdana,sans-serif; font-size: 12px; color: #FFFFFF; background: #fff; } |
a { color: #39f; text-decoration: none; } | a { color: #39f; text-decoration: none; } | ||
- | a:hover { text-decoration: | + | a:hover { text-decoration: none; } |
.wrapper { width: 986px; margin: 0 auto; position: relative; } | .wrapper { width: 986px; margin: 0 auto; position: relative; } | ||
#banner { width: 100%; height: 650px; background: #000; overflow: hidden; position: relative; } | #banner { width: 100%; height: 650px; background: #000; overflow: hidden; position: relative; } | ||
Line 16: | Line 16: | ||
/*设置背景图片-------开始*/ | /*设置背景图片-------开始*/ | ||
#banner_img li.item1 { background-image: url(https://static.igem.org/mediawiki/2014/7/77/CAU_Banner_bg1.jpg); display: block; } | #banner_img li.item1 { background-image: url(https://static.igem.org/mediawiki/2014/7/77/CAU_Banner_bg1.jpg); display: block; } | ||
- | #banner_img li.item2 { background-image: url(https://static.igem.org/mediawiki/2014/ | + | #banner_img li.item2 { background-image: url(https://static.igem.org/mediawiki/2014/8/83/CAU_Banner_bg6.jpg); } |
- | #banner_img li.item3 { background-image: url(https://static.igem.org/mediawiki/2014/ | + | #banner_img li.item3 { background-image: url(https://static.igem.org/mediawiki/2014/f/fe/CAU_Banner_bg2.jpg); } |
#banner_img li.item4 { background-image: url(https://static.igem.org/mediawiki/2014/0/00/CAU_Banner_bg4.jpg); } | #banner_img li.item4 { background-image: url(https://static.igem.org/mediawiki/2014/0/00/CAU_Banner_bg4.jpg); } | ||
#banner_img li.item5 { background-image: url(https://static.igem.org/mediawiki/2014/7/7e/CAU_Banner_bg5.jpg); } | #banner_img li.item5 { background-image: url(https://static.igem.org/mediawiki/2014/7/7e/CAU_Banner_bg5.jpg); } | ||
- | #banner_img li.item6 { background-image: url(https://static.igem.org/mediawiki/2014/ | + | #banner_img li.item6 { background-image: url(https://static.igem.org/mediawiki/2014/a/a7/CAU_Banner_bg7.jpg); } |
- | #banner_img li.item7 { background-image: url(https://static.igem.org/mediawiki/2014/ | + | #banner_img li.item7 { background-image: url(https://static.igem.org/mediawiki/2014/c/cb/CAU_Banner_bg3.jpg); } |
#banner_img li.item8 { background-image: url(https://static.igem.org/mediawiki/2014/5/5a/CAU_Banner_bg8.jpg); } | #banner_img li.item8 { background-image: url(https://static.igem.org/mediawiki/2014/5/5a/CAU_Banner_bg8.jpg); } | ||
/*设置背景图片--------结束*/ | /*设置背景图片--------结束*/ | ||
Line 29: | Line 29: | ||
#banner_img .ad_txt a { display: block; width: 100px; height: 25px; line-height: 25px; text-align: center; margin-top: 10px; background: #fff; color: #666; text-decoration: none; text-shadow: none; } | #banner_img .ad_txt a { display: block; width: 100px; height: 25px; line-height: 25px; text-align: center; margin-top: 10px; background: #fff; color: #666; text-decoration: none; text-shadow: none; } | ||
#banner_ctr { position: absolute; width: 960px; height: 122px; margin-left: -480px; left: 50%; bottom: 40px; z-index: 1; } | #banner_ctr { position: absolute; width: 960px; height: 122px; margin-left: -480px; left: 50%; bottom: 40px; z-index: 1; } | ||
- | #banner_ctr ul { width: 960px; height: 122px; background: url(https://static.igem.org/mediawiki/2014/4/47/Home_serv_ico) center no-repeat; font-size: 0; line-height: 0; position: relative; } | + | #banner_ctr ul { width: 960px; height: 122px; background: url(https://static.igem.org/mediawiki/2014/4/47/Home_serv_ico.png) center no-repeat; font-size: 0; line-height: 0; position: relative; } |
#banner_ctr li { display: block; float: left; width: 115px; height: 122px; cursor: pointer; } | #banner_ctr li { display: block; float: left; width: 115px; height: 122px; cursor: pointer; } | ||
#banner_ctr li.first-item { background: #fff; width: 20px; -webkit-border-radius: 20px 0 0 20px; -moz-border-radius: 20px 0 0 20px; border-radius: 20px 0 0 20px; cursor: default; } | #banner_ctr li.first-item { background: #fff; width: 20px; -webkit-border-radius: 20px 0 0 20px; -moz-border-radius: 20px 0 0 20px; border-radius: 20px 0 0 20px; cursor: default; } |
Latest revision as of 12:08, 17 October 2014