MediaWiki:Vector-2022.css: Difference between revisions
Appearance
Zephyrsnoww (talk | contribs) No edit summary |
Zephyrsnoww (talk | contribs) No edit summary Tag: Manual revert |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
#mw-content-text .portable-infobox { | |||
box-sizing: border-box; | |||
float: right; | |||
clear: right; | |||
width: 22em; | |||
max-width: 100%; | |||
margin: 0.5em 0 1em 1em; | |||
padding: 0.2em; | |||
border: 1px solid var(--border-color-base, #a2a9b1); | |||
background: var(--background-color-neutral-subtle, #f8f9fa); | |||
color: var(--color-base, #202122); | |||
font-size: 88%; | |||
line-height: 1.5; | |||
} | |||
#mw-content-text .portable-infobox .pi-title { | |||
margin: 0; | |||
padding: 0.2em; | |||
background: transparent; | |||
color: var(--color-emphasized, var(--color-base, #202122)); | |||
font-size: 1.25em; | |||
font-weight: bold; | |||
line-height: 1.3; | |||
text-align: center; | |||
} | |||
.portable-infobox { | #mw-content-text .portable-infobox .pi-header { | ||
padding: 0.2em; | |||
background: var(--background-color-neutral, #eaecf0); | |||
color: var(--color-base, #202122); | |||
-- | font-weight: bold; | ||
- | text-align: center; | ||
} | |||
#mw-content-text .portable-infobox .pi-data { | |||
display: grid; | |||
grid-template-columns: minmax(7em, 1fr) minmax(0, 2fr); | |||
gap: 0.2em 0.5em; | |||
padding: 0.2em; | |||
border: 0; | |||
background: transparent; | |||
padding: 0. | |||
border | |||
background | |||
} | } | ||
#mw-content-text .portable-infobox .pi-data-label { | |||
.portable-infobox .pi- | color: var(--color-base, #202122); | ||
font-weight: bold; | |||
font-weight: bold | |||
} | } | ||
#mw-content-text .portable-infobox .pi-data-value { | |||
.portable-infobox .pi- | min-width: 0; | ||
} | } | ||
#mw-content-text .portable-infobox .pi-image { | |||
padding: 0.2em; | |||
.portable-infobox .pi-image { | text-align: center; | ||
text-align: center | |||
} | } | ||
.portable-infobox .pi-image | |||
#mw-content-text .portable-infobox .pi-image img { | |||
max-width: 100%; | |||
color: | height: auto; | ||
} | |||
text-align: | |||
#mw-content-text .portable-infobox .pi-caption { | |||
padding: 0.2em; | |||
color: var(--color-subtle, var(--color-base, #202122)); | |||
font-size: 90%; | |||
line-height: 1.4; | |||
text-align: center; | |||
} | } | ||
#mw-content-text .portable-infobox .pi-secondary-background { | |||
.portable-infobox .pi- | background: transparent; | ||
background: transparent | |||
} | } | ||
#mw-content-text .portable-infobox .pi-border-color { | |||
.portable-infobox .pi- | border-color: var(--border-color-base, #a2a9b1); | ||
} | } | ||
@media screen and (max-width: 720px) { | |||
.portable-infobox | #mw-content-text .portable-infobox { | ||
float: none; | |||
clear: both; | |||
width: 100%; | |||
margin: 1em 0; | |||
} | |||
} | } | ||
Latest revision as of 11:13, 23 October 2026
#mw-content-text .portable-infobox {
box-sizing: border-box;
float: right;
clear: right;
width: 22em;
max-width: 100%;
margin: 0.5em 0 1em 1em;
padding: 0.2em;
border: 1px solid var(--border-color-base, #a2a9b1);
background: var(--background-color-neutral-subtle, #f8f9fa);
color: var(--color-base, #202122);
font-size: 88%;
line-height: 1.5;
}
#mw-content-text .portable-infobox .pi-title {
margin: 0;
padding: 0.2em;
background: transparent;
color: var(--color-emphasized, var(--color-base, #202122));
font-size: 1.25em;
font-weight: bold;
line-height: 1.3;
text-align: center;
}
#mw-content-text .portable-infobox .pi-header {
padding: 0.2em;
background: var(--background-color-neutral, #eaecf0);
color: var(--color-base, #202122);
font-weight: bold;
text-align: center;
}
#mw-content-text .portable-infobox .pi-data {
display: grid;
grid-template-columns: minmax(7em, 1fr) minmax(0, 2fr);
gap: 0.2em 0.5em;
padding: 0.2em;
border: 0;
background: transparent;
}
#mw-content-text .portable-infobox .pi-data-label {
color: var(--color-base, #202122);
font-weight: bold;
}
#mw-content-text .portable-infobox .pi-data-value {
min-width: 0;
}
#mw-content-text .portable-infobox .pi-image {
padding: 0.2em;
text-align: center;
}
#mw-content-text .portable-infobox .pi-image img {
max-width: 100%;
height: auto;
}
#mw-content-text .portable-infobox .pi-caption {
padding: 0.2em;
color: var(--color-subtle, var(--color-base, #202122));
font-size: 90%;
line-height: 1.4;
text-align: center;
}
#mw-content-text .portable-infobox .pi-secondary-background {
background: transparent;
}
#mw-content-text .portable-infobox .pi-border-color {
border-color: var(--border-color-base, #a2a9b1);
}
@media screen and (max-width: 720px) {
#mw-content-text .portable-infobox {
float: none;
clear: both;
width: 100%;
margin: 1em 0;
}
}