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; | ||
padding: 5px 8px; | padding: 5px 8px; | ||
Строка 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; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: center; | justify-content: center; | ||
align-items: center; | align-items: center; | ||
gap: 2px; | gap: 2px; | ||
white-space: nowrap; | |||
} | |||
#reverinDateWidget .row { | |||
display: flex; | |||
justify-content: center; | |||
gap: 4px; | |||
} | |||
#reverinDateWidget a { | |||
text-decoration: none; /* Убираем подчеркивание */ | |||
color: inherit; /* Делаем ссылки того же цвета, что и обычный текст */ | |||
font-weight: normal; /* Делаем текст ссылок таким же, как у остального текста */ | |||
} | } |
Версия от 01:19, 26 февраля 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; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; white-space: nowrap; } #reverinDateWidget .row { display: flex; justify-content: center; gap: 4px; } #reverinDateWidget a { text-decoration: none; /* Убираем подчеркивание */ color: inherit; /* Делаем ссылки того же цвета, что и обычный текст */ font-weight: normal; /* Делаем текст ссылок таким же, как у остального текста */ }