User:BoArthur/navpop.css

From IBWiki
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
.navpopup 
{ 
  border: solid #FFBE20 1px;
  background-color: #FFFAEF;
  padding: 5px;
  font-size: 8pt;
  /* opacity: 0.9; */
}


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

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


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

.popup_change_title_link { color: #152; }

.popup_diff_dates { 
                    font-style: italic; 
                    background: none;
                    }
/* copied from monobook #bodyContent declarations */

/*
** keep the whitespace in front of the ^=, hides rule from konqueror
** this is css3, the validator doesn't like it when validating as css2
*/
.popupPreview a.external,
.popupPreview a[href ^="gopher://"] {
	background: url(http://en.wikipedia.org/skins/monobook/external.png) center right no-repeat;
	padding-right: 13px;
}
.popupPreview a[href ^="https://"],
.link-https {
	background: url(http://en.wikipedia.org/skins/monobook/lock_icon.gif) center right no-repeat;
	padding-right: 16px;
}
.popupPreview a[href ^="mailto:"],
.link-mailto {
	background: url(http://en.wikipedia.org/skins/monobook/mail_icon.gif) center right no-repeat;
	padding-right: 18px;
}
.popupPreview a[href ^="news://"] {
	background: url(http://en.wikipedia.org/skins/monobook/news_icon.png) center right no-repeat;
	padding-right: 18px;
}
.popupPreview a[href ^="ftp://"],
.link-ftp {
	background: url(http://en.wikipedia.org/skins/monobook/file_icon.gif) center right no-repeat;
	padding-right: 18px;
}
.popupPreview a[href ^="irc://"],
.link-irc {
	background: url(http://en.wikipedia.org/skins/monobook/discussionitem_icon.gif) center right no-repeat;
	padding-right: 18px;
}
/* disable interwiki styling */
.popupPreview a.extiw,
.popupPreview a.extiw:active {
	color: #36b;
	background: none;
	padding: 0;
}
.popupPreview a.external {
	color: #36b;
}
/* this can be used in the content area to switch off
special external link styling */
.popupPreview .plainlinks a {
	background: none !important;
	padding: 0 !important;
}