MediaWiki:Common.css: различия между версиями
Luciana (обсуждение | вклад) Нет описания правки Метка: отменено |
Luciana (обсуждение | вклад) Нет описания правки Метка: ручная отмена |
||
| Строка 9: | Строка 9: | ||
text-align: center; | text-align: center; | ||
line-height: 1.4; | line-height: 1.4; | ||
display: flex; | |||
flex-direction: column; /* Два ровных ряда */ | |||
justify-content: center; | justify-content: center; | ||
align-items: center; | align-items: center; | ||
Версия от 22:49, 25 февраля 2025
#reverinDateWidget {
font-size: 13px;
font-weight: normal;
color: #333;
background: #f8f9fa;
padding: 5px 8px;
border-radius: 4px;
border-top: 1px solid #ccc;
text-align: center;
line-height: 1.4;
display: flex;
flex-direction: column; /* Два ровных ряда */
justify-content: center;
align-items: center;
gap: 2px;
white-space: nowrap;
}
#reverinDateWidget .row {
display: flex;
justify-content: center;
gap: 5px; /* Расстояние между элементами внутри одной строки */
}
#reverinDateWidget span,
#reverinDateWidget a {
display: inline-block;
white-space: nowrap;
font-weight: normal;
}