Jump to content

MediaWiki:Vector-dark.css: Difference between revisions

No edit summary
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 */
     display:block;
     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 img {
.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: 320px; /* Change to desired width */
width: 100%; /* Change to desired width */
     max-width: 100%; /* Prevent overflow on smaller screens */
     max-width: 320px; /* Prevent overflow on smaller screens */
     margin: 0 auto; /* Center it horizontally */
     margin: 0 auto; /* Center it horizontally */
}
.pi-media {
    text-align: center; /* Ensures images are centered */
}
}