Team:HIT-Harbin/css/homestyle.css

From 2014.igem.org

Revision as of 08:30, 7 August 2014 by Newyear (Talk | contribs)
  1. nav {margin:0;padding:0;}

body{background:url(Homebgd.jpg) no-repeat scroll center;} /* mainpage */

  1. logo{width:400px;margin-right: auto;margin-left: auto;padding-top:25px;}
  2. navbg{width:1117px;height:303px;background:url(Navbg.png) no-repeat scroll 100% 17%;margin:0 auto;}
  3. nav {width:1063px;margin:0 auto;font-family:Ebrima;text-decoration:none;padding-top:64px;}

.nav1{text-align:center;float:left;width:160px;}

  1. nav a {text-decoration:none;color:#183D46;}
  2. nav ul {margin-top:10px;font-size:20px;padding-top:10px;display:none;text-align:center;border: #909090 1px solid;

background: #F9F6E7;filter: progid:DXImageTransform.Microsoft.Shadow(color=#909090,direction=120,strength=4); -moz-box-shadow: 2px 2px 10px #909090; -webkit-box-shadow: 2px 2px 10px #909090; box-shadow: 2px 2px 10px #909090;}

  1. humanPractice ul{margin-right:0;width: 164px;}
  2. bg {width:1000px;height:1000px;margin:0 auto;}
  3. nav .nav1 a:hover{color:#11979C;}
  4. nav ul{filter:aphla(opacity=80); background:#F9F6E7; background:rgba(294,246,231,0.8); important!}
  5. nav ul li:hover{background:#F9F6E7;}
  6. nav ul li { color:#183D46; position:relative;border-bottom: #909090 1px solid;font-size:18px;}
  7. nav ul li a:hover{color:#11979C;}
  8. nav #team{margin-right:33px;}
  9. address{z-index:999;

position:fixed; bottom:0; left:40%; width:100%; _position:absolute; /* for IE6 */ _top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); /* for IE6 */ overflow:visible; color:#f9f6e7}