MediaWiki:Common.css: различия между версиями

Материал из Revera Wiki
Нет описания правки
Метка: отменено
Нет описания правки
Метка: отменено
Строка 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: 3px; /* Минимальный отступ между строками */
     gap: 2px; /* Минимальный отступ между строками */
     white-space: nowrap;
     white-space: nowrap;
}
}


#reverinDateWidget .top-row,
#reverinDateWidget .row {
#reverinDateWidget .bottom-row {
     display: flex;
     display: flex;
     justify-content: center;
     justify-content: center;
     gap: 5px;
     gap: 5px; /* Расстояние между элементами внутри одной строки */
    font-weight: normal; /* Обычный текст */
}
}


Строка 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; /* Обычный текст */
}