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

Материал из Revera Wiki
Нет описания правки
Нет описания правки
Метка: ручная отмена
 
(не показано 30 промежуточных версий этой же участницы)
Строка 1: Строка 1:
#reverinDateWidget {
#reverinDateWidget {
     font-size: 13px;
     font-size: 13px; /* Универсальный размер */
     font-weight: normal;
     font-weight: normal; /* Обычный текст */
     color: #333;
     color: #333;
     background: #f8f9fa;
     background: #f8f9fa;
Строка 9: Строка 9:
     text-align: center;
     text-align: center;
     line-height: 1.2;
     line-height: 1.2;
     display: flex; /* Всё в ряд */
     display: flex;
     justify-content: center; /* Выравниваем текст по центру */
    flex-direction: column;
     justify-content: center;
     align-items: center;
     align-items: center;
     gap: 5px; /* Добавляем немного пространства между элементами */
     gap: 2px;
    white-space: nowrap;
}
}
#reverinDateWidget span,
 
#reverinDateWidget b,
#reverinDateWidget .row {
    display: flex;
    justify-content: center;
    gap: 4px;
    font-weight: normal; /* Обе строки теперь не жирные */
}
 
#reverinDateWidget a {
#reverinDateWidget a {
 
    text-decoration: none; /* Убираем подчеркивание */
     white-space: nowrap; /* Запрещаем перенос строк */
    color: inherit; /* Делаем ссылки того же цвета, что и обычный текст */
     font-weight: normal; /* Убираем жирность ссылок */
}
}

Текущая версия от 01:45, 27 февраля 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;
    font-weight: normal; /* Обе строки теперь не жирные */
}

#reverinDateWidget a {
    text-decoration: none; /* Убираем подчеркивание */
    color: inherit; /* Делаем ссылки того же цвета, что и обычный текст */
    font-weight: normal; /* Убираем жирность ссылок */
}