MediaWiki:Vector-dark.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) No edit summary |
Cdjensen94 (talk | contribs) No edit summary |
||
Line 1,187: | Line 1,187: | ||
/* Infobox Labels */ | /* Infobox Labels */ | ||
.portable-infobox .pi-data-label { | .portable-infobox .pi-data .pi-data-label { | ||
color: #ff851b; /* Bright Orange labels */ | color: #ff851b; /* Bright Orange labels */ | ||
width: 120px; | |||
} | } | ||
.portable-infobox .pi-data-value { | .portable-infobox .pi-data-value { | ||
Line 1,195: | Line 1,195: | ||
} | } | ||
/* Infobox Images */ | /* Infobox Images */ | ||
.portable-infobox .pi-image | .portable-infobox .pi-image { | ||
border: 2px solid #ff851b; /* Bright Orange border */ | border: 2px solid #ff851b; /* Bright Orange border */ | ||
border-radius: 4px; | border-radius: 4px; | ||
Line 1,218: | Line 1,218: | ||
} | } | ||
.portable-infobox { | .portable-infobox { | ||
width: | width: 100%; /* Change to desired width */ | ||
max-width: | max-width: 320px; /* Prevent overflow on smaller screens */ | ||
margin: 0 auto; /* Center it horizontally */ | margin: 0 auto; /* Center it horizontally */ | ||
} | } | ||