User:Psl631/common.css

From SmashWiki, the Super Smash Bros. wiki
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.
/*<pre>*/

 #content, #content table
 #p-cactions ul li a { background: #fcfffc; }

 .usermessage {
 background: #00E400;
 border: 1.1px dashed #060;
 }

 pre { border: 1px dashed #060; }

 h1 { font-family: Georgia; serif; font-size:28px;color:#117611;}
 h2,h3,h4,h5,h6 { color:#020; }

 #catlinks {
 border: 1px dotted #272;
 background-color: #fdfffd;
 padding: 4px;
 }
 #siteNotice {
  background: #fcfffc;
 }

 textarea {
  font-family: Courier; monospace;
  font-size: 14px;
 }

body { font-family:Times New Roman; serif; font-size:12px;}
a:visited { color: #609; }
#p-personal a.new { color: #b00; }
#p-personal a.new:visited { color:#800; }
#bodyContent a.external { color: #0a0; }
#bodyContent a.extiw:active { color: #020; }

.mw-redirect {
	color: #006633;
}
.mw-redirect:visited {
	color: #009900;
}
.mw-redirect:hover {
	color: #990000;
}
.mw-redirect:active {
	color: #990000;
}
.mw-rollback-link, .mw-rollback-link:link, .mw-rollback-link:visited, .mw-rollback-link:hover, .mw-rollback-link:active {
	background-color: #F1F7FF;
}
#pt-sandbox {
	display: none;
}

.popupMoreLink {
  display: block;
  text-align: right;
  cursor: pointer;
}

ins.popupDiff {
  background: #afe;
}

del.popupDiff {
  background: #ffe6e6;
}

span.updatedmarker {    background-color: transparent;    color: #006400; }

.mw-special-Watchlist .mw-changeslist-line-watched
.mw-title {    font-weight: bold; }

.editpage-head-copywarn { display: none; }

span.mw-editsection { float:right; }

a.userhighlighter_sysop.userhighlighter_sysop {background-color: #E7E7E7 !important}

A                  { color:#0033cc; }
A.stubcls          { color:#0033cc; }
A.new              { color:#bf0000; }
A.redirect         { color:#0033cc;; }
A.self-redirect    { background-color:#88ff88; }
A.disambiguation   { background-color:#ffff88; }
A.intentional-disambiguation   { background-color:#ffffcc; }
A.soft-redirect-cats { background-color:#ffff88; }
A.deletion         { color:#FF2000; }
A.broken-redirect  { color:#bf0000; background-color:#88ff88; }
#bodyContent a.external, #bodyContent a.extiw { color:#0033cc; }
 
A:visited          { color:#800080; }
A.stubcls:visited  { color:#4365cc; }
A.new:visited      { color:#bf3e3e; }
A.redirect:visited { color:#800080; }
A.deletion:visited { color:#FF2040; }
A.broken-redirect:visited { color:#bf3e3e; background-color:#88ff88; }
#bodyContent a.external:visited, #bodyContent a.extiw:visited { color:#4365cc; }
 
A.unprintworthy:not(.unprintworthy-shortcut)    { outline:1px dotted #ff0000; }
 
A.image.redirect         > IMG { outline:2px solid #0033cc; }
A.image.nonfree-media    > IMG { outline:3px double #ff0000; }
A.image.deletion         > IMG { outline:2px solid #ff0088; }
A.image.deletion:visited > IMG { outline-color:#ff54af; }
 
/* Images can be inserted after links with the ":after" pseudo-element, although this doesn't work in IE <8. */
/*
A.featured-content:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Featured_article_star.svg/12px-Featured_article_star.svg.png);
}
A.protection-edit-sysop-indef:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/4/48/Padlock-red.svg/12px-Padlock-red.svg.png);
}
*/
A.nonimage.protection-create-sysop-indef:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Padlock-skyblue.svg/12px-Padlock-skyblue.svg.png);
}
 
/* If you're wanting to put multiple images after, you'll need to give specific
 * rules for each combination, something like this:
A.featured-content.protection-edit-sysop-indef:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Featured_article_star.svg/12px-Featured_article_star.svg.png) url(//upload.wikimedia.org/wikipedia/commons/thumb/4/48/Padlock-red.svg/12px-Padlock-red.svg.png);
}
*/
#selectionPreview {
  border: 2px solid #ddd;
  background-color: #eef;
  padding: 6px;
}

.navpopup {
  border: 1px solid #bbb;
  background-color: #fff;
  padding: 10px;
  padding-bottom: 5px;
  font-size: 11px;
  box-shadow: 0 3px 8px rgba( 50, 50, 50, 0.35 );
  word-wrap: break-word;
}

.navpopup hr {
  color: #aaa !important;
  background-color: #aaa !important;
}

/* Configure Drag bar color */
.popupDrag {
  background-color: #ffbe20;
  height: 5px;
  margin-top: -5px;
  margin-bottom: 5px;
}

.popupDragHandle {
  cursor: move;
  position: relative;
}

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

/* popups */
.popup_menu {
  display: none;
  position: absolute;
  left: 0;
  margin: 0;
  margin-top: 1.4em;
  line-height: 1.25em;
  top: 0;
  z-index: 2;
  width: 10em;
  background: white;
  border: 1px solid grey;
  padding: 0 !important;
  margin-left: -6px;
  border-width: 1px 1px 1px 6px;
}

.popup_menu li { /* both: popup_menu_row and popup_menu_item */
  list-style: none;
  margin:0;
  padding:0;
}

.popup_menu a {
  display: block;
  padding: 3px;
  color: #555;
}

.popup_menu_row a {
  display: inline-block;
}

.popup_menu_row {
  color: #aaa;
}

.popup_drop {
  display: inline;
  position: relative;
}

.popup_drop a,
.popup_drop a:visited {
  padding: 3px;
  margin: 0;
  font-weight: bold;
  color: #0645ad;
}

.popup_drop:hover .popup_menu,
.popup_drop .popup_menu:hover {
  display: inline;
  background: white;
  padding: 2px;
  color: #555;
}

.popup_drop:hover {
  background: #ccf;
  color: #44f;
}

/* other colours, styles and so on */
.popup_menu a:hover {
  background: grey;
  color: #fff;
  text-decoration: none;
}

.popup_mainlink {
  font-size: 140%;
  font-weight: bold;
}

.popup_mainlink a {
  color: #000;
}

a.popup_change_title_link {
  color: #152;
}

.popup_diff_dates {
  font-style: italic;
  background: none;
}

.popup_menu_item a {
  display: block;
}

.popup_history_row_even {
  background: #eee;
}

.popup_history_date {
  font-weight: bold;
  font-size: 120%;
}

/* disable interwiki styling */
.popupPreview a.extiw,
.popupPreview a.extiw:active {
  color: #36b;
  background: none;
  padding: 0;
}

.popupPreview .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;
}

span.updatedmarker {    background-color: transparent;    color: #006400; }

.mw-special-Watchlist .mw-changeslist-line-watched
.mw-title {    font-weight: bold; }

.editpage-head-copywarn { display: none; }

span.mw-editsection { float:right; }

a.userhighlighter_sysop.userhighlighter_sysop {background-color: #E7E7E7 !important}

A                  { color:#0033cc; }
A.stubcls          { color:#0033cc; }
A.new              { color:#bf0000; }
A.redirect         { color:#0033cc;; }
A.self-redirect    { background-color:#88ff88; }
A.disambiguation   { background-color:#ffff88; }
A.intentional-disambiguation   { background-color:#ffffcc; }
A.soft-redirect-cats { background-color:#ffff88; }
A.deletion         { color:#FF2000; }
A.broken-redirect  { color:#bf0000; background-color:#88ff88; }
#bodyContent a.external, #bodyContent a.extiw { color:#0033cc; }
 
A:visited          { color:#800080; }
A.stubcls:visited  { color:#4365cc; }
A.new:visited      { color:#bf3e3e; }
A.redirect:visited { color:#800080; }
A.deletion:visited { color:#FF2040; }
A.broken-redirect:visited { color:#bf3e3e; background-color:#88ff88; }
#bodyContent a.external:visited, #bodyContent a.extiw:visited { color:#4365cc; }
 
A.unprintworthy:not(.unprintworthy-shortcut)    { outline:1px dotted #ff0000; }
 
A.image.redirect         > IMG { outline:2px solid #0033cc; }
A.image.nonfree-media    > IMG { outline:3px double #ff0000; }
A.image.deletion         > IMG { outline:2px solid #ff0088; }
A.image.deletion:visited > IMG { outline-color:#ff54af; }
 
/* Images can be inserted after links with the ":after" pseudo-element, although this doesn't work in IE <8. */
/*
A.featured-content:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Featured_article_star.svg/12px-Featured_article_star.svg.png);
}
A.protection-edit-sysop-indef:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/4/48/Padlock-red.svg/12px-Padlock-red.svg.png);
}
*/
A.nonimage.protection-create-sysop-indef:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Padlock-skyblue.svg/12px-Padlock-skyblue.svg.png);
}
 
/* If you're wanting to put multiple images after, you'll need to give specific
 * rules for each combination, something like this:
A.featured-content.protection-edit-sysop-indef:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Featured_article_star.svg/12px-Featured_article_star.svg.png) url(//upload.wikimedia.org/wikipedia/commons/thumb/4/48/Padlock-red.svg/12px-Padlock-red.svg.png);
}
*/

/*global mw */
/*jshint strict: false, browser: true, jquery: true */
/**
 * Extra toolbar options
 *  
 *  Description: Adds extra buttons to the editing toolbar.
 *  
 *  Maintainers: [[wikipedia:User:MarkS]], [[wikipedia:User:Voice of All]], [[wikipedia:User:R. Koot]]
 */

function addExtraButtons () {
	mw.toolbar.addButtons(
	{
		imageId: 'button-redirect',
		imageFile: '//upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png',
		speedTip: 'Redirect',
		tagOpen: '#REDIRECT[[',
		tagClose: ']]',
		sampleText: 'Target page name'
	},
	{
		imageId: 'button-strike',
		imageFile: '//upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png',
		speedTip: 'Strike',
		tagOpen: '<s>',
		tagClose: '</s>',
		sampleText: 'Strike-through text'
	},
	{
		imageId: 'button-enter',
		imageFile: '//upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png',
		speedTip: 'Line break',
		tagOpen: '<br/>',
		tagClose: '',
		sampleText: ''
	},
	{
		imageId: 'button-subscript',
		imageFile: '//upload.wikimedia.org/wikipedia/en/7/70/Button_lower_letter.png',
		speedTip: 'Subscript',
		tagOpen: '<sub>',
		tagClose: '</sub>',
		sampleText: 'Subscript text'
	},
	{
		imageId: 'button-superscript',
		imageFile: '//upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png',
		speedTip: 'Superscript',
		tagOpen: '<sup>',
		tagClose: '</sup>',
		sampleText: 'Superscript text'
	},
	{
		imageId: 'button-small',
		imageFile: '//upload.wikimedia.org/wikipedia/en/5/58/Button_small.png',
		speedTip: 'Small',
		tagOpen: '<small>',
		tagClose: '</small>',
		sampleText: 'Small text'
	},
	{
		imageId: 'button-hide-comment',
		imageFile: '//upload.wikimedia.org/wikipedia/en/3/34/Button_hide_comment.png',
		speedTip: 'Insert hidden Comment',
		tagOpen: '<!-- ',
		tagClose: ' -->',
		sampleText: 'Comment'
	},
	{
		imageId: 'button-gallery',
		imageFile: '//upload.wikimedia.org/wikipedia/en/1/12/Button_gallery.png',
		speedTip: 'Insert a picture gallery',
		tagOpen: '\n<gallery>\n',
		tagClose: '\n</gallery>',
		sampleText: 'File:Example.svg|Caption1\nFile:Example.jpg|Caption2'
	},
	{
		imageId: 'button-blockquote',
		imageFile: '//upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png',
		speedTip: 'Insert block of quoted text',
		tagOpen: '<blockquote>\n',
		tagClose: '\n</blockquote>',
		sampleText: 'Block quote'
	},
	{
		imageId: 'button-template',
		imageFile: '//upload.wikimedia.org/wikipedia/commons/4/43/Button-template.png',
		speedTip: 'Insert template name',
		tagOpen: '{{',
		tagClose: '}}',
		sampleText: 'Template'
	},
	{
		imageId: 'button-code',
		imageFile: '//upload.wikimedia.org/wikipedia/commons/2/23/Button_code.png',
		speedTip: 'Insert code-formatted text',
		tagOpen: '<code>',
		tagClose: '</code>',
		sampleText: 'Code'
	},
	{
		imageId: 'button-insert-table',
		imageFile: '//upload.wikimedia.org/wikipedia/en/6/60/Button_insert_table.png',
		speedTip: 'Insert a table',
		tagOpen: '{| class="wikitable"\n|',
		tagClose: '\n|}',
		sampleText: '-\n! header 1\n! header 2\n! header 3\n|-\n| row 1, cell 1\n| row 1, cell 2\n| row 1, cell 3\n|-\n| row 2, cell 1\n| row 2, cell 2\n| row 2, cell 3'
	},
	{
		imageId: 'button-insert-reflink',
		imageFile: '//upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png',
		speedTip: 'Insert a reference',
		tagOpen: '<ref>',
		tagClose: '</ref>',
		sampleText: 'Insert footnote text here'
	}
	);
}

mw.loader.using( 'user.options', function () {
	// This can be the string "0" if the user disabled the preference (bugzilla:52542#c3)
	if ( mw.user.options.get( 'usebetatoolbar' ) != 1 && mw.user.options.get( 'showtoolbar' ) == 1 ) {
		$.when(
			mw.loader.using( 'mediawiki.toolbar' ),
			$.ready
		).then( addExtraButtons );
	}
} );

/**
 * Add "Purge" content action link.
 *
 * Dependencies: mediawiki.util, mediawiki.api, mediawiki.notify
 *
 * @source https://www.mediawiki.org/wiki/Snippets/Purge_action
 * @revision 2016-05-22
 */
$( function () {
	if ( $( '#ca-purge' ).length || !mw.config.get( 'wgIsArticle' ) ) return;
	var node = mw.util.addPortletLink(
		'p-cactions',
		mw.util.getUrl( null, { action: 'purge' } ),
		mw.config.get( 'skin' ) === 'vector' ? 'Purge' : '*',
		'ca-purge',
		'Purge the server cache of this page',
		'*'
	);
	$(node).on( 'click', function (e) {
		new mw.Api().post( { action: 'purge', titles: mw.config.get( 'wgPageName' ) } ).then(function () {
			location.reload();
		}, function () {
			mw.notify( 'Purge failed', { type: 'error' } );
		});
		e.preventDefault();
	});
});

.navpopup { 
  background-color: #FFBE20  !important;
  font-family:      Myriad Web Pro    !important;
  color:            #404     !important;
  font-size:        medium   !important;
}
/*</pre>*/