MediaWiki:Vector-dark.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) No edit summary |
Cdjensen94 (talk | contribs) No edit summary |
||
Line 489: | Line 489: | ||
} | } | ||
/* Ensure mw-jsslideshow fits inside vector-body */ | /* Ensure mw-jsslideshow fits inside vector-body */ | ||
.vector-body .mw-jsslideshow { | |||
padding: 0; | |||
margin: 0 auto; | |||
overflow: hidden; | |||
background-color: #002B5C; | |||
border: 2px solid #FF851B; | |||
border-radius: 8px; | |||
} | |||
.vector-body .mw-jsslideshow .slideshow { | |||
display: flex; | |||
flex-wrap: nowrap; | |||
justify-content: center; | |||
align-items: center; | |||
} | |||
.vector-body .mw-jsslideshow .slideshow div { | |||
padding: 0; | |||
margin: 0; | |||
box-sizing: border-box; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | |||
.vector-body .mw-jsslideshow .slideshow div img { | |||
display: block; | |||
max-width: 100%; | |||
height: auto; | |||
object-fit: contain; | |||
margin: 0; /* Kill any rogue margins */ | |||
} | |||
/* Optional mobile-friendly tweaks */ | /* Optional mobile-friendly tweaks */ |