Team:NYMU-Taipei/menu.css
From 2014.igem.org
m |
m |
||
Line 16: | Line 16: | ||
height:60px; | height:60px; | ||
/* background: rgba(255,255,255,1); */ | /* background: rgba(255,255,255,1); */ | ||
- | background: | + | background: rgba(230,227,230,1); |
- | background: - | + | background: -moz-linear-gradient(top, rgba(230,227,230,1) 0%, rgba(255,255,255,1) 49%, rgba(219,212,219,1) 100%); |
- | background: - | + | background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(230,227,230,1)), color-stop(49%, rgba(255,255,255,1)), color-stop(100%, rgba(219,212,219,1))); |
- | background: - | + | background: -webkit-linear-gradient(top, rgba(230,227,230,1) 0%, rgba(255,255,255,1) 49%, rgba(219,212,219,1) 100%); |
+ | background: -o-linear-gradient(top, rgba(230,227,230,1) 0%, rgba(255,255,255,1) 49%, rgba(219,212,219,1) 100%); | ||
+ | background: -ms-linear-gradient(top, rgba(230,227,230,1) 0%, rgba(255,255,255,1) 49%, rgba(219,212,219,1) 100%); | ||
+ | background: linear-gradient(to bottom, rgba(230,227,230,1) 0%, rgba(255,255,255,1) 49%, rgba(219,212,219,1) 100%); | ||
+ | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6e3e6', endColorstr='#dbd4db', GradientType=0 ); | ||
margin-left: -60px; | margin-left: -60px; | ||
margin-top: 290px; | margin-top: 290px; |
Revision as of 15:13, 18 July 2014
@font-face {
font-family: "font1"; src: url(http://sidigital.co/public/fonts/proximanova-bold-webfont.woff) format("woff");
} @font-face {
font-family: 'font2'; font-style: normal; font-weight: 400; src: local('Audiowide'), local('Audiowide-Regular'), url(http://themes.googleusercontent.com/static/fonts/audiowide/v2/8XtYtNKEyyZh481XVWfVOj8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
} @font-face { font-family: 'font3'; font-style: normal; font-weight: 400; src: local('Just Another Hand'), local('JustAnotherHand-Regular'), url(http://fonts.gstatic.com/s/justanotherhand/v6/fKV8XYuRNNagXr38eqbRf8DbBFScDQWNirGEA9Q9Yto.woff) format('woff'); }
- menu{
position:fixed; width:1100px; height:60px;
/* background: rgba(255,255,255,1); */
background: rgba(230,227,230,1); background: -moz-linear-gradient(top, rgba(230,227,230,1) 0%, rgba(255,255,255,1) 49%, rgba(219,212,219,1) 100%); background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(230,227,230,1)), color-stop(49%, rgba(255,255,255,1)), color-stop(100%, rgba(219,212,219,1))); background: -webkit-linear-gradient(top, rgba(230,227,230,1) 0%, rgba(255,255,255,1) 49%, rgba(219,212,219,1) 100%); background: -o-linear-gradient(top, rgba(230,227,230,1) 0%, rgba(255,255,255,1) 49%, rgba(219,212,219,1) 100%); background: -ms-linear-gradient(top, rgba(230,227,230,1) 0%, rgba(255,255,255,1) 49%, rgba(219,212,219,1) 100%); background: linear-gradient(to bottom, rgba(230,227,230,1) 0%, rgba(255,255,255,1) 49%, rgba(219,212,219,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6e3e6', endColorstr='#dbd4db', GradientType=0 ); margin-left: -60px; margin-top: 290px; box-shadow: 2px 2px 7px rgba(0,0,0,1);
z-index:3; border-radius: 7px;
}
- 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; }
.header{
height: 370px; background-image: url('/wiki/images/6/6c/NYMU14_mainlogo.png'); background-repeat: no-repeat; background-position: 0px 40px;
}
.outlink{
background-size:60px; min-height: 60px; min-width: 60px; display: inline-block; margin-top: 200px; position: fixed; z-index: 1; border-radius:9px;
} .outlink:hover{
box-shadow: rgb(255,255,255) 0px 0px 12px 5px;
}
- ol1{ background-image: url('/wiki/images/c/c7/NYMU14_schoollink2.png');}
- ol2{ background-image: url('/wiki/images/8/80/NYMU14_igemlink.png');}
- ol3{ background-image: url('/wiki/images/d/db/NYMU14_fblink2.png');}
/*home css*/
.home1{
min-height: 400px; min-width: 1000px; margin-left: -200px;
}
- home-one{
background-color: rgb(190,190,190); box-shadow: -4px -4px 3px rgba(20%,20%,40%,1);
}
- home-two{
background-color: rgb(245,245,245); box-shadow: inset 3px 3px 3px rgba(20%,20%,40%,0.5);
} /**/