More actions
No edit summary |
No edit summary |
||
| Line 45: | Line 45: | ||
flex-direction: column; /* Forces children (logo, then Discord link) to stack vertically */ | flex-direction: column; /* Forces children (logo, then Discord link) to stack vertically */ | ||
align-items: flex-start; /* Aligns items to the left */ | align-items: flex-start; /* Aligns items to the left */ | ||
} | } | ||
Revision as of 12:55, 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 */
}
/* Discord Styling */
#discord-link-below-logo {
margin-top: 5px;
line-height: 0;
}
#discord-link-below-logo img {
vertical-align: middle;
}
.vector-header-start {
display: flex;
flex-direction: column; /* Forces children (logo, then Discord link) to stack vertically */
align-items: flex-start; /* Aligns items to the left */
}