User:Lupin/menus.css

From Wikipedia, the free encyclopedia

Note: After saving, you have to bypass your browser's cache to see the changes. Firefox/Mozilla/Safari: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Internet Explorer: press Ctrl-F5, Opera/Konqueror: press F5.

/* menu magic - many thanks to [[User:Zocky]]! */

span.popup_menu
{
	display:none;
	position:absolute;
	left:0px; top:2.3ex;
	z-index:2;
	width:10em; 
	background:white; 
	border:solid 1px grey;
}
span.popup_menu a {display:block;}
span.popup_menu_row a {display:inline;}
span.popup_menu_row {display:block;}
div.popup_drop {display:inline; position:relative}
div.popup_drop:hover span.popup_menu,
div.popup_drop span.popup_menu:hover {display:inline; background:White; padding:2px 2px 2px 2px}


/* other colours, styles and so on */
span.popup_menu a:hover {background:#CCf; color:#44f}
span.popup_mainlink {font-size: 140%; font-weight: bold}

table.popupBorderTable { background: #FFBE20 /* orange */ }
table.popupTable { background: #FFFAEF }