MediaWiki:Common.css: различия между версиями
Luciana (обсуждение | вклад) Нет описания правки Метка: отменено |
Luciana (обсуждение | вклад) Нет описания правки Метка: ручная отмена |
||
| Строка 1: | Строка 1: | ||
#reverinDateWidget { | #reverinDateWidget { | ||
font-size: 13px; | font-size: 13px; | ||
font-weight: normal; | font-weight: normal; | ||
color: #333; | color: #333; | ||
background: #f8f9fa; | background: #f8f9fa; | ||
| Строка 8: | Строка 8: | ||
border-top: 1px solid #ccc; | border-top: 1px solid #ccc; | ||
text-align: center; | text-align: center; | ||
line-height: 1. | line-height: 1.2; | ||
white-space: nowrap; /* Без переносов строк */ | |||
flex | display: flex; /* Всё в ряд */ | ||
justify-content: center; | justify-content: center; /* Выравниваем текст по центру */ | ||
align-items: center; | align-items: center; | ||
gap: 5px; /* Добавляем немного пространства между элементами */ | |||
gap: 5px; /* | |||
} | } | ||
#reverinDateWidget span, | #reverinDateWidget span, | ||
#reverinDateWidget b, | |||
#reverinDateWidget a { | #reverinDateWidget a { | ||
display: inline-block; | display: inline-block; /* Убираем возможное разбиение строк */ | ||
white-space: nowrap | white-space: nowrap; /* Запрещаем перенос строк */ | ||
} | } | ||
Версия от 22:26, 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.2;
white-space: nowrap; /* Без переносов строк */
display: flex; /* Всё в ряд */
justify-content: center; /* Выравниваем текст по центру */
align-items: center;
gap: 5px; /* Добавляем немного пространства между элементами */
}
#reverinDateWidget span,
#reverinDateWidget b,
#reverinDateWidget a {
display: inline-block; /* Убираем возможное разбиение строк */
white-space: nowrap; /* Запрещаем перенос строк */
}