From 2011.igem.org
(Difference between revisions)
|
|
Line 14: |
Line 14: |
| line-height:2; | | line-height:2; |
| } | | } |
- |
| |
- | <style type="text/css">
| |
- | /* navigation */
| |
- |
| |
- | ul {
| |
- | list-style-image: none;
| |
- | }
| |
- |
| |
- | #nav {
| |
- | font-family: Arial, Helvetica, sans-serif;
| |
- | font-weight: bold;
| |
- | height: 43px;
| |
- | }
| |
- |
| |
- | #nav .last {
| |
- | padding-right: 2px;
| |
- | background-image:url(https://static.igem.org/mediawiki/2011/1/1f/Background.jpg);
| |
- | /* background-repeat:no-repeat;*/
| |
- | /* background-position:right;*/
| |
- | }
| |
- |
| |
- | #nav, #nav ul{
| |
- | margin:0;
| |
- | padding:0;
| |
- | list-style-type:none;
| |
- | list-style-position:outside;
| |
- | position:relative;
| |
- | line-height:1.5em;
| |
- | }
| |
- |
| |
- | #nav .on {
| |
- | color: green !important;
| |
- | background-color: gray;
| |
- | background-position: bottom left !important;
| |
- | }
| |
- |
| |
- | #nav a:link, #nav a:active, #nav a:visited{
| |
- | display:block;
| |
- | padding: 14px 35px;
| |
- | color: green;
| |
- | text-decoration:none;
| |
- | text-transform: uppercase;
| |
- | background-image: url(https://static.igem.org/mediawiki/2011/1/1f/Background.jpg);
| |
- | /* background-color=green;*/
| |
- | }
| |
- |
| |
- | #nav a:hover {
| |
- | color: green;
| |
- | /* background-image: url(https://static.igem.org/mediawiki/2011/1/1f/Background.jpg);*/
| |
- | /* background-position: bottom left;*/
| |
- | }
| |
- |
| |
- | #nav li{
| |
- | float:left;
| |
- | position:relative;
| |
- | }
| |
- |
| |
- | #nav ul {
| |
- | position:absolute;
| |
- | width:13em;
| |
- | top:3.8em;
| |
- | display:none;
| |
- | z-index: 1;
| |
- | }
| |
- |
| |
- | #nav li ul a {
| |
- | width:9em;
| |
- | float:left;
| |
- | background-color=white;
| |
- | background-image: none !important;
| |
- | }
| |
- |
| |
- | #nav li ul a:hover {
| |
- | background-color: green;
| |
- | }
| |
- |
| |
- | #nav ul ul{
| |
- | top:auto;
| |
- | }
| |
- |
| |
- | #nav li ul ul {
| |
- | left:12em;
| |
- | margin:0px 0 0 10px;
| |
- | }
| |
- |
| |
- | #nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
| |
- | display:none;
| |
- | }
| |
- |
| |
- | #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
| |
- | display:block;
| |
- | }
| |
- |
| |
- | /*end of navigation*/
| |
- | <style>
| |
- |
| |
| | | |
| | | |
Revision as of 11:30, 5 October 2011