Team:St Andrews
From 2010.igem.org
(Difference between revisions)
Line 23: | Line 23: | ||
text-align:left; | text-align:left; | ||
} | } | ||
+ | ul#navmenu-h { margin: 0; padding: 0; list-style: none; position: relative; } | ||
+ | |||
+ | ul#navmenu-h ul { | ||
+ | width: 126px; /* Sub Menu Width */ | ||
+ | margin: 0; | ||
+ | list-style: none; | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | top: 100%; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | ul#navmenu-h ul ul,ul#navmenu-h ul ul ul { top: 0; left: 100%; } | ||
+ | |||
+ | ul#navmenu-h li { float: left; display: inline; position: relative; } | ||
+ | ul#navmenu-h ul li { width: 100%; display: block; } | ||
+ | |||
+ | /* Root Menu */ | ||
+ | ul#navmenu-h a { | ||
+ | border-top: 1px solid #FFF; | ||
+ | border-right: 1px solid #FFF; | ||
+ | width:111px; | ||
+ | padding: 6px; | ||
+ | float: center; | ||
+ | display: block; | ||
+ | background: #000066; | ||
+ | color: #ffffff; | ||
+ | font: bold 11px Verdana, sans-serif; | ||
+ | text-decoration: none; | ||
+ | height: 1%; | ||
+ | } | ||
+ | |||
+ | /* Root Menu Hover Persistence */ | ||
+ | ul#navmenu-h a:hover,ul#navmenu-h li:hover a,ul#navmenu-h li.iehover a { | ||
+ | background: #FFFFFF; | ||
+ | color: #000066; | ||
+ | height:120%; | ||
+ | font: bold 13px Verdana, sans-serif; | ||
+ | } | ||
+ | |||
+ | /* 2nd Menu */ | ||
+ | ul#navmenu-h li:hover li a,ul#navmenu-h li.iehover li a { | ||
+ | font: bold 11px Verdana, sans-serif; | ||
+ | border: 1px solid #dedede; | ||
+ | width: 111px; | ||
+ | float: none; | ||
+ | height:100%; | ||
+ | color: #000066; | ||
+ | background: #FFFFFF; | ||
+ | } | ||
+ | |||
+ | /* 2nd Menu Hover Persistence */ | ||
+ | ul#navmenu-h li:hover li a:hover,ul#navmenu-h li:hover li:hover a,ul#navmenu-h li.iehover li a:hover,ul#navmenu-h li.iehover li.iehover a { | ||
+ | font: bold 13px Verdana, sans-serif; | ||
+ | border: 1px solid #dedede; | ||
+ | background: #000066; | ||
+ | color:#ffffff; | ||
+ | height:120%; | ||
+ | } | ||
+ | |||
+ | /* 3rd Menu */ | ||
+ | ul#navmenu-h li:hover li:hover li a,ul#navmenu-h li.iehover li.iehover li a { | ||
+ | font: bold 11px Verdana, sans-serif; | ||
+ | color: #000066; | ||
+ | background: #FFFFFF; | ||
+ | height:100%; | ||
+ | } | ||
+ | |||
+ | /* 3rd Menu Hover Persistence */ | ||
+ | ul#navmenu-h li:hover li:hover li a:hover,ul#navmenu-h li:hover li:hover li:hover a,ul#navmenu-h li.iehover li.iehover li a:hover,ul#navmenu-h li.iehover li.iehover li.iehover a { | ||
+ | font: bold 13px Verdana, sans-serif; | ||
+ | background: #000066; | ||
+ | color: #ffffff; | ||
+ | height:120%; | ||
+ | } | ||
+ | |||
+ | /* 4th Menu */ | ||
+ | ul#navmenu-h li:hover li:hover li:hover li a,ul#navmenu-h li.iehover li.iehover li.iehover li a { | ||
+ | background: #808080; | ||
+ | } | ||
+ | |||
+ | /* 4th Menu Hover */ | ||
+ | ul#navmenu-h li:hover li:hover li:hover li a:hover,ul#navmenu-h li.iehover li.iehover li.iehover li a:hover { | ||
+ | background: #000066; | ||
+ | } | ||
+ | |||
+ | /* Hover Function - Do Not Move */ | ||
+ | ul#navmenu-h li:hover ul ul,ul#navmenu-h li:hover ul ul ul,ul#navmenu-h li.iehover ul ul,ul#navmenu-h li.iehover ul ul ul { display: none; } | ||
+ | ul#navmenu-h li:hover ul,ul#navmenu-h ul li:hover ul,ul#navmenu-h ul ul li:hover ul,ul#navmenu-h li.iehover ul,ul#navmenu-h ul li.iehover ul,ul#navmenu-h ul ul li.iehover ul { display: block; } | ||
ul.navigation2 | ul.navigation2 |
Revision as of 22:45, 3 September 2010
University of St Andrews 2010 iGEM Team
Welcome to the the University of St Andrews iGEM wiki. This is our first year participating in iGEM and we're very excited to be here! This page is constantly changing, check back for more soon!