Jump to content

MediaWiki:Common.css: Difference between revisions

An idea by Jeff Lawlor
Created on 2024-10-08
mNo edit summary
No more gray backgrounds behind pictures
Line 19: Line 19:
{
{
     display: block; font-weight: normal; font-size: normal;
     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;
}
}

Revision as of 23:42, 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;
}