Module:InfoboxBuilder/styles.css: Difference between revisions
Appearance
m Adjust infobox styles |
mNo edit summary |
||
| Line 1: | Line 1: | ||
.infobox-root { | .infobox-root { | ||
float: right; | float: right; | ||
min-width: | min-width: 300px; | ||
margin: 0 1em; | |||
background-color: var(--background-color-neutral-subtle); | |||
border: 1px solid var(--border-color-base); | |||
} | } | ||
| Line 11: | Line 14: | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
background-color: var(--background-color-neutral); | |||
} | } | ||
Revision as of 18:06, 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;
}
}