Team:HIT-Harbin/css/contentstyle.css

From 2014.igem.org

(Difference between revisions)
Line 35: Line 35:
#bottomNav {   
#bottomNav {   
z-index:999;   
z-index:999;   
-
position:fixed;   
+
position:fixed;
 +
top:0;   
left:0;   
left:0;   
width:100%;   
width:100%;   

Revision as of 13:13, 22 July 2014

/* CSS Document */ ul,li,body,h1,#topCentent,#rightRed,#logo{ margin:0; padding:0; }

body { width:1300px;height:1014px; font-family: Arial; font-size: 12px;

       padding-top:132px;
       background-color:#183D46;

}

  1. topCentent{
   height:2000px;

width:1109px; background-image:url(Wikibackground.jpg); margin:0px auto;

       margin-top:-150px;

}

  1. topCentent #rightRed{margin:0 950px;}
  2. nav {width:1300px;padding-top:165px;margin-right: auto;margin-left: auto;font-family:Ebrima;text-decoration:none;font-weight:bold;}

.nav1{float:left;margin-right:40px;}

  1. nav a {text-decoration:none;color:#183D46;font-size:26px;}
  2. project{margin-left:37px}
  3. humanPractic{margin-right:-8px;}
  4. nav ul {font-size:20px;padding-top:10px;width:72px;display:none;}
  5. humanPractic ul{width:200px;}
  6. wetlab{margin-right:296px;}
  7. team{width:74px;}
  8. nav a:hover {color:#2F798C}

body { background-image:url(text.txt); /* for IE6 */ background-attachment:fixed; }

  1. bottomNav {

z-index:999; position:fixed; top:0; left:0; width:100%; _position:absolute; /* for IE6 */ _top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); /* for IE6 */ overflow:visible; }