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:
/* Стили для выпадающего списка */
.popup-overlay {
.dropdown-content {
     position: fixed;
     list-style-type: none;
     top: 0;
     padding: 0;
     left: 0;
     margin: 0;
     width: 100%;
     border: 1px solid #ccc;
    height: 100%;
     display: block; /* Задаем display block для элементов списка */
    background: rgba(0, 0, 0, 0.7);
     display: none;
    justify-content: center;
    align-items: center;
}
}


.dropdown-content li {
.popup-content {
     padding: 8px;
    background: #fff;
     padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 80%;
}
 
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
     cursor: pointer;
     cursor: pointer;
    font-size: 20px;
}
}


.dropdown-content li:hover {
    background-color: #f0f0f0;
}




Navigation menu