MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 56: Line 56:
overflow:hidden;
overflow:hidden;
margin-top:0;
margin-top:0;
}
.mw-references-wrap p {
margin:0;
}
}



Revision as of 08:07, 30 January 2024

/* Page Cleanup */
p:empty {
	display:none;
}


/* Infobox Sizing */
.mw-capiunto-infobox > * {
     display: block;
     width: 100%;
}

.brand-md-logo-div td span a img {
	padding:12px;
}

.brand-md-logo-div td {
	padding-top:6px;
	padding-bottom:8px;
}

.brand-md-cover-div td span a img {
	max-width: 280px;
	max-height: 280px;
	
	width: min-content;
	height: min-content;
	object-fit: contain;
	
	padding:12px;
}

.brand-md-cover-div td {
	padding-bottom:24px;
}

.mw-capiunto-infobox {
	padding: 12px 12px 16px 12px;
	width: 24em;
}

.mw-prefixindex-list + .mw-inputbox-centered {
	margin-left: 0;
	text-align: left;
	margin-bottom:2em;
}

/* Interwiki inclusion modifications */
.mw-parser-output .mw-parser-output.mw-content-ltr table.infobox,div.navigation-not-searchable {
	display:none;
}

.mw-parser-output .mw-parser-output.mw-content-ltr .mw-references-wrap {
	height:0;
	overflow:hidden;
	margin-top:0;
}

.mw-references-wrap p {
	margin:0;
}

.mw-references-wrap ol.references {
	padding-top:2em;
}

	/* Limit paragraphs to 1 */
	.mw-parser-output .mw-parser-output.mw-content-ltr p:not(:nth-of-type(1)) {
		display:none;
	}