MediaWiki:Common.css: відмінності між версіями

нема опису редагування
Немає опису редагування
Немає опису редагування
Рядок 871: Рядок 871:
}
}


.toc-sidebar {
.l-box {
     position: fixed;
     position: fixed;
     top: 20px;
     top: 20px;
Рядок 884: Рядок 884:
}
}


.toc-title {
.l-box-item {
    padding: 12px 15px;
     border-left: 3px solid transparent;
    font-weight: 600;
     transition: all 0.15s;
    font-size: 14px;
    color: #fff;
     border-bottom: 1px solid #333;
}
 
.toc-list {
    list-style: none;
     margin: 0;
    padding: 0;
}
}


.toc-item a {
.l-box-item a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
     color: #8ab4f8 !important;
     color: #8ab4f8 !important;
     text-decoration: none !important;
     text-decoration: none !important;
    border-left: 3px solid transparent;
    transition: all 0.15s;
}
}


.toc-item a:hover {
.l-box-item:hover {
     background: #252525;
     background: #252525;
    color: #fff !important;
     border-left-color: #555;
     border-left-color: #555;
}
}


.toc-item a.active {
.l-box-item:hover a {
    background: #2a2a2a;
     color: #fff !important;
     color: #fff !important;
    border-left-color: #8ab4f8;
}
}


.toc-number {
.l-box-item.active {
     color: #666;
     background: #2a2a2a;
     margin-right: 10px;
     border-left-color: #8ab4f8;
    min-width: 18px;
}
}


.toc-text {
.l-box-item.active a {
     flex: 1;
     color: #fff !important;
}
}


@media (max-width: 1400px) {
@media (max-width: 1400px) {
     .toc-sidebar {
     .l-box {
         display: none !important;
         display: none !important;
     }
     }