Module:InfoboxBuilder/styles.css: Difference between revisions
Appearance
mNo edit summary |
m Fix width and slightly improve rows |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
.infobox-root { | .infobox-root { | ||
float: right; | float: right; | ||
width: 300px; | |||
margin: 0 1em; | margin: 0 0 1em 1em; | ||
background-color: var(--background-color-neutral-subtle); | background-color: var(--background-color-neutral-subtle); | ||
border: 1px solid var(--border-color-base); | border: 1px solid var(--border-color-base); | ||
| Line 15: | Line 15: | ||
text-align: center; | text-align: center; | ||
background-color: var(--background-color-neutral); | background-color: var(--background-color-neutral); | ||
} | |||
.infobox-group { | |||
width: 100%; | |||
} | |||
.infobox-row-label { | |||
text-align: left; | |||
} | } | ||
| Line 21: | Line 29: | ||
float: unset; | float: unset; | ||
} | } | ||
} | |||
/* Infobox building */ | |||
.infobox-building .infobox-image { | |||
display: grid; | |||
place-items: center; | |||
min-width: 300px; | |||
min-height: 300px; | |||
} | } | ||
Latest revision as of 19:07, 25 October 2026
.infobox-root {
float: right;
width: 300px;
margin: 0 0 1em 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);
}
.infobox-group {
width: 100%;
}
.infobox-row-label {
text-align: left;
}
@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;
}