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

Материал из Revera Wiki
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
#reverinDateWidget {
#reverinDateWidget {
     font-size: 14px;
     font-size: 14px;
Строка 5: Строка 4:
     color: #444;
     color: #444;
     background: #f8f9fa;
     background: #f8f9fa;
     padding: 8px;
     padding: 10px;
     border-radius: 5px;
     border-radius: 5px;
    border-top: 1px solid #ccc;
     text-align: center;
     text-align: center;
    white-space: pre-line;
}
.custom-tooltip-box {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 10px;
    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 {
    opacity: 1;
}
.year-link {
    font-weight: bold;
    color: #0056b3;
    text-decoration: none;
}
.year-link:hover {
    text-decoration: underline;
}
}

Версия от 22:52, 25 февраля 2025

#reverinDateWidget {
    font-size: 14px;
    font-weight: bold;
    color: #444;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    border-top: 1px solid #ccc;
    text-align: center;
    white-space: pre-line;
}

.custom-tooltip-box {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 10px;
    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 {
    opacity: 1;
}

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

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