|
|
(6 intermediate revisions not shown) |
Line 2: |
Line 2: |
| {{Template:Team:Bonn:CSS}} | | {{Template:Team:Bonn:CSS}} |
| <html> | | <html> |
- | <!-- JS Scripts -->
| |
- | <script type="text/javascript" src="http://igem13.uni-bonn.de/shared/superfish/js/jquery-1.9.1.min.js"></script>
| |
- | <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
| |
- | <script type="text/javascript" src="http://code.jquery.com/jquery-migrate-1.2.1.js"></script>
| |
- | <script type="text/javascript" src="http://malsup.github.io/jquery.cycle.all.js"></script>
| |
- | <script type="text/javascript" src="http://igem13.uni-bonn.de/shared/superfish/js/hoverIntent.js"></script>
| |
- | <script type="text/javascript" src="http://igem13.uni-bonn.de/shared/superfish/js/superfish.js"></script>
| |
| | | |
- | <!-- Extra CSS --> | + | <!-- We need jQuery >= 1.10 --> |
- | <style type="text/css"> | + | <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> |
- | .menu-top-li{
| + | <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script> |
- | margin-left:10px;
| + | |
- | margin-right:10px;
| + | |
- | }
| + | |
- | .menu-top {
| + | |
- | height:20px;
| + | |
- | padding:8px;
| + | |
- | }
| + | |
- | #menu-team {
| + | |
- | background-image: url('https://static.igem.org/mediawiki/igem.org/5/5f/Wiki_Team.png');
| + | |
- | background-size: auto 20px;
| + | |
- | background-repeat: no-repeat;
| + | |
- | background-position:left center;
| + | |
- | width:60px;
| + | |
- | }
| + | |
- | #menu-intro {
| + | |
- | background-image: url(https://static.igem.org/mediawiki/igem.org/b/b5/Bonn_menu_introduction.png);
| + | |
- | background-size: auto 20px;
| + | |
- | background-repeat: no-repeat;
| + | |
- | background-position:left center;
| + | |
- | width:160px;
| + | |
- | }
| + | |
- | #menu-project {
| + | |
- | background-image: url(https://static.igem.org/mediawiki/igem.org/2/2a/Bonn_menu_project.png);
| + | |
- | background-size: auto 20px;
| + | |
- | background-repeat: no-repeat;
| + | |
- | background-position:left center;
| + | |
- | width:110px;
| + | |
- | }
| + | |
- | #menu-hp {
| + | |
- | background-image: url(https://static.igem.org/mediawiki/igem.org/2/2a/Wiki_humanpractice.png);
| + | |
- | background-size: auto 20px;
| + | |
- | background-repeat: no-repeat;
| + | |
- | background-position:left center;
| + | |
- | width:230px;
| + | |
- | }
| + | |
- | .igem13-menu li:hover, .igem13-menu li.sfHover {
| + | |
- | background: none repeat scroll 0 0 #FADD26 !important;
| + | |
- | transition: none 0s ease 0s;
| + | |
- | }
| + | |
- | .igem13-menu ul{
| + | |
- | box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.2) !important;
| + | |
- | }
| + | |
- | .igem13-menu ul li a{
| + | |
- | background: none repeat scroll 0 0 #FADD26;
| + | |
- | color:#444444;
| + | |
- | }
| + | |
- | .igem13-menu ul li a:hover{
| + | |
- | background: none repeat scroll 0 0 #FFFF00;
| + | |
- | color:#444444;
| + | |
- | }
| + | |
- | .igem13-menu li:hover #menu-team, .igem13-menu li.sfHover #menu-team{
| + | |
- | background-image: url(https://static.igem.org/mediawiki/2013/9/9d/Bonn_menu_Team_grey.png) !important;
| + | |
- | }
| + | |
- | .igem13-menu li:hover #menu-hp, .igem13-menu li.sfHover #menu-hp{ | + | |
- | background-image: url(https://static.igem.org/mediawiki/2013/c/c9/Bonn_menu_humanpractice_grey.png) !important;
| + | |
- | }
| + | |
- | .igem13-menu li:hover #menu-project, .igem13-menu li.sfHover #menu-project{
| + | |
- | background-image: url(https://static.igem.org/mediawiki/2013/c/ce/Bonn_menu_project_grey.png) !important;
| + | |
- | }
| + | |
- | .igem13-menu li:hover #menu-intro, .igem13-menu li.sfHover #menu-intro{
| + | |
- | background-image: url(https://static.igem.org/mediawiki/2013/e/ee/Bonn_menu_background_grey.png) !important;
| + | |
- | }
| + | |
- | </style> | + | |
| <!-- Additional global elements --> | | <!-- Additional global elements --> |
| | | |
Line 81: |
Line 12: |
| | | |
| </html> | | </html> |
| + | {{Template:Team:Bonn:MenuInit}} |