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.4; | ||
display: flex; | |||
flex-direction: column; /* Два ряда */ | |||
justify-content: center; | justify-content: center; | ||
align-items: center; | align-items: center; | ||
gap: 5px; /* | gap: 3px; /* Минимальный отступ между строками */ | ||
white-space: nowrap; | |||
} | |||
#reverinDateWidget .top-row, | |||
#reverinDateWidget .bottom-row { | |||
display: flex; | |||
justify-content: center; | |||
gap: 5px; | |||
font-weight: normal; /* Обычный текст */ | |||
} | } | ||
#reverinDateWidget span, | #reverinDateWidget span, | ||
#reverinDateWidget a { | #reverinDateWidget a { | ||
display: inline-block; | display: inline-block; | ||
white-space: nowrap; /* | white-space: nowrap; | ||
font-weight: normal; /* Убираем жирность */ | |||
} | } |
Версия от 23:22, 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: 3px; /* Минимальный отступ между строками */ white-space: nowrap; } #reverinDateWidget .top-row, #reverinDateWidget .bottom-row { display: flex; justify-content: center; gap: 5px; font-weight: normal; /* Обычный текст */ } #reverinDateWidget span, #reverinDateWidget a { display: inline-block; white-space: nowrap; font-weight: normal; /* Убираем жирность */ }