MediaWiki:Vector-dark.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) No edit summary |
Cdjensen94 (talk | contribs) No edit summary |
||
Line 1,216: | Line 1,216: | ||
.pi-image img { | .pi-image img { | ||
width: 100%; /* Makes it fill the container */ | width: 100%; /* Makes it fill the container */ | ||
display: block; | |||
margin: 0 auto; /* Centers the image */ | |||
height: auto; /* Maintain aspect ratio */ | height: auto; /* Maintain aspect ratio */ | ||
margin: 2px; /* Center the image */ | margin: 2px; /* Center the image */ | ||
} | |||
.pi-image-collection { | |||
text-align: center; /* Ensures images are centered */ | |||
} | } | ||