MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* EmbedVideo: hide placeholder/fallback token text that can show in some themes */
/* EmbedVideo: hide the overlay's text label (e.g. "<embedvideo-load>") */
.embedvideo .embedvideo-load,
.embedvideo .embedvideo-overlay button,
.embedvideo .embedvideo-service-youtube,
.embedvideo .embedvideo-overlay__button,
.embedvideo .embedvideo-service {
.embedvideo .embedvideo-overlay__label,
.embedvideo .embedvideo-overlay__text {
   font-size: 0 !important;
   font-size: 0 !important;
   line-height: 0 !important;
   line-height: 0 !important;
}
}


/* If the placeholders are rendered as unknown custom tags, hide them too */
/* If the overlay uses pseudo/inline spans, hide all direct text */
embedvideo-load,
.embedvideo .embedvideo-overlay * {
embedvideo-service-youtube,
   text-shadow: none !important;
embedvideo-service {
   display: none !important;
}
}


/* TEST: should be obvious if Common.css is loading */
/* Optional: keep a visible play icon by restoring a sensible size to SVG/icons */
body { outline: 6px solid red !important; }
.embedvideo .embedvideo-overlay svg,
.embedvideo .embedvideo-overlay .oo-ui-iconElement-icon,
.embedvideo .embedvideo-overlay .mw-ui-icon {
  font-size: initial !important;
  line-height: initial !important;
}