Team:HIT-Harbin/css/contentstyle.css

From 2014.igem.org

(Difference between revisions)
Line 11: Line 11:
}
}
#nav span{color:#2F798C}
#nav span{color:#2F798C}
-
#nav { position:absolute;top:125px;width:1351px;left:0;z-index:2;
+
#nav { position:relative;top:125px;width:1115px;left:0;z-index:2;
                 height:67px;
                 height:67px;
           font-family: Ebrima;
           font-family: Ebrima;
Line 29: Line 29:
#nav a {text-decoration:none;color:#183D46;font-size:22px;}
#nav a {text-decoration:none;color:#183D46;font-size:22px;}
#nav li a {font-size:15px;}
#nav li a {font-size:15px;}
-
#project{margin-left:138px;}
+
#project{margin-left:22px;}
#nav #project ul{width:80px;}
#nav #project ul{width:80px;}
#nav ul {font-size:20px;padding-top:10px;width:72px;display:none;}
#nav ul {font-size:20px;padding-top:10px;width:72px;display:none;}

Revision as of 05:10, 15 October 2014

/* CSS Document */

  1. body{background-color:#EEEADE}
  2. top-section {

background-color: transparent; }

  1. topCentent{

width:1117px; margin:-8px auto;

       padding:0;

}

  1. nav span{color:#2F798C}
  2. nav { position:relative;top:125px;width:1115px;left:0;z-index:2;
                height:67px;
          font-family: Ebrima;

}

  1. 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. nav ul{filter:aphla(opacity=80); background:#F9F6E7; background:rgba(294,246,231,0.8); important!}
  2. nav ul li:hover{background:#F9F6E7;}
  3. nav ul li { color:#183D46; position:relative;border-bottom: #909090 1px solid;}
  4. nav ul li a{font-size:14px;}
  5. nav ul li a:hover{color:#11979C;}

.nav1{float:left;width:85px;margin-top:41px;}

  1. rnav{display:none;}
  2. nav a {text-decoration:none;color:#183D46;font-size:22px;}
  3. nav li a {font-size:15px;}
  4. project{margin-left:22px;}
  5. nav #project ul{width:80px;}
  6. nav ul {font-size:20px;padding-top:10px;width:72px;display:none;}
  7. nav #project ul {

width: 102px; margin-left: -20px; }

  1. nav #judging ul {

width: 108px; margin-left: -20px; }

  1. nav #wetlab ul {

width: 100px; margin-left: -15px; }

  1. nav #team ul {

width: 100px; margin-left: -22px; }

  1. nav #humanPractices ul {

width: 129px; margin-left: 20px; }

  1. judging{margin-left: 45px;}
  2. wetlab{margin-left:73px;}
  3. software {margin-left: 307px;}
  4. team{width:57px;margin-left: 46px;}
  5. humanPractices {margin-left: 24px;}
  6. nav #humanPractices ul{width:124px;}
  1. nav a:hover {color:#2F798C}
  2. rhome a {text-decoration:none;

color: #FECA9E; font-size: 17px;}

body { background:#183D46 url(Wikibackground.jpg) no-repeat scroll 50% 0%; }

  1. bottomNav {

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

  1. bottomNav a{text-decoration:none;font-family:Ebrima;color:#183D46;font-size:20px;}
  2. bottomNav a:hover{color:#2F798C;}
  3. rnav{height:1300px;font-family:Ebrima;text-decoration:none;font-weight:bold;

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

  1. rnav .rnav1 {margin-top:9px;font-size: 16px;}
  2. rnav .rnav1 a {text-decoration:none;color:#F2E3C6;}
  3. rnav .rnav1 a:hover {color:#FECA9E;}
  4. rnav .rnav1 ul{width:108px;display:none;}
  5. rnav .rnav1 .rfoot{margin-bottom:10px;}
  6. rnav li a {

font-size: 10px; }

  1. rnav #home a {color:white;text-decoration:none;}
  2. rnav #home:hover a {color:red;}
  3. team {

width: 74px;}

/* for mainarea */

  1. mainarea{padding-top:264px;z-index: 0 ;margin:0 20px;}

.alignleft { width: 645px; float: left;} .cta-box { /* padding-top: 0px; */ height: 60px; border-top: #F2E3C6 2px dashed; border-bottom: #F2E3C6 2px dashed; margin-top: 49px; } a.custom-button { float: right; } a.custom-button { margin: 19px;font: bold 13px/34px Arial; } .cta-box p { margin: 19px;font: italic 25px/34px "Times New Roman"; }