Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
Line 107: Line 107:


/* Responsive banner styling */
/* Responsive banner styling */
.responsive-banner-container {
    width: 100%;
    margin-bottom: 1rem;
}
/* Target the actual image element */
.responsive-banner-container img.mw-file-element {
.responsive-banner-container img.mw-file-element {
     max-width: 800px !important;
     max-width: 800px !important;
Line 119: Line 113:
     margin: 0 auto;
     margin: 0 auto;
     display: block;
     display: block;
}
/* Target the span wrappers that MediaWiki adds */
.responsive-banner-container span {
    display: block;
    max-width: 100%;
}
}