MediaWiki:Vector-dark.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) No edit summary |
Cdjensen94 (talk | contribs) No edit summary |
||
Line 1,195: | Line 1,195: | ||
} | } | ||
/* Infobox Images */ | /* Infobox Images */ | ||
.portable-infobox .pi-image { | .portable-infobox .pi-image img { | ||
border: 2px solid #ff851b; /* Bright Orange border */ | border: 2px solid #ff851b; /* Bright Orange border */ | ||
border-radius: 4px; | border-radius: 4px; | ||
background-color: #001933; | background-color: #001933; | ||
width: 100%; /* Makes it fill the container */ | margin: 2px; /* Center the image */ | ||
} | |||
.pi-image { | |||
width: 100%; /* Makes it fill the container */ | |||
display: block; | display: block; | ||
margin: auto; /* Centers the image */ | margin: auto; /* Centers the image */ | ||
height: auto; /* Maintain aspect ratio */ | height: auto; /* Maintain aspect ratio */ | ||
} | } | ||
/* Hover Effects */ | /* Hover Effects */ | ||
.portable-infobox .pi-data:hover { | .portable-infobox .pi-data:hover { |