MediaWiki:Common.css: Difference between revisions

From The Largs to Largs Grand Tour
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:


/* Responsive hero header images */
/* Responsive hero header images */
.hero-header-image img {
/* Responsive hero header images */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}
.hero-header-image .mw-file-element {
.hero-header-image .mw-file-element {
    max-width: 100% !important;
  display: block;
    width: 100% !important;
  width: 100%;
    height: auto !important;
  height: auto;
}
}

Latest revision as of 04:45, 15 January 2026

/* CSS placed here will be applied to all skins */

/* Responsive hero header images */
/* Responsive hero header images */
.hero-header-image .mw-file-element {
  display: block;
  width: 100%;
  height: auto;
}