2206
редагувань
Admin (обговорення | внесок) (login v2.19: .mw-body назад в потік (flex-центрування в inner), щоб не налазив на футер) |
Admin (обговорення | внесок) (login v2.20: .mw-content-container як flex замість display:contents для надійного центрування) |
||
| Рядок 1013: | Рядок 1013: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* .mw-content-container — | /* .mw-content-container — flex-контейнер замість display:contents, | ||
щоб гарантовано центрувати .mw-body вертикально й горизонтально */ | |||
body.mw-special-Userlogin .mw-content-container, | body.mw-special-Userlogin .mw-content-container, | ||
body.mw-special-CreateAccount .mw-content-container { | body.mw-special-CreateAccount .mw-content-container { | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
width: | width: 100% !important; | ||
height: 100% !important; | |||
max-width: none !important; | max-width: none !important; | ||
background: none !important; | background: none !important; | ||
border: none !important; | border: none !important; | ||
display: | display: flex !important; | ||
flex-direction: column !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
flex: 1 1 auto !important; | |||
grid-column: 1 / -1 !important; | |||
} | } | ||