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

Материал из Revera Wiki
Нет описания правки
Метки: ручная отмена отменено
Нет описания правки
Метка: ручная отмена
 
(не показано 40 промежуточных версий этой же участницы)
Строка 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; /* Запрещаем перенос строк */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
     white-space: nowrap;
}
}


#reverinDateWidget b {
#reverinDateWidget .row {
     font-weight: bold; /* Оставляем жирный только для ключевых слов */
    display: flex;
    font-size: 13px;
    justify-content: center;
    gap: 4px;
     font-weight: normal; /* Обе строки теперь не жирные */
}
}


.year-link {
#reverinDateWidget a {
     font-weight: bold;
     text-decoration: none; /* Убираем подчеркивание */
    font-size: 13px;
     color: inherit; /* Делаем ссылки того же цвета, что и обычный текст */
     color: #0056b3;
     font-weight: normal; /* Убираем жирность ссылок */
     text-decoration: none;
}
 
.year-link:hover {
    text-decoration: underline;
}
}

Текущая версия от 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; /* Убираем жирность ссылок */
}