MediaWiki:Vector-dark.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) No edit summary |
Cdjensen94 (talk | contribs) No edit summary |
||
Line 1,271: | Line 1,271: | ||
border-top: 1px solid #ff851b; | border-top: 1px solid #ff851b; | ||
} | } | ||
.portable-infobox { | |||
width: 360px; /* Change to desired width */ | |||
max-width: 100%; /* Prevent overflow on smaller screens */ | |||
margin: 0 auto; /* Center it horizontally */ | |||
} | |||
/* Scrollbar for Overflow */ | /* Scrollbar for Overflow */ | ||
.portable-infobox ::-webkit-scrollbar { | .portable-infobox ::-webkit-scrollbar { | ||
Line 1,332: | Line 1,336: | ||
border-top: 1px solid #ff851b; | border-top: 1px solid #ff851b; | ||
position: relative; | position: relative; | ||
} | } | ||