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

Материал из Revera Wiki
Нет описания правки
Нет описания правки
Метка: отменено
Строка 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.2;
     line-height: 1.4;
     white-space: nowrap; /* Без переносов строк */
     display: flex;
     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 b,
#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; /* Убираем жирность */
}