Team:NYMU-Taipei/menu.css
From 2014.igem.org
m |
m |
||
Line 71: | Line 71: | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
+ | |||
+ | /*home css*/ | ||
+ | .home1{ | ||
+ | min-height: 400px; | ||
+ | width: 5000px; | ||
+ | margin-left: -200px; | ||
+ | } | ||
+ | #home-one{ | ||
+ | background-color: rgb(190,190,190); | ||
+ | } | ||
+ | /**/ |
Revision as of 07:41, 11 July 2014
@font-face {
font-family: "font1"; src: url(http://sidigital.co/public/fonts/proximanova-bold-webfont.woff) format("woff");
}
- menu{
position:fixed; width:1100px; height:60px; background: rgba(255,255,255,1); margin-left: -60px; margin-top: 240px; box-shadow: 2px 2px 7px rgba(0,0,0,1); }
- menu>ul{
height:60px; margin-left: 5px; margin-right: 5px; }
- menu>ul>li{
display:inline-block; height:60px; width:152px; vertical-align:middle; font: 20px font1; line-height: 60px; }
- menu>ul>li>a{
display:block; cursor: pointer; height:60px; width:152px; text-align: center; text-decoration: none; }
- menu>ul>li>a>span{
position: absolute; width: 140px; height: 4px; border-top: 3px solid #E617DD; display: block; margin-top: 48px; margin-left: 5px;
opacity:0;
}
- menu>ul>li>ul{
margin-top: 0px; margin-left: 0px;
width:152px; display:none;
}
- menu>ul>li>ul>li{
display:inline-block; height:40px; vertical-align:middle; font: 17px font1; line-height: 40px; background: rgba(255,255,255,1); }
- menu>ul>li>ul>li>a{
display:block; cursor: pointer; height:40px; width:152px; text-align: center; text-decoration: none; }
/*home css*/ .home1{
min-height: 400px; width: 5000px; margin-left: -200px;
}
- home-one{
background-color: rgb(190,190,190);
} /**/