MediaWiki:Vector-dark.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) No edit summary |
Cdjensen94 (talk | contribs) No edit summary |
||
Line 1,130: | Line 1,130: | ||
.pi-media-collection .pi-tab-link.current { | .pi-media-collection .pi-tab-link.current { | ||
background: #ff851b; /* Bright Orange title text */ | background: #ff851b; /* Bright Orange title text */ | ||
} | } | ||
/* Infobox Title */ | /* Infobox Title */ | ||
Line 1,176: | Line 1,161: | ||
color: #ff851b; /* Bright Orange labels */ | color: #ff851b; /* Bright Orange labels */ | ||
} | } | ||
/* Infobox Images */ | /* Infobox Images */ | ||
.portable-infobox .pi-image img { | .portable-infobox .pi-image img { | ||
Line 1,202: | Line 1,186: | ||
.pi-image img { | .pi-image img { | ||
width: 100%; /* Makes it fill the container */ | width: 100%; /* Makes it fill the container */ | ||
max-width: | max-width: 300px; /* Set the max width (adjust as needed) */ | ||
height: auto; /* Maintain aspect ratio */ | height: auto; /* Maintain aspect ratio */ | ||
display: block; | display: block; | ||
margin: | margin: 2px; /* Center the image */ | ||
} | } | ||
Line 1,212: | Line 1,197: | ||
text-align: center; | text-align: center; | ||
padding: 5px; | padding: 5px; | ||
display: flex; | |||
justify-content: center; /* Horizontal centering */ | |||
align-items: center; /* Vertical centering (optional, for consistency) */ | |||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { |