More actions
No edit summary |
No edit summary |
||
| Line 28: | Line 28: | ||
.infobox table { | .infobox table { | ||
width: 100%; /* Makes sure the table takes the full width of the infobox */ | width: 100%; /* Makes sure the table takes the full width of the infobox */ | ||
} | } | ||
Revision as of 12:56, 2 April 2025
/* CSS placed here will be applied to all skins */
/* Script Infobox settings */
.infobox {
width: 210px; /* Fixed width for both mobile and desktop */
float: right;
margin: 0 0 1em 1em;
background: #333;
color: #fff;
padding: 1px;
}
/* Center infobox on mobile */
@media (max-width: 767px) {
.infobox {
float: none;
margin: 0 auto 1em auto;
}
}
/* Center the image and table */
.center-content {
text-align: center;
padding-top: 5px; /* You can adjust this padding as needed */
}
/* Ensure the parameters table is also centered */
.infobox table {
width: 100%; /* Makes sure the table takes the full width of the infobox */
}