Jump to content

MediaWiki:Common.css: Difference between revisions

An idea by Jeff Lawlor
Created on 2024-10-08
No edit summary
No edit summary
Line 62: Line 62:


.vector-body #contentSub {
.vector-body #contentSub {
margin: 0;
}
.vector-body-before-content {
margin: 0;
margin: 0;
}
}

Revision as of 18:00, 10 April 2025

/* CSS placed here will be applied to all skins */
body
{
     font-family: Trebuchet MS, Tahoma, sans-serif;
}

.mw-body h1, .mw-body-content h2, h3, h4, h5, h6, h7
{
     font-family: Verdana, sans-serif;
}

.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .content .mw-parser-output > .mw-heading2, .content .mw-parser-output > h2, .content .mw-parser-output[data-mw-parsoid-version] > section > .mw-heading2, .content .section-heading {
    border-bottom: none;
    padding-bottom: 0;
    margin: 0.25em 0 0 0;
}

.mf-icon-expand {
	display: none;
}

.vector-page-titlebar::after
{
	background-color: transparent;
}

/* Show subtitle */
#siteSub
{
    display: block; font-weight: normal; font-size: normal;
}

/* No gray background behind pictures! */
html.skin-theme-clientpref-night .mw-parser-output > figure[typeof='mw:File'] img
{
	background-color: transparent;
}

/* Remove toolbar on home page and when not logged in */
.vector-page-toolbar {
	display: none;
}

body.page-We_Are_Idea_Supreme .vector-page-toolbar {
    display: none;
}

/* Remove toolbar for mobile */
.page-actions-menu {
	display: none;
}

/* Remove Main menu (sidebar) */
#vector-main-menu {
	display: none;
}

/* Remove spacing between title and body content */
.vector-body #mw-content-text {
	margin-top: 0;
}

.vector-body #contentSub {
	margin: 0;
}

.vector-body-before-content {
	margin: 0;
}

.mw-body p {
    margin: 0.1em 0 1em 0;
}