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:
.image-zoom {
.list-item {
     position: relative;
    background-image: url(/images/3/37/Is-ø-lat-ed2.png);
     display: inline-block;
    background-size: cover;
     width: 300px; /* Измените на нужную ширину */
     background-position: center;
    list-style-type: none;
    width: 300px;
    height: 300px;
     display: flex;
    align-items: center;
    justify-content: center;
     text-align: center;
}
}


.image-zoom img {
.list-item span {
     width: 100%;
     color: black;
    height: auto;
    transition: transform 0.3s ease-in-out;
}
}


.zoom-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1;
}
.zoom-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}




Navigation menu