Template:Team:HKU-HKBU/Common.css
From 2009.igem.org
(Difference between revisions)
(178 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
<html> | <html> | ||
<style> | <style> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | # | + | #header { |
- | + | position: relative; | |
- | + | } | |
- | } | + | |
- | + | body { | |
- | + | background-color: #eee; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #wiki_content { | |
- | + | margin-left: 20px; | |
- | } | + | width: 700px; |
+ | float:left; | ||
+ | position: relative; | ||
+ | } | ||
- | + | /*-------------------------------------tabs-----------------------------------------*/ | |
- | + | ||
- | + | #tabs { | |
- | } | + | float:left; |
+ | width:960px; | ||
+ | background:#BBD9EE; | ||
+ | font-size:93%; | ||
+ | line-height:normal; | ||
+ | } | ||
- | + | #tabs ul { | |
- | + | margin:0; | |
- | } | + | padding:10px 10px 0 250px; |
+ | list-style:none; | ||
+ | } | ||
- | + | #tabs li { | |
- | + | display:inline; | |
- | } | + | margin:0; |
+ | padding:0; | ||
+ | } | ||
- | + | #tabs a { | |
- | + | float:left; | |
- | } | + | background:url("https://static.igem.org/mediawiki/2009/8/8f/Tableft.gif") no-repeat left top; |
+ | margin:0; | ||
+ | padding:0 0 0 4px; | ||
+ | text-decoration:none; | ||
+ | } | ||
- | + | #tabs a span { | |
- | + | float:left; | |
- | } | + | display:block; |
+ | background:url("https://static.igem.org/mediawiki/2009/8/85/Tabright.gif") no-repeat right top; | ||
+ | padding:5px 15px 4px 6px; | ||
+ | color:#666; | ||
+ | } | ||
- | + | /* Commented Backslash Hack hides rule from IE5-Mac \*/ | |
- | + | #tabs a span {float:none;} | |
- | /* | + | /* End IE5-Mac hack */ |
- | # | + | #tabs a:hover span { |
- | + | color:#FF9834; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | # | + | #tabs a:hover { |
- | + | background-position:0% -42px; | |
- | + | } | |
- | + | ||
- | } | + | |
- | # | + | #tabs a:hover span { |
- | + | background-position:100% -42px; | |
- | } | + | } |
+ | /*-------------------------------------menu----------------------------------------*/ | ||
- | + | ul { | |
- | + | list-style: none; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
margin: 0; | margin: 0; | ||
- | + | padding: 0; | |
- | padding: | + | } |
- | + | ||
- | } | + | |
- | # | + | img { |
+ | border: none; | ||
+ | } | ||
+ | |||
+ | #menu { | ||
+ | float:left; | ||
+ | width: 200px; | ||
+ | padding: 10px; | ||
+ | background:#BBD9EE; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #menu li a { | ||
+ | height: 32px; | ||
+ | voice-family: "\"}\""; | ||
+ | voice-family: inherit; | ||
+ | height: 24px; | ||
text-decoration: none; | text-decoration: none; | ||
- | + | } | |
- | + | ||
- | + | #menu li a:link, #menu li a:visited { | |
- | + | color: #4D4D4D; | |
- | + | display: block; | |
- | + | background: url(https://static.igem.org/mediawiki/2009/8/8a/Menu.gif); | |
- | + | padding: 8px 0 0 10px; | |
- | + | } | |
- | + | ||
- | + | #menu li a:hover { | |
- | + | color: #FF9834; | |
- | + | background: url(https://static.igem.org/mediawiki/2009/8/8a/Menu.gif) 0 -32px; | |
- | + | padding: 8px 0 0 10px; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</style> | </style> | ||
- | <html> | + | </html> |
Latest revision as of 12:48, 25 August 2009