Team:Tokyo-NoKoGen/css
From 2010.igem.org
(Difference between revisions)
Line 205: | Line 205: | ||
} | } | ||
+ | /*======================== 3RD LEVEL MENU DEFINITIONS ========================*/ | ||
+ | |||
+ | .menu ul li:hover ul li ul, | ||
+ | .menu ul li a:hover ul li a ul { /* hide inactive 3rd-level menus */ | ||
+ | visibility:hidden; | ||
+ | } | ||
+ | |||
+ | .menu ul li:hover ul li:hover ul, | ||
+ | .menu ul li a:hover ul li a:hover ul { /* 3rd level drop-down box */ | ||
+ | visibility:visible; | ||
+ | position:absolute; | ||
+ | margin-top:-1px; /* bring the top edge of the 3rd level menu up one */ | ||
+ | top:0; | ||
+ | left:14em; | ||
+ | width:14em; | ||
+ | |||
+ | } | ||
+ | |||
+ | .menu ul li:hover ul li:hover ul li a, | ||
+ | .menu ul li a:hover ul li a:hover ul li a { /* 3rd level unselected items */ | ||
+ | width:14em; | ||
+ | background:#838d84; | ||
+ | color:#000000; | ||
+ | } | ||
+ | |||
+ | .menu ul li:hover ul li:hover ul li a:hover, | ||
+ | .menu ul li a:hover ul li a:hover ul li a:hover { /* level3 selected items */ | ||
+ | width:14em; | ||
+ | background:white; | ||
+ | color:#000000; | ||
+ | } | ||
+ | |||
+ | #text { /* the Mac's standard Safari browser will not see this code */ | ||
+ | height:1.215em;# /* ... but every other browser will and should */ | ||
+ | } /* Safari barfs on the illegal pound sign (#) after the rule's property val */ | ||
+ | |||
+ | |||
+ | a.menu { | ||
+ | color: white; | ||
+ | width: 12em; | ||
+ | } | ||
+ | |||
+ | li.toclevel-1 .toclevel-2 { | ||
+ | margin-bottom:0em; | ||
+ | } | ||
+ | |||
+ | |||
+ | table { | ||
+ | font-color: #000000; | ||
+ | |||
+ | } | ||
+ | a.menu { | ||
+ | color: #000000; | ||
+ | width: 12em; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /* footer */ | ||
+ | #wikifooter {clear: both; display: block; background: url(https://static.igem.org/mediawiki/2009/8/8d/Bg_footer.gif) bottom no-repeat; border-bottom: 20px solid #003000; text-align: center;} | ||
+ | * html #footer {margin-top: 18px;} | ||
+ | #wikifooter-top {display: block; width: 975px; height: 15px; background: url(https://static.igem.org/mediawiki/2009/5/58/Bg_footer-top.gif) top no-repeat;} | ||
+ | #wikifooter p {color: #808080; padding: 0px 37px 20px 37px;} | ||
+ | #wikifooter a, #wikifooter a:visited {color: #808080;} | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 17:58, 25 October 2010