Jump to content

MediaWiki:Common.css: Difference between revisions

An idea by Jeff Lawlor
Created on 2024-10-08
No more gray backgrounds behind pictures
No edit summary
Line 21: Line 21:
}
}


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

Revision as of 23:45, 30 December 2024

/* 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;
}

.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;
}