MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
#version-info {
#version-info {
     clear: both;
     position: relative;
     padding: 10px;
    cursor: pointer; /* Указатель мыши при наведении */
     text-align: center;
}
     margin-top: 5px; /* Отступ сверху */
 
#version-info::after {
    content: "Version Beta 5.1 by October 2024. Read more";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
     padding: 5px;
    border-radius: 3px;
    white-space: nowrap;
     opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
     z-index: 1000;
}
 
#version-info:hover::after {
    opacity: 1;
}
}


Navigation menu