MediaWiki:Common.css: различия между версиями
Luciana (обсуждение | вклад) Нет описания правки Метка: отменено |
Luciana (обсуждение | вклад) Нет описания правки Метка: отменено |
||
Строка 10: | Строка 10: | ||
line-height: 1.4; | line-height: 1.4; | ||
display: flex; | display: flex; | ||
flex-direction: column; /* Два ряда */ | flex-direction: column; /* Два ровных ряда */ | ||
justify-content: center; | justify-content: center; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 2px; /* Минимальный отступ между строками */ | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
#reverinDateWidget . | #reverinDateWidget .row { | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
gap: 5px | gap: 5px; /* Расстояние между элементами внутри одной строки */ | ||
} | } | ||
Строка 29: | Строка 27: | ||
display: inline-block; | display: inline-block; | ||
white-space: nowrap; | white-space: nowrap; | ||
font-weight: normal; /* | font-weight: normal; /* Обычный текст */ | ||
} | } |
Версия от 23:23, 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; /* Обычный текст */ }