Template:WashUback
From 2009.igem.org
(Difference between revisions)
Line 23: | Line 23: | ||
.day-active {color:#008000; font-weight: bold} | .day-active {color:#008000; font-weight: bold} | ||
.day-empty {color: #000000} | .day-empty {color: #000000} | ||
+ | |||
+ | /*Following coding for menubar found at http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html*/ | ||
+ | /**************** menu coding *****************/ | ||
+ | #menu { | ||
+ | width: 100%; | ||
+ | background: #F47F24; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | #menu ul { | ||
+ | list-style: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | width: 12.65em; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | #menu a.gray, #menu a.orange { | ||
+ | text-align: center; | ||
+ | text-transform: uppercase; | ||
+ | display: block; | ||
+ | border-width: 1px; | ||
+ | border-style: solid; | ||
+ | border-color: #ccc #888 #555 #bbb; | ||
+ | margin: 0; | ||
+ | padding: 2px 3px; | ||
+ | } | ||
+ | |||
+ | #menu a.orange { | ||
+ | color: ##008000; | ||
+ | font-weight: bold; | ||
+ | font-size: 16px; | ||
+ | background: #F47F24; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | #menu a.gray { | ||
+ | color: #000; | ||
+ | font-weight: normal; | ||
+ | font-size: 12px; | ||
+ | background: #efefef; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | #menu a:hover { | ||
+ | color: #fff; | ||
+ | background: ##008000; | ||
+ | } | ||
+ | |||
+ | #menu a.orange:active { | ||
+ | text-align: center; | ||
+ | display: block; | ||
+ | border-width: 1px; | ||
+ | border-style: solid; | ||
+ | border-color: #ccc #888 #555 #bbb; | ||
+ | margin: 0; | ||
+ | padding: 2px 3px; | ||
+ | color: #fff; | ||
+ | background: ##008000; | ||
+ | } | ||
+ | |||
+ | #menu li {position: relative;} | ||
+ | |||
+ | #menu ul ul { | ||
+ | position: absolute; | ||
+ | z-index: 500; | ||
+ | } | ||
+ | |||
+ | #menu ul ul ul { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 100%; | ||
+ | } | ||
+ | |||
+ | div#menu ul ul, | ||
+ | div#menu ul li:hover ul ul, | ||
+ | div#menu ul ul li:hover ul ul | ||
+ | {display: none;} | ||
+ | |||
+ | div#menu ul li:hover ul, | ||
+ | div#menu ul ul li:hover ul, | ||
+ | div#menu ul ul ul li:hover ul | ||
+ | {display: block;} | ||
+ | </style> | ||
+ | <!--[if IE]> | ||
+ | <style type="text/css" media="screen"> | ||
+ | #menu ul li {float: left; width: 100%;} | ||
+ | </style> | ||
+ | <![endif]--> | ||
+ | <!--[if lt IE 7]> | ||
+ | <style type="text/css" media="screen"> | ||
+ | body { | ||
+ | behavior: url(csshover.htc); | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | |||
+ | #menu ul li a {height: 1%;} | ||
+ | |||
+ | #menu a.green, #menu a.red { | ||
+ | font: bold 0.7em/1.4em; | ||
+ | } | ||
+ | </style> | ||
+ | <![endif]--> | ||
+ | </html> |
Revision as of 18:45, 18 June 2009