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;
     padding: 5px 8px; /* Уменьшаем отступы */
     padding: 5px 8px;
     border-radius: 4px;
     border-radius: 4px;
     border-top: 1px solid #ccc;
     border-top: 1px solid #ccc;
     text-align: center;
     text-align: center;
     line-height: 1.2; /* Уменьшаем высоту строк */
     line-height: 1.2;
     white-space: nowrap; /* Запрещаем перенос строк */
     white-space: nowrap; /* Запрещаем перенос строк */
    display: flex; /* Делаем элементы в ряд */
    flex-direction: column; /* Элементы идут по вертикали */
    align-items: center; /* Выравниваем текст по центру */
}
#reverinDateWidget span {
    display: inline-block; /* Делаем все части текста "в одной строке" */
    white-space: nowrap; /* Принудительно не переносить строки */
}
}


#reverinDateWidget b {
#reverinDateWidget b {
     font-weight: bold; /* Оставляем жирный только для ключевых слов */
     font-weight: bold;
     font-size: 13px;
     font-size: 13px;
}
}

Версия от 23:11, 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.2;
    white-space: nowrap; /* Запрещаем перенос строк */
    display: flex; /* Делаем элементы в ряд */
    flex-direction: column; /* Элементы идут по вертикали */
    align-items: center; /* Выравниваем текст по центру */
}

#reverinDateWidget span {
    display: inline-block; /* Делаем все части текста "в одной строке" */
    white-space: nowrap; /* Принудительно не переносить строки */
}

#reverinDateWidget b {
    font-weight: bold;
    font-size: 13px;
}

.year-link {
    font-weight: bold;
    font-size: 13px;
    color: #0056b3;
    text-decoration: none;
}

.year-link:hover {
    text-decoration: underline;
}