Team:HUST-China/Templates/css/style

From 2012.igem.org

(Difference between revisions)
Line 59: Line 59:
position:relative;
position:relative;
}
}
 +
 +
 +
/*nav2-------------------------------------*/
 +
#nav2{
 +
color: #eee;
 +
font-size: 24px;
 +
width:780px;
 +
height:50px;
 +
margin:0 auto;
 +
position:relative;
 +
top:150px;
 +
}
 +
a{
 +
color:#eee;
 +
text-decoration:none;
 +
display:block;
 +
}
 +
a:hover{
 +
cursor:pointer;
 +
background:#2e423e;
 +
}
 +
#nav2 ul{
 +
position:absolute;
 +
margin:0 auto;
 +
padding:0 25px 0 20px;
 +
background: #5baf8f; /* Old browsers */
 +
background: -moz-linear-gradient(top,  #5baf8f 0%, #498f7d 100%); /* FF3.6+ */
 +
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5baf8f), color-stop(100%,#498f7d)); /* Chrome,Safari4+ */
 +
background: -webkit-linear-gradient(top,  #5baf8f 0%,#498f7d 100%); /* Chrome10+,Safari5.1+ */
 +
background: -o-linear-gradient(top,  #5baf8f 0%,#498f7d 100%); /* Opera 11.10+ */
 +
background: -ms-linear-gradient(top,  #5baf8f 0%,#498f7d 100%); /* IE10+ */
 +
background: linear-gradient(to bottom,  #5baf8f 0%,#498f7d 100%); /* W3C */
 +
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5baf8f', endColorstr='#498f7d',GradientType=0 ); /* IE6-9 */
 +
 +
}
 +
 +
#nav2 ul li{
 +
float:left;
 +
padding: 12px 14px 15px 14px;
 +
display:block;
 +
text-align:center;
 +
}
 +
#nav2 ul li:hover{
 +
background:#2e423e;
 +
text-decoration: none;
 +
}
 +
 +
</style>
</style>
<body>
<body>

Revision as of 13:16, 24 September 2012

logo

HUST CHINA