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
   Staff highlights
       Edit here: https://www.mariowiki.com/MediaWiki:Gadget-StaffHighlights.css */

/* <h3> Shared interface </h3> */

.ns-104 div.thumb {
	border-color: transparent;
}

.catlinks {
	background: #f9f9f9 url(https://mario.wiki.gallery/images/papermariohead.jpg) no-repeat bottom right;
	margin-top: 10px;
}
#catlinks li {
	margin: 0.28em 0;
	line-height: 1em;
}

blockquote {
	border-left: 3px solid #06f;
	margin-left: 2em;
	padding-left: 1em;
}

/* 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;
}

/* <h3> All pages </h3> */

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

/* Notice templates */
body:not(.ns-6) .notice-template + .notice-template {
	margin-top: -0.375em !important;
}
.notice-template.talk,
body:not(.ns-6) .notice-template.maintenance {
	max-width: max-content !important;
}
.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;
	}
}

/* <h3> Miscellaneous pages </h3> */

/* MarioWiki:BJAODN */
.rootpage-MarioWiki_BJAODN .mw-wiki-logo {
	background-image: url(https://mario.wiki.gallery/images/thumb/f/f1/Super_Mario_Wiki_Logo.png/150px-Super_Mario_Wiki_Logo.png);
}

/* April Fool's */
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2017"] .mw-wiki-logo {
	background-image: url(https://mario.wiki.gallery/images/archive/4/4c/20170402024126!Mariowiki.png);
}
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2018"] .mw-wiki-logo {
	background-image: url(https://mario.wiki.gallery/images/c/cd/Funky_wiki_logo.png);
}
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2019"] .mw-wiki-logo {
	background-image: url(https://mario.wiki.gallery/images/archive/4/4c/20190402014317!Mariowiki.png);
}
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2021"] .mw-wiki-logo {
	background-image: url(https://mario.wiki.gallery/images/archive/4/4c/20210402135134!Mariowiki.png);
}
body[class*="page-MarioWiki_BJAODN_April_Fool_s_2023"] .mw-wiki-logo {
	background-image: url(https://mario.wiki.gallery/images/archive/4/4c/20230402112604!Mariowiki.png);
}

/* <h3> Misc / Unsorted </h2> */

.special li {
	line-height: 19px;
}
#preftoc a:active {
	color: #00c; 
}
.easywrap {
	width: 100%;
	table-layout: fixed;
	word-wrap: break-word;
	overflow: hidden;
}
.right {
	text-align: right;
}

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

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