MediaWiki:Vector-dark.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) No edit summary |
Cdjensen94 (talk | contribs) No edit summary |
||
Line 494: | Line 494: | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: 10px; | padding: 10px; | ||
aspect-ratio: 336 / 205; | |||
color: #FFFFFF; | color: #FFFFFF; | ||
width: 100%; | width: 100%; | ||
Line 506: | Line 507: | ||
width: 100%; | width: 100%; | ||
display: flex; | display: flex; | ||
aspect-ratio: 336 / 205; | |||
flex-wrap: nowrap; | flex-wrap: nowrap; | ||
overflow: hidden; /* No side scrolling */ | overflow: hidden; /* No side scrolling */ | ||
Line 516: | Line 518: | ||
justify-content: center; | justify-content: center; | ||
align-items: center; | align-items: center; | ||
aspect-ratio: 336 / 205; | |||
overflow: hidden; /* In case there's weird padding */ | overflow: hidden; /* In case there's weird padding */ | ||
} | } | ||
Line 532: | Line 535: | ||
.mw-content-ltr .mw-jsslideshow slideshow div img { | .mw-content-ltr .mw-jsslideshow slideshow div img { | ||
max-height: 70vh; /* Shorter slides on smaller screens */ | max-height: 70vh; /* Shorter slides on smaller screens */ | ||
aspect-ratio: 336 / 205; | |||
} | } | ||
} | } |