MediaWiki:Common.css: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
mNo edit summary
(Adding dismisabl sitenotice chang)
Line 67: Line 67:
span.fakelink:hover {
span.fakelink:hover {
text-decoration: underline;
text-decoration: underline;
}

/* Dismissable site notice */
.sitedir-ltr .mw-dismissable-notice-body {
margin: 0 60px 0 0;
}
.sitedir-rtl .mw-dismissable-notice-body {
margin: 0 0 0 60px;
}
}



Revision as of 03:00, May 11, 2022

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

/* Mark redirects on Special:AllPages and Special:EditWatchlist */
.allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect {
	color: #888 !important;
}

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

/* revision info */
.mw-revision.warningbox {
    margin-top:0px;
    padding:0px;
    border:0px;
    background:none;
}

#mw-revision-info, #mw-revision-info-current, #mw-revision-nav {
    color: #54595d;
}

/* References */
ol.references {
	margin-top: 0;
	font-size: 90%;
}
ol.references div {
	display: inline;
}
ol.references span {
	line-height: 1;
}

/* Video widget */
.infobox .videoWidget,
.infobox .videoWidget iframe {
	display: block !important;
}
.infobox .autoResize {
	margin: 0 auto !important;
}
.autoResize:not(.thumbinner) .thumbcaption {
	margin: 0;
	padding: 0;
}
.videoWidget + p {
	margin: 0;
}

/* Media player fix */
.wikitable .mediaContainer {
	margin-top: 2px;
}

/* fake links */
span.fakelink {
	color: #002bb8;
	cursor: pointer;
}
span.fakelink:hover {
	text-decoration: underline;
}

/* Dismissable site notice */
.sitedir-ltr .mw-dismissable-notice-body {
	margin: 0 60px 0 0;
}
.sitedir-rtl .mw-dismissable-notice-body {
	margin: 0 0 0 60px;
}

/* remove box-shadow from notifications */
#pt-notifications-alert .mw-echo-notifications-badge:focus, #pt-notifications-notice .mw-echo-notifications-badge:focus {
    box-shadow: none;
}

/* Tabber */
.infobox .tabbernav {
	font-size: 90%;
}
.tabber.info {
	display: block;
	float: right;
	margin: 0 0 0.5em 1em;
}
.tabber.info .nav {
	display: block !important;
}
.tabber.info .infobox > tbody > tr:nth-child(2) img {
	max-width: 100% !important;
	height: auto !important;
}
.tabber.info table {
	display: block !important;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	overflow-x: auto !important;
}
.tabber.info tbody {
	display: table !important;
	width: 100% !important;
}

/* miscellaneous */
.mw-collapsible-toggle {
	padding-right: 0.3em;
}

#toc, .toc {
	margin-bottom: 3px;
}

.messagebox, .errorbox, .warningbox, .successbox {
    padding:12px;
}

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

/* Ban notice */
.warningbox {border: 1px solid darkred;background: #ffcfcf;}