MediaWiki:Common.css: Difference between revisions

From the Nintendo Wiki, a wiki covering all things Nintendo
Jump to navigationJump to search
Content added Content deleted
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 18: Line 18:
.portable-infobox .pi-navigation {
.portable-infobox .pi-navigation {
background-color: #ffffff;
background-color: #ffffff;
text-align:center;
}
}



Revision as of 20:02, February 21, 2024

/* CSS placed here will be applied to all skins on desktop */

.portable-infobox .pi-title {
	background-color: #d62020;
    color:white;
    font-style:bold;
    font-size: 16px;
	text-align: center;
}

.portable-infobox .pi-header {
	background-color: #d62020;
    color:white;
    font-size: 14px;
	text-align: center;
}

.portable-infobox .pi-navigation {
	background-color: #ffffff;
    text-align:center;
}

/* Navbox style
       Edit here: https://nintendowiki.wiki/wiki/MediaWiki:Gadget-NavboxStyle.css
   Staff highlights
       Edit here: https://nintendowiki.wiki/wiki/MediaWiki:Gadget-StaffHighlights.css */

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

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

.catlinks {
	background: #f9f9f9;
	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;
	}
}

/* main page */

body.page-Nintendo_Wiki.action-view h1.firstHeading,
body.page-Nintendo_Wiki.action-view #contentSub > *,
body.page-Nintendo_Wiki.action-view #siteSub,
body.page-Nintendo_Wiki.action-view #catlinks,
body.page-Nintendo_Wiki.action-view #lastmod {
   display: none !important;
}

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


/* Echo extension */
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
	font-size: 12px;
}
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
	margin-bottom: 10px;
}
.mw-echo-ui-crossWikiUnreadFilterWidget-group {
	display: none;
}
.oo-ui-popupWidget-body-padded {
	margin-top: 8px;
}
.oo-ui-popupWidget-head {
	overflow: hidden;
}
.mw-echo-ui-overlay {
	z-index: 100;
}

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