MediaWiki:Vector-dark.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) No edit summary |
Cdjensen94 (talk | contribs) No edit summary |
||
Line 493: | Line 493: | ||
border-radius: 8px; | border-radius: 8px; | ||
padding: 10px; | padding: 10px; | ||
width: 100%; /* Full-width unless constrained by a parent */ | |||
max-width: 100%; /* No overflow */ | |||
height: auto; /* Maintain aspect ratio based on content */ | |||
overflow: hidden; /* Just in case */ | |||
display: block; /* Ensure proper block flow */ | |||
position: relative; /* Allows positioning if you add captions or overlays */ | |||
color: #FFFFFF; | color: #FFFFFF; | ||
} | } | ||
/* Optional: If the slideshow has images inside */ | |||
.mw-jsslideshow img { | |||
width: 100%; /* Stretch images to fit */ | |||
height: auto; /* Maintain aspect ratio */ | |||
display: block; | |||
object-fit: cover; /* Or 'contain', depending on preference */ | |||
} | |||
/* ===== Table of Contents (TOC) ===== */ | /* ===== Table of Contents (TOC) ===== */ | ||
#toc { | #toc { |