Team:Westminster
From 2012.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<html> | <html> | ||
<head> | <head> | ||
- | |||
<style type="text/css"> | <style type="text/css"> | ||
body { | body { | ||
Line 33: | Line 32: | ||
padding: 15px; | padding: 15px; | ||
} | } | ||
+ | |||
+ | /* links | ||
+ | *************************/ | ||
+ | |||
+ | a:link, a:visited, a:hover, a:active | ||
+ | { | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | /* inline elements | ||
+ | *************************/ | ||
+ | |||
+ | strong | ||
+ | { | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | /* tabs | ||
+ | *************************/ | ||
+ | |||
+ | ul.tabs | ||
+ | { | ||
+ | display: table; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | list-style: none; | ||
+ | |||
+ | } | ||
+ | |||
+ | ul.tabs li | ||
+ | { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | list-style: none; | ||
+ | display: table-cell; | ||
+ | float: left; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | ul.tabs a | ||
+ | { | ||
+ | position: relative; | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | /* dropdowns | ||
+ | *************************/ | ||
+ | |||
+ | ul.dropdown | ||
+ | { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | display: block; | ||
+ | position: relative; | ||
+ | z-index: 999; | ||
+ | top: 100%; | ||
+ | width: 250px; | ||
+ | display: none; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul.dropdown | ||
+ | { | ||
+ | top: 0; | ||
+ | left: 95%; | ||
+ | } | ||
+ | |||
+ | ul.dropdown li | ||
+ | { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | float: none; | ||
+ | position: relative; | ||
+ | list-style: none; | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | ul.dropdown li a | ||
+ | { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* menu-specifc | ||
+ | *************************/ | ||
+ | |||
+ | #menu | ||
+ | { | ||
+ | position: fixed; | ||
+ | z-index: 5; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | height: 40px; | ||
+ | line-height: 40px; | ||
+ | background: #ffb35a url(../images/menu/topbg.gif) repeat-x; | ||
+ | border-bottom: 1px solid #000; | ||
+ | } | ||
+ | |||
+ | #menu ul | ||
+ | { | ||
+ | margin: 0 auto; | ||
+ | } | ||
+ | |||
+ | #menu ul li.hasmore | ||
+ | { | ||
+ | background: url(../images/menu/drophighlight.png) no-repeat center 27px; | ||
+ | } | ||
+ | |||
+ | #menu ul li h4 | ||
+ | { | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | #menu ul li h4 a | ||
+ | { | ||
+ | font-size: 14px; | ||
+ | color: #000; | ||
+ | font-weight: bold; | ||
+ | padding: 0 15px; | ||
+ | } | ||
+ | |||
+ | #menu ul li a | ||
+ | { | ||
+ | color: #042306; | ||
+ | padding-left: 4px; | ||
+ | } | ||
+ | |||
+ | #menu ul li a img | ||
+ | { | ||
+ | vertical-align: middle; | ||
+ | } | ||
+ | |||
+ | #menu ul li a:hover | ||
+ | { | ||
+ | background: url(../images/menu/topselectionleft.png) top left no-repeat; | ||
+ | } | ||
+ | |||
+ | #menu ul li a span | ||
+ | { | ||
+ | display: block; | ||
+ | padding: 0 15px 0 11px; | ||
+ | } | ||
+ | |||
+ | #menu ul li a:hover span | ||
+ | { | ||
+ | background: url(../images/menu/topselectionright.png) top right; | ||
+ | } | ||
+ | |||
+ | #menu ul.dropdown | ||
+ | { | ||
+ | padding: 10px; | ||
+ | background-image: url(../images/menu/dropdown.png); | ||
+ | overflow:hidden; | ||
+ | border-bottom: 1px solid #37dc2f; | ||
+ | width: 290px; | ||
+ | } | ||
+ | |||
+ | #menu ul.dropdown li a | ||
+ | { | ||
+ | border-bottom: 1px solid #75c975; | ||
+ | line-height: 30px; | ||
+ | overflow: hidden; | ||
+ | height: 30px; | ||
+ | } | ||
+ | |||
+ | #menu ul.dropdown li.last a | ||
+ | { | ||
+ | border-bottom-width: 0; | ||
+ | } | ||
+ | |||
+ | #menu ul.dropdown li a:hover | ||
+ | { | ||
+ | background: url(../images/menu/menuarrow.png) no-repeat left center; | ||
+ | } | ||
+ | |||
+ | #menu ul li h4 a:hover | ||
+ | { | ||
+ | background-image: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
ul#navigation { | ul#navigation { | ||
list-style: none; | list-style: none; |
Revision as of 21:12, 14 September 2012