Difference between revisions of "Team:NAIT Edmonton/Trial2"
(4 intermediate revisions by the same user not shown) | |||
Line 73: | Line 73: | ||
@charset "UTF-8"; | @charset "UTF-8"; | ||
− | #banner { width: 100%; height: 650px; background:transparent; overflow: hidden; position: relative; } | + | #banner {margin:0; width: 100%; height: 650px; background:transparent; overflow: hidden; position: relative; } |
#banner_img { display: block; position: relative; } | #banner_img { display: block; position: relative; } | ||
#banner_img li { position: absolute; top: 0; left: 0; width: 100%; height: 650px; background-position: center; background-size: cover; display: none; } | #banner_img li { position: absolute; top: 0; left: 0; width: 100%; height: 650px; background-position: center; background-size: cover; display: none; } | ||
Line 93: | Line 93: | ||
#banner_img .ad_txt a {float:center;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;background-color:#8BC5EB; color:#fff; font-size:14px; padding:8px 12px; margin:20px 0 0 0; display:inline-block; } | #banner_img .ad_txt a {float:center;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;background-color:#8BC5EB; color:#fff; font-size:14px; padding:8px 12px; margin:20px 0 0 0; display:inline-block; } | ||
#banner_ctr { position: absolute; width: 500px; height: 50px; margin-left: -480px; left: 50%; bottom: 40px; z-index: 4; } | #banner_ctr { position: absolute; width: 500px; height: 50px; margin-left: -480px; left: 50%; bottom: 40px; z-index: 4; } | ||
− | #banner_ctr ul {width: 940px; height: 10px; background: url(https://static.igem.org/mediawiki/2015/5/5a/NAIT_Bar_Example.png) no-repeat; font-size: 0; line-height: 0; position: absolute; top: 20px; left: 10px;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px; | + | #banner_ctr ul {width: 940px; height: 10px; background: url(https://static.igem.org/mediawiki/2015/5/5a/NAIT_Bar_Example.png) no-repeat; font-size: 0; line-height: 0; position: absolute; top: 20px; left: 10px;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;} |
#banner_bg {width: 940px; height: 10px; background: #FFFFFF; font-size: 0; line-height: 0; position: absolute; top: 20px; left: 10px;z-index:-5;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;} | #banner_bg {width: 940px; height: 10px; background: #FFFFFF; font-size: 0; line-height: 0; position: absolute; top: 20px; left: 10px;z-index:-5;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;} | ||
#banner_ctr li { display: block; float: left; width: 115px; height: 25px; cursor: pointer; } | #banner_ctr li { display: block; float: left; width: 115px; height: 25px; cursor: pointer; } | ||
Line 115: | Line 115: | ||
<center> | <center> | ||
− | + | ||
<div id="banner"> | <div id="banner"> | ||
Latest revision as of 00:39, 17 July 2015