Template:USTC-Software/header2/css
From 2013.igem.org
(Difference between revisions)
Line 51: | Line 51: | ||
margin:0; | margin:0; | ||
padding:0; | padding:0; | ||
+ | transition:1s; | ||
} | } | ||
Line 67: | Line 68: | ||
font-size:18px; | font-size:18px; | ||
/*letter-spacing:1px;*/ | /*letter-spacing:1px;*/ | ||
+ | transition:1s; | ||
} | } | ||
Line 73: | Line 75: | ||
display: none; | display: none; | ||
list-style-type:none !important; | list-style-type:none !important; | ||
+ | transition:1s; | ||
} | } | ||
Line 79: | Line 82: | ||
color:#000; | color:#000; | ||
background:#fff; | background:#fff; | ||
+ | transition:1s; | ||
} | } | ||
Line 87: | Line 91: | ||
top:90px; | top:90px; | ||
width:150px; | width:150px; | ||
+ | transition:1s; | ||
} | } | ||
Line 97: | Line 102: | ||
color:#fff; | color:#fff; | ||
font-size:16px; | font-size:16px; | ||
+ | transition:1s; | ||
} | } | ||
Line 103: | Line 109: | ||
background:#7599bc; | background:#7599bc; | ||
color:#fff; | color:#fff; | ||
+ | transition:1s; | ||
} | } | ||
Revision as of 13:45, 27 October 2013
ul {list-style-image: inherit !important;}
- top {
position:fixed; background-color:#34495e; width:100%; height:100px; z-index: 5000; top:0px; left:0px; opacity:1;
}
- header {
position: relative; background-color:#34495e; border-radius: 0 0 10px 10px; -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 15px 15px; height:100px; font-family: "Helvetica Neue","Arial",sans-serif; border-top-width:0px; max-width:100%; width:100%;
}
.menu {
font:18px Arial, Helvetica, sans-serif; width:100%; padding-top:50px;
}
.menu ul {
padding:0; margin:0; list-style-type:none; text-decoration:none;
}
.menu ul li {
float:left; position: relative; list-style-type:none; text-decoration:none; margin:0; padding:0; transition:1s;
}
.menu ul li a, .menu ul li a:visited {
display:block; text-align:center; text-decoration:none; width:120px; height:40px; color:#fff; /*border:1px solid #34495e; border-width:1px 1px 0 0;*/ background:#34495e; line-height:40px; font-size:18px; /*letter-spacing:1px;*/ transition:1s;
}
.menu ul li ul {
display: none; list-style-type:none !important; transition:1s;
}
.menu ul li:hover a {
color:#000; background:#fff; transition:1s;
}
.menu ul li:hover ul {
display:block; position:fixed; top:90px; width:150px; transition:1s;
}
.menu ul li:hover ul li a {
display:block; background:#34495e; height:40px; line-height:40px; color:#fff; font-size:16px; transition:1s;
}
.menu ul li:hover ul li a:hover {
background:#7599bc; color:#fff; transition:1s;
}
- igem {
float:right; margin-top:-1px; margin-right:-55px; height:83px; width:130px;
}
- igem a img{
transition:width 1s, height 1s; -moz-transition:width 1s, height 1s, -moz-transform 1s; /* Firefox 4 */ -webkit-transition:width 1s, height 1s, -webkit-transform 1s; /* Safari and Chrome */ -o-transition:width 1s, height 1s, -o-transform 1s; /* Opera */ -ms-transition:width 1s, height 1s, -ms-transform 1s;
}
- igem a img:hover{
transform:rotate(360deg); -moz-transform:rotate(360deg); /* Firefox 4 */ -webkit-transform:rotate(360deg); /* Safari and Chrome */ -o-transform:rotate(360deg); /* Opera */ -ms-transition:width 1s, height 1s, -ms-transform 1s;/*IE*/
}