Template:Team:USTC-Software/Header-c
From 2012.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>USTC-Header-c</title> | <title>USTC-Header-c</title> | ||
- | |||
- | |||
<style> | <style> | ||
Line 53: | Line 51: | ||
width: 980px; | width: 980px; | ||
height:auto; | height:auto; | ||
- | margin: | + | margin: 8px auto; |
margin-bottom:2px; | margin-bottom:2px; | ||
padding: 0px; | padding: 0px; | ||
Line 146: | Line 144: | ||
} | } | ||
- | li:after, li:before { | + | .header_menu li:after,.header_menu li:before { |
-moz-transition:width 0.5s ease 0s; | -moz-transition:width 0.5s ease 0s; | ||
height: 0px; | height: 0px; | ||
Line 157: | Line 155: | ||
top: 32px; | top: 32px; | ||
} | } | ||
- | li:after { | + | .header_menu li:after { |
background: -moz-linear-gradient(left, #0ad, #08b); | background: -moz-linear-gradient(left, #0ad, #08b); | ||
left: 10px; | left: 10px; | ||
} | } | ||
- | li:before { | + | .header_menu li:before { |
background: -moz-linear-gradient(right, #0ad, #08b); | background: -moz-linear-gradient(right, #0ad, #08b); | ||
right:2px; | right:2px; | ||
} | } | ||
- | li:hover:after,li:hover:before{ | + | .header_menu li:hover:after,.header_menu li:hover:before{ |
width: 51%; | width: 51%; | ||
height: 1px; | height: 1px; | ||
Line 171: | Line 169: | ||
} | } | ||
- | li:active:after,li:active:before{ | + | .header_menu li:active:after,.header_menu li:active:before{ |
width: 51%; | width: 51%; | ||
height: 1px; | height: 1px; | ||
opacity:1; | opacity:1; | ||
} | } | ||
- | li:active:after{left: 12px;} | + | .header_menu li:active:after{left: 12px;} |
- | li:active:before{right:0px;} | + | .header_menu li:active:before{right:0px;} |
/*---the end of head menu wrapper css-----*/ | /*---the end of head menu wrapper css-----*/ | ||
Revision as of 05:19, 2 August 2012
TOP