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

Материал из Revera Wiki
Нет описания правки
Нет описания правки
Метка: ручная отмена
 
(не показана 51 промежуточная версия этой же участницы)
Строка 1: Строка 1:
#reverinDateWidget {
#reverinDateWidget {
     font-size: 14px;
     font-size: 13px; /* Универсальный размер */
     font-weight: bold;
     font-weight: normal; /* Обычный текст */
     color: #444;
     color: #333;
     background: #f8f9fa;
     background: #f8f9fa;
     padding: 10px;
     padding: 5px 8px;
     border-radius: 5px;
     border-radius: 4px;
     border-top: 1px solid #ccc;
     border-top: 1px solid #ccc;
     text-align: center;
     text-align: center;
     white-space: pre-line;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
     white-space: nowrap;
}
}


.custom-tooltip-box {
#reverinDateWidget .row {
     position: absolute;
     display: flex;
     background: rgba(0, 0, 0, 0.85);
     justify-content: center;
     color: #fff;
     gap: 4px;
    padding: 6px 10px;
     font-weight: normal; /* Обе строки теперь не жирные */
    border-radius: 5px;
     font-size: 12px;
    max-width: 250px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
}


.tooltip:hover .custom-tooltip-box {
#reverinDateWidget a {
     opacity: 1;
     text-decoration: none; /* Убираем подчеркивание */
}
     color: inherit; /* Делаем ссылки того же цвета, что и обычный текст */
 
     font-weight: normal; /* Убираем жирность ссылок */
.year-link {
    font-weight: bold;
     color: #0056b3;
     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; /* Убираем жирность ссылок */
}