Team:Hong Kong HKU/templates/header frontpage

From 2013.igem.org

(Difference between revisions)
Line 168: Line 168:
-
/*****parent menu*****/
 
-
#nav li a {
 
-
display:block;
 
-
padding:8px 5px 0 5px;
 
-
font-weight:700;
 
-
height:20px;
 
-
text-decoration:none;
 
-
color:#00994D;
 
-
text-align:center;
 
-
color:#FFCC33;
 
-
}
 
-
 
-
#nav li a:hover
 
-
{
 
-
 
-
}
 
-
 
-
/* style for default selected value */ #nav a.selected {
 
-
color:00CC66;
 
-
}
 
-
/* submenu */ #nav ul
 
-
{
 
-
position:absolute;
 
-
left:0;
 
-
display:none;
 
-
margin:0 0 0 -1px;
 
-
padding:0;
 
-
list-style:none;
 
-
}
 
-
 
-
#nav ul li
 
-
{
 
-
width:190px;
 
-
float:left;
 
-
border-top:1px solid;
 
-
}
 
-
 
-
/* display block will make the link fill the whole area of LI */ #nav ul a
 
-
{
 
-
display:block;
 
-
height:14px;
 
-
padding: 8px 5px;
 
-
 
-
}
 
-
 
-
#nav ul a:hover
 
-
{
 
-
text-decoration:underline;
 
-
padding-left:15px;
 
-
}
 
</style>
</style>

Revision as of 18:38, 26 September 2013