Team:St Andrews/defaulttemplate
From 2010.igem.org
(Difference between revisions)
Line 165: | Line 165: | ||
+ | .menu ul{ | ||
+ | margin: 0; padding: 0; | ||
+ | float: left;} | ||
+ | .menu ul li{ | ||
+ | display: inline;} | ||
+ | .menu ul li a{ | ||
+ | float: left; text-decoration: none; | ||
+ | color: white; | ||
+ | padding: 10.5px 11px; | ||
+ | background-color: #333; } | ||
+ | .menu ul li a:visited{ | ||
+ | color: white;} | ||
- | + | .menu ul li a:hover, .menu ul li .current{ | |
- | + | color: #fff; | |
- | + | background-color:#0b75b2;} | |
- | + | ||
- | + | ||
- | } | + | |
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | ul.dropdown li, | |
- | + | ul.dropdown, | |
- | + | ul.dropdown ul { | |
- | + | padding: 0px 50px; | |
+ | list-style: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
} | } | ||
- | + | ||
- | + | ul.dropdown li { | |
+ | float: middle; | ||
+ | vertical-align: middle; | ||
} | } | ||
- | + | ul.dropdown li.hover, | |
- | + | ul.dropdown li:hover { | |
- | + | position: relative; | |
- | + | cursor: default; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ul.dropdown ul { | |
- | + | margin:10; | |
- | + | padding:10; | |
- | + | visibility: hidden; | |
- | + | position: absolute; | |
- | + | ||
} | } | ||
- | + | ul.dropdown ul li { | |
- | + | top: 100%; | |
- | + | left: 0; | |
- | + | width: 100%; | |
- | + | float: none; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ul.dropdown li:hover > ul { | |
- | + | visibility: visible; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ul.dropdown li.rtl ul { | |
- | + | top: 100%; | |
+ | right: 0; | ||
+ | left: auto; | ||
} | } | ||
- | + | ul.dropdown { | |
- | + | float:right; | |
- | + | position:relative; | |
- | + | right:50%; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | |||
+ | ul.dropdown li { | ||
+ | padding: 2px 4px; | ||
+ | background-color: #FFFFFF; | ||
+ | color: 000000; | ||
+ | float:left; | ||
+ | position:relative; | ||
+ | left:50%; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ul.dropdown ul { | ||
+ | color: #00539B; | ||
+ | font-weight: normal; | ||
+ | right: auto; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul li { | ||
+ | background-color: #FFFFFF; | ||
+ | left: auto; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul li:hover { | ||
+ | color: #FFFFFF; | ||
+ | background-color: #00539B; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Revision as of 19:56, 27 October 2010
- Home
- Modelling
- ITEM1
- ITEM2
- Laboratory
- ITEM1
- ITEM2
- Human Practices
- ITEM1
- ITEM2