MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Tag: Reverted
Line 1,059: Line 1,059:




      .container {
.container {
            position: relative;
    display: flex;
            display: flex;
    align-items: center;
            align-items: center;
    justify-content: center;
            width: 150px; /* Ширина контейнера */
}
            height: 50px;
 
            left: 697px;
.stripe {
            top: -37px;
    width: 10px;
        }
    height: 60px;
        .stripe {
    background-color: black;
            width: 5px;
}
            height: 50%;
 
            background-color: #D02019;
.left-stripe {
        }
    margin-right: 10px;
        .left-stripe {
}
            margin-right: 50px; /* Расстояние между полосками и линией */
 
        }
.right-stripe {
        .right-stripe {
    margin-left: 10px;
            transform: rotate(20deg); /* Наклоняем на 20 градусов */
}
            margin-left: -35px; /* Подвигаем полоску на 5px влево */
 
        }
.horizontal-line {
        .horizontal-line {
    width: 100px;
            position: absolute;
    height: 5px;
            width: 10px; /* Ширина линии */
    background-color: black;
            height: 5px; /* Толщина линии */
}
            background-color: #D02019;
            top: 50%; /* Центрируем вертикально по середине контейнера */
            left: calc(50% - 30px - 38px); /* Обновляем расчет для выравнивания линии */
            transform: translateY(-50%); /* Центрируем вертикально */
        }


.mail-icon { font-size: 48px; color: #000000; font-size: 96px; }
.mail-icon { font-size: 48px; color: #000000; font-size: 96px; }

Navigation menu