MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 2: Line 2:
     width: 250px;
     width: 250px;
     height: 250px;
     height: 250px;
     background-color: #D02019; /* Можно изменить цвет фона */
     position: relative;
     border-radius: 50%;
     border-radius: 50%;
    overflow: hidden;
     list-style-type: none;
     list-style-type: none;
    display: flex;
     margin: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
     margin: 10px; /* Можно изменить отступ */
}
}
li.circle::before,
li.circle::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    box-sizing: border-box;
}
li.circle::before {
    background-color: #FF6347; /* Первый цвет */
    top: 0;
    left: 0;
    border-top-left-radius: 50%;
}
li.circle::after {
    background-color: #4682B4; /* Второй цвет */
    top: 0;
    right: 0;
    border-top-right-radius: 50%;
}
li.circle div.top-right {
    position: absolute;
    background-color: #3CB371; /* Третий цвет */
    width: 50%;
    height: 50%;
    bottom: 0;
    right: 0;
    border-bottom-right-radius: 50%;
}
li.circle div.bottom-left {
    position: absolute;
    background-color: #FFD700; /* Четвертый цвет */
    width: 50%;
    height: 50%;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 50%;
}




Navigation menu