.flat-card-with-header--сollapsible {
position: relative;
--bg-color--hsl: hsl(var(--theme-bg--hsl), 50%, 0.05);
background: var(--bg-color--hsl);
box-shadow: var(--box-shadow);
border-radius: var(--border-radius-high);
display: grid;
}
.flat-card-with-header--сollapsible__header {
display: flex;
align-items: center;
font-family: "noto sans";
text-align: left;
padding: 3px;
border: 1px solid var(--color-lighter-alpha-x);
border-bottom: 3px solid var(--color-darkened-border);
min-height: 36px;
border-radius: var(--border-radius-high);
overflow-wrap: anywhere;
background: var(--bg-color); /* --bg-color из стилей шаблона; по умолчанию: var(--theme-bg-color-200) */
grid-row: 1;
grid-column: 1 / 3;
}
.flat-card-with-header--сollapsible__header-img {
background: rgba(0, 0, 0, var(--alpha-xs));
padding: 2px;
border-radius: var(--border-radius-low);
}
.flat-card-with-header--сollapsible__content {
grid-column: 1 / 3;
grid-row: 2;
}
.flat-card-with-header--сollapsible > .mw-collapsible-toggle {
position: relative;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 7px;
top: 0;
right: 0;
grid-row: 1;
grid-column: 1 / 3;
}
.flat-card-with-header--сollapsible__header a {
z-index: 2;
position: relative;
}
/* Взято с SS14 Corvax Wiki (https://station14.ru/wiki/Заглавная_страница) */