MediaWiki:Common.css: Difference between revisions

An idea by Jeff Lawlor
Created on 2024-10-08
No edit summary
No edit summary
Tags: Mobile edit Mobile web edit
Line 32: Line 32:


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


.mw-parser-output > figure[typeof='mw:File/Thumb'] img {
.mw-parser-output figure[typeof='mw:File/Thumb'] img, #content figure[typeof~='mw:File/Thumb'] > figcaption {
background-color: transparent !important;
background-color: transparent !important;
}
}
Line 117: Line 117:
     float: none;
     float: none;
     width: 100%;
     width: 100%;
     margin: 1em 0;
     margin: .6em auto;
   }
   }
}
}