MediaWiki:Common.css

From the Super Mario Wiki, the Mario encyclopedia
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.
/* CSS placed here will be applied to all skins on desktop */

/* Navbox style
       Edit here: https://www.mariowiki.com/MediaWiki:Gadget-NavboxStyle.css
   Project page style
       Edit here: https://www.mariowiki.com/MediaWiki:Gadget-ProjectPageStyle.css
   Staff highlights
       Edit here: https://www.mariowiki.com/MediaWiki:Gadget-StaffHighlights.css */

/* Indicator icons */
.mw-indicator {
	margin: 0 2px;
}
#mw-indicator-investigate-link {
	top: 7px;
}
#mw-indicator-ext-checkuser-investigation-btns {
	top: 3px;
}

/* User pages */
.ns-2 #mw-content-text p > img {
	max-width: 100% !important;
	height: auto !important;
}

/* User talk pages */
.ns-3 [style*="position:fixed"],
.ns-3 [style*="position: fixed"] {
	display: none;
}

/* Infobox templates */
.infobox {
	float: right;
	clear: right;
	margin: 0 0 1em 1.15em;
}
.infobox, .infobox-wide {
	font-size: 88%;
}
.infobox + .infobox,
.infobox + :is(link, style) + .infobox {
	clear: none;
}
:is(.infobox, .infobox-wide) :is(td, th) {
	padding: 2px;
}
.infobox tr {
	vertical-align: top;
}

/* Notice templates */
#aboutfile ~ .notice-template {
	max-width: none;
}
.notice-template:is(.maintenance, .talk) {
	max-width: max-content;
}
.notice-template:has(+ .notice-template, + :is(link, style, div:empty) + .notice-template) {
	margin-bottom: 0.3em;
}
.notice-template p {
	margin: 0.6em 0;
}

/* Keep create account benefits up top */
.mw-special-CreateAccount #userloginForm {
	margin-right: 90px;
}

/* Adjust inputbox button padding in Firefox */
@-moz-document url-prefix() {
	.bodySearchWrap .mw-ui-button, .createboxButton {
		padding-top: 4px;
		padding-bottom: 5px;
	}
}

/* Misc. */
.special li {
	line-height: 19px;
}
#preftoc a:active {
	color: #00c; 
}

/* Who's online */
#whosonline {
	margin-bottom: 1px;
}