MediaWiki:Common.css: различия между версиями
Luciana (обсуждение | вклад) Нет описания правки |
Luciana (обсуждение | вклад) Нет описания правки |
||
| Строка 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; | |||
align-items: center; | align-items: center; | ||
gap: | gap: 2px; | ||
white-space: nowrap; | |||
} | } | ||
#reverinDateWidget .row { | |||
display: flex; | |||
justify-content: center; | |||
gap: 5px; /* Расстояние между элементами внутри одной строки */ | |||
} | |||
#reverinDateWidget span, | #reverinDateWidget span, | ||
#reverinDateWidget a { | #reverinDateWidget a { | ||
white-space: nowrap; | display: inline-block; | ||
white-space: nowrap; | |||
font-weight: normal; | |||
} | } | ||
Версия от 22:47, 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;
}