96flo (обсуждение | вклад) Нет описания правки |
96flo (обсуждение | вклад) Нет описания правки |
||
| Строка 7: | Строка 7: | ||
.page-Заглавная_страница .citizen-body-container { | .page-Заглавная_страница .citizen-body-container { | ||
margin: 0!important; | margin: 0!important; | ||
} | } | ||
| Строка 18: | Строка 13: | ||
min-width: 240px; | min-width: 240px; | ||
max-width: 100%; | max-width: 100%; | ||
bottom: 100%; /* | bottom: 100%; /* Появляется над элементом */ | ||
left: 50%; | left: 50%; | ||
transform: translateX(-50%); | transform: translateX(-50%); | ||
| Строка 30: | Строка 25: | ||
background: var(--ooui--bg-color); | background: var(--ooui--bg-color); | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); | ||
} | } | ||
Версия от 14:29, 31 мая 2025
/* Hide title and edit tools on main page */
.page-Заглавная_страница .mw-body-header,
.page-Заглавная_страница .mw-body-footer {
display: none!important;
}
.page-Заглавная_страница .citizen-body-container {
margin: 0!important;
}
.tooltiptext {
position: absolute;
min-width: 240px;
max-width: 100%;
bottom: 100%; /* Появляется над элементом */
left: 50%;
transform: translateX(-50%);
z-index: 99;
padding: 22px;
pointer-events: none;
visibility: hidden;
transition: all 0.05s;
border: 1px solid var(--color-contrast);
border-radius: 1.4rem;
background: var(--ooui--bg-color);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}