MediaWiki:Monobook.css: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 3: Line 3:
a { color: #002BB8; }
a { color: #002BB8; }
a:visited { color: #5A3696; }
a:visited { color: #5A3696; }
#globalWrapper { overflow: hidden; }
.firstHeading { margin-top: 5px; }
.firstHeading { margin-top: 5px; }
p { margin: 0.6em 0 0.7em 0; }
p { margin: 0.6em 0 0.7em 0; }
h1 { font-size: 193%; }
h1 { font-size: 193%; }
h3 + dl, h4 + dl, h5 + dl {
:is(h3, h4, h5) + dl {
margin-top: -0.1em;
margin-top: -0.1em;
}
}
.ns-talk p + dl, .ns-110 p + dl,
:is(.ns-talk, .ns-110) p + dl,
.rootpage-SmashWiki_Featured_content p + dl {
.rootpage-SmashWiki_Featured_content p + dl {
margin-top: -0.4em;
margin-top: -0.4em;
}
}
.ns-talk dl + dl, .ns-110 dl + dl,
:is(.ns-talk, .ns-110) dl + dl,
.rootpage-SmashWiki_Featured_content dl + dl {
.rootpage-SmashWiki_Featured_content dl + dl {
margin-top: -0.2em;
margin-top: -0.2em;
Line 19: Line 20:


@media all and (min-width: 551px) {
@media all and (min-width: 551px) {
li#pt-userpage, li#pt-anonuserpage, li#pt-login {
body.skin-monobook li#pt-login,
body.skin-monobook li#pt-userpage,
body.skin-monobook li#pt-anonuserpage {
padding-left: 18px;
padding-left: 18px;
background: url(/images/user.png) top left no-repeat;
background: url(https://ssb.wiki.gallery/images/user.png) top left no-repeat;
}
}
}
#ca-edit a:after {
content: ' this page';
}
#ca-talk.selected.new + #ca-edit a:after,
li[id^="ca-nstab"].selected.new + #ca-talk + #ca-edit a:after {
content: ' page';
}
}


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


Line 50: Line 42:


/* Fix footer spacing */
/* Fix footer spacing */
#f-list {
body.skin-monobook #f-list {
line-height: 17px;
line-height: 17px;
}
/* Responsive fix */
@media all and (max-width: 550px) {
a.feedlink { padding-left: 16px !important }
}
}


Line 73: Line 60:
}
}


/* Advanced search */
/* Responsive fix */
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field,
@media all and (max-width: 550px) {
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field {
body.skin--responsive #sidebar .portlet[role="navigation"] {
width: 59% !important;
display: none !important;
}
}
.mw-advancedSearch-namespaceFilter .oo-ui-tagMultiselectWidget-handle {
border: 0 !important;
}
.mw-advancedSearch-namespaceFilter {
top: 0 !important;
}
}

Latest revision as of 17:38, July 24, 2024

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

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

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

#localNotice {
	margin: -10px 0 13px;
}

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

.catlinks {
	margin-top: 10px;
}

/* Fix footer spacing */
body.skin-monobook #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;
}

/* Responsive fix */
@media all and (max-width: 550px) {
	body.skin--responsive #sidebar .portlet[role="navigation"] {
		display: none !important;
	}
}