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;} |
* { height:auto; | * { height:auto; | ||
margin:0; | margin:0; | ||
padding:0;} | padding:0;} | ||
img {border:none;} | img {border:none;} | ||
- | li {list-style | + | li {list-style:none;} |
#wrap { margin:auto; | #wrap { margin:auto; | ||
width:960px;} | width:960px;} | ||
Line 19: | Line 19: | ||
#main_nav ul {font-size: 13px; | #main_nav ul {font-size: 13px; | ||
list-style: none;} | list-style: none;} | ||
- | #main_nav { background:url( | + | #main_nav { background:url(hust_team_menubg.gif); |
background-repeat:no-repeat; | background-repeat:no-repeat; | ||
height: 41px; | height: 41px; | ||
overflow: visible; | overflow: visible; | ||
padding-left: 20px;} | padding-left: 20px;} | ||
- | #main_nav li {float: left; | + | #main_nav li {float: left; |
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;} |
#main_nav li ul li a {font-size: 12px; | #main_nav li ul li a {font-size: 12px; | ||
width: 100%; | width: 100%; | ||
Line 41: | Line 41: | ||
line-height: 25px; | line-height: 25px; | ||
margin: 0px;} | margin: 0px;} | ||
- | #main_nav li ul li a:hover, #main_nav li.focus ul li a:hover { | + | #main_nav li ul li a:hover, #main_nav li.focus ul li a:hover {background: url(hust_team_subnav_over.png); |
background-repeat:no-repeat; | background-repeat:no-repeat; | ||
background-position:center;} | background-position:center;} | ||
- | #main_nav li.focus a, #main_nav li a:hover {background: url( | + | #main_nav li.focus a, #main_nav li a:hover {background: url(hust_team_nav_over.png) |
- | + | background-repeat:no-repeat; | |
- | + | background-position:top; | |
- | + | background-position:left; | |
- | + | color: #000;} | |
#main_nav li.focus ul li a {background: none; | #main_nav li.focus ul li a {background: none; | ||
- | + | color: #000;} | |
#main_nav li ul {position: absolute; | #main_nav li ul {position: absolute; | ||
- | + | top: 36px;left: 0px; | |
- | + | background: #fff; | |
border-color: #1d70ba; | border-color: #1d70ba; | ||
border-style: none solid solid; | border-style: none solid solid; |
Revision as of 15:00, 5 October 2011