Team:Edinburgh/defaultadvancedcss
From 2009.igem.org
(Difference between revisions)
(One intermediate revision not shown) | |||
Line 3: | Line 3: | ||
<style type="text/css"> | <style type="text/css"> | ||
- | @charset "UTF-8"; | + | @charset "UTF-8" |
+ | @import "https://2009.igem.org/Team:Edinburgh/defaultcss?action=raw"; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | ul.dropdown li a { /* Moved from 'custom' section */ | |
+ | display: block; | ||
+ | padding: 7px 12px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* ------------- Override default */ | ||
- | + | ul.dropdown li { | |
- | + | padding: 0; | |
- | + | } | |
- | |||
- | |||
- | |||
- | |||
+ | /* ------------- Reinitiate default: post-override activities */ | ||
- | + | ul.dropdown li.dir { | |
- | + | padding: 7px 20px 7px 12px; | |
- | + | } | |
- | ul.dropdown li { | + | ul.dropdown ul li.dir { |
- | + | padding-right: 15px; | |
- | } | + | } |
- | /*------------- | + | /* ------------- Custom */ |
- | + | ||
- | + | ||
- | ul.dropdown li | + | ul.dropdown li { |
- | + | ||
- | + | ||
- | + | } | |
- | + | ||
- | } | + | |
- | /* | + | /* Especially for IE6 or lower */ |
- | + | ||
- | + | ||
- | ul.dropdown ul a { | + | ul.dropdown ul a { |
- | + | padding: 4px 5px 4px 12px; | |
- | } | + | /*width: 139px;*/ |
+ | } | ||
- | ul.dropdown ul a:hover {} | + | ul.dropdown ul a:hover { |
+ | padding: 3px 5px 3px 11px; | ||
+ | border: solid 1px #ddd; | ||
+ | background-color: #eee; | ||
+ | font-weight: bold; | ||
+ | } | ||
- | ul.dropdown ul a.dir { | + | ul.dropdown ul a.dir { |
- | + | /*width: 129px;*/ | |
- | } | + | } |
</style> | </style> | ||
</html> | </html> |
Latest revision as of 14:21, 17 August 2009