Team:HUST-China/Templates/css2

From 2011.igem.org

(Difference between revisions)
Line 6: Line 6:
font-size:12px;  
font-size:12px;  
font-family:"Lucida Grande",Arial,sans-serif;
font-family:"Lucida Grande",Arial,sans-serif;
-
line-height:1.5em;}
+
line-height:1.5em;text-decoration: none;}
* { height:auto;
* { height:auto;
margin:0;
margin:0;
padding:0;}
padding:0;}
img {border:none;}
img {border:none;}
-
li {list-style:none;}
+
li {list-style:none;text-decoration: none;}
#wrap { margin:auto;
#wrap { margin:auto;
width:960px;}
width:960px;}
Line 24: Line 24:
overflow: visible;
overflow: visible;
padding-left: 20px;}
padding-left: 20px;}
-
#main_nav li {float: left;
+
#main_nav li {float: left;text-decoration: none;
position: relative;
position: relative;
z-index: 5;}
z-index: 5;}
Line 35: Line 35:
text-align: center;
text-align: center;
margin-top: 2px;}
margin-top: 2px;}
-
#main_nav li a:hover {color: #000;}
+
#main_nav li a:hover {color: #000;text-decoration: none;}
#main_nav li ul li a {font-size: 12px;
#main_nav li ul li a {font-size: 12px;
width: 100%;
width: 100%;
Line 45: Line 45:
  background-position:center;}
  background-position:center;}
#main_nav li.focus a, #main_nav li a:hover {background: url(https://static.igem.org/mediawiki/2011/8/85/Hust_team_nav_over.png)  
#main_nav li.focus a, #main_nav li a:hover {background: url(https://static.igem.org/mediawiki/2011/8/85/Hust_team_nav_over.png)  
-
background-repeat:no-repeat;  
+
background-repeat:no-repeat;  
-
background-position:top;  
+
background-position:top;  
-
background-position:left;
+
background-position:left;
-
color: #000;}
+
color: #000;text-decoration: none;}
#main_nav li.focus ul li a {background: none;
#main_nav li.focus ul li a {background: none;
-
color: #000;}
+
color: #000;}
#main_nav li ul {position: absolute;
#main_nav li ul {position: absolute;
-
top: 36px;left: 0px;
+
top: 36px;left: 0px;
-
background: #fff;
+
background: #fff;
border-color: #1d70ba;
border-color: #1d70ba;
border-style: none solid solid;
border-style: none solid solid;

Revision as of 14:59, 5 October 2011