MediaWiki:Monobook.css: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 47: Line 47:
.catlinks {
.catlinks {
margin-top: 10px;
margin-top: 10px;
}
/* Responsive fixes */
@media all and (max-width: 550px) {
.mw-body-content {
overflow: clip !important;
}
.infobox, .tabber.info {
margin: 1em 0 !important;
}
.infobox, .tabber.info,
#bodyContent table, .nav-right {
float: none !important;
width: auto !important;
overflow: auto !important;
display: block !important;
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
#bodyContent table > tbody {
width: 100% !important;
display: table !important;
}
div.thumb {
float: none !important;
max-width: none !important;
margin: 1em 0;
}
div.thumbinner > div {
float: none !important;
margin-left: auto !important;
margin-right: auto !important;
}
div.thumbcaption {
margin-top: 3px !important;
}
div.thumbimage {
max-width: max-content;
}
ul.gallery {
text-align: center;
}
div.gallerytext {
text-align: left;
}
center div.gallerytext,
.gallery.center div.gallerytext,
.gallery[style*="center"] div.gallerytext {
text-align: center;
}
a.feedlink {
padding-left: 16px !important;
}
}
}



Revision as of 09:52, September 27, 2021

/* CSS placed here will affect users of the Monobook skin */

a { color: #002BB8; }
a:visited { color: #5A3696; }
.firstHeading { margin-top: 5px; }
p { margin: 0.6em 0 0.7em 0; }
h1 { font-size: 193%; }
h3 + dl, h4 + dl, h5 + dl {
	margin-top: -0.1em;
}
.ns-talk p + dl, .ns-110 p + dl,
.rootpage-SmashWiki_Featured_content p + dl {
	margin-top: -0.4em;
}
.ns-talk dl + dl, .ns-110 dl + dl,
.rootpage-SmashWiki_Featured_content dl + dl {
	margin-top: -0.2em;
}

@media all and (min-width: 551px) {
	li#pt-userpage, li#pt-anonuserpage, li#pt-login {
		padding-left: 18px;
		background: url(https://ssb.wiki.gallery/images/user.png) top left no-repeat;
	}
}

html[lang^="en"] #ca-edit a:after {
	content: ' this page';
}
html[lang^="en"] #ca-talk.selected.new + #ca-edit a:after,
html[lang^="en"] li[id^="ca-nstab"].selected.new + #ca-talk + #ca-edit a:after {
	content: ' page';
}

#localNotice {
	margin: -10px 0 13px 0;
}
.page-Main_Page.action-view #localNotice {
	margin-bottom: 22px;
}

div.noarticletext {
	padding: 0;
	border: none;
}

.catlinks {
	margin-top: 10px;
}

/* Fix footer spacing */
#f-list {
	line-height: 17px;
}

/* Indicator icons */
.mw-indicators {
	top: -4px;
}
#mw-indicator-last {
	top: 9px;
}

/* Multimedia viewer */
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconedElement-icon.oo-ui-icon-check,
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconElement-icon.oo-ui-icon-check {
	display: none !important;
}

/* Advanced search */
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field,
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field {
	width: 59% !important;
}
.mw-advancedSearch-namespaceFilter .oo-ui-tagMultiselectWidget-handle {
	border: 0 !important;
}
.mw-advancedSearch-namespaceFilter {
	top: 0 !important;
}