Module:InfoboxBuilder/styles.css: Difference between revisions
Appearance
mNo edit summary |
m Align sprite/tutorial image in building infoboxes |
||
| Line 21: | Line 21: | ||
float: unset; | float: unset; | ||
} | } | ||
} | |||
/* Infobox building */ | |||
.infobox-building .infobox-image { | |||
display: grid; | |||
place-items: center; | |||
min-width: 300px; | |||
min-height: 300px; | |||
} | } | ||
Revision as of 18:11, 25 October 2026
.infobox-root {
float: right;
min-width: 300px;
margin: 0 1em;
background-color: var(--background-color-neutral-subtle);
border: 1px solid var(--border-color-base);
}
.infobox-title {
font-size: 125%;
}
.infobox-title, .infobox-header {
font-weight: bold;
text-align: center;
background-color: var(--background-color-neutral);
}
@media screen and (width < 640px) {
.infobox-root {
float: unset;
}
}
/* Infobox building */
.infobox-building .infobox-image {
display: grid;
place-items: center;
min-width: 300px;
min-height: 300px;
}