MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,527:
}
/* ======================================================= */
.responsive-logo img {▼
/* FULL-SCREEN LOGO (Breaks out of #content container) */
max-width: 100% !important; ▼
/* ======================================================= */
height: auto !important; ▼
.fullscreen-logo {
max-height: 30vh !important; ▼
/* Break out of the 900px max-width container */
object-fit: contain; ▼
width: 100vw !important;
position: relative !important;
left: 50% !important;
right: 50% !important;
margin-left: -50vw !important;
margin-right: -50vw !important;
/* Remove all internal spacing */
padding: 0 !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
/* Prevent horizontal scrollbar */
overflow-x: hidden !important;
}
/* Make the image fill the container */
display: block !important;
width: 100% !important;
margin: 0 auto !important;
}
/* Remove the <figure> wrapper padding MediaWiki adds */
.fullscreen-logo figure,
.fullscreen-logo .mw-default-size,
.fullscreen-logo .mw-halign-center {
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
| |||