MediaWiki:Test.css: различия между версиями

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
(не показана 21 промежуточная версия этого же участника)
Строка 1: Строка 1:
/*-----------------------------------------------------------------------------------------------------------------------------------*/
.custom-audio-wrapper {
 
    display: flex;
/* Begin стиль для grid
    align-items: center;
Shegare */
     gap: 10px;
 
    background: #111;
@media screen and (min-width: 1120px) {
     padding: 10px 14px;
     .citizen-toc-enabled .citizen-body-container {
     border-radius: 12px;
        grid-template-areas:
    max-width: 480px;
        'void header header'
     color: white;
        'sidebar content toc'
     font-family: monospace;
        'footer footer footer';
     justify-content: space-between;
     }
     border: 2px solid #2a56a1;
     .citizen-toc-enabled .citizen-body-container {
    box-shadow:
        grid-template-columns: 10% 70% 20%;
         0 0 8px rgba(42, 86, 161, 0.6),
        margin-left: 8vw;
        0 0 20px rgba(42, 86, 161, 0.4);
     }
     body {
        overflow-x: hidden;
     }
     #IdJobsTableContainer2 {
        grid-area: sidebar;
         margin-left: -8vw;
    }
}
}


/* End стиль для grid
.custom-audio-play {
Shegare */
     background: #2a56a1;
 
    color: #fff;
/*-----------------------------------------------------------------------------------------------------------------------------------*/
    border: none;
 
    border-radius: 6px;
/* Begin стиль для tabber
    padding: 6px 12px;
Shegare */
    font-size: 16px;
 
    cursor: pointer;
 
     transition: background 0.2s, transform 0.1s;
.unheightTabber .tabber__section {
     height: unset !important;
}
 
/* End стиль для tabber
Shegare */
 
 
/* Begin стиль ног (footer)
Shegare */
 
/* Блоки в одну строку */
.page-info__item {
     flex-basis: 100%;
}
}


/* Убираем отступ для ног (footer) */
.custom-audio-play:hover {
.citizen-footer {
     background: #447fbc;
     margin: 0;
    transform: scale(1.05);
}
}


/* End стиль ног (footer)
.custom-audio-progress {
Shegare */
     flex-grow: 1;
 
     height: 6px;
 
    border-radius: 4px;
/* Begin стиль для JobsTable
     background: #333;
Shegare */
     outline: none;
 
     accent-color: #2a56a1;
/* Стиль для sidebar */
#IdJobsTableContainer2 {
     flex-basis: 20%;
     padding: 0px 38px;
}
#IdJobsTableContainer2 > div {
     background: #ffffff08;
     border-radius: 20px;
     padding: 5px 10px;
}
}


.JobsTable {
.custom-audio-time {
     border: 2px solid black;
     min-width: 45px;
     border-radius: 10px;
     text-align: right;
     margin-bottom: 5px;
     font-size: 12px;
     width: auto;
     color: #d6e4f1;
     height: fit-content;
     padding-left: 10px;
     background: #28303e;
     padding-right: 5px;
}
}


/* Отступы в шапке JobsTable */
.custom-audio-volume-btn {
.JobsTableHeadImg {
     background: transparent;
     margin-left: 15px;
    color: #fff;
     margin-right: 5px;
     font-size: 20px;
}
    border: none;
.JobsTableHeadLink {
    cursor: pointer;
     margin-right: auto;
     padding: 5px;
}
}


/* Видимость на разных экранах */
.custom-audio-volume {
.client-js td.mw-collapsed:not(.mw-made-collapsible):before, .client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsed:not(.mw-made-collapsible):before,
    width: 100px;
.client-js ol.mw-collapsible:not(.mw-made-collapsible):before, .client-js ul.mw-collapsible:not(.mw-made-collapsible):before, .client-js table.mw-collapsible:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsible:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsible:not(.mw-made-collapsible):before {
    margin-left: 10px;
     opacity: 0;
    background-color: #333;
     border-radius: 4px;
}
}
#IdJobsTableContainer1 {
    display: none;
}
@media screen and (max-width: 1440px) {
    #IdJobsTableContainer2 {
        display: none;
    }
    #IdJobsTableContainer1 {
        display: unset;
    }
    .JobsTableHeadImg {
        margin-left: unset;
    }
    .JobsTableHeadLink {
        margin-right: 55px;
    }
    .client-js td.mw-collapsed:not(.mw-made-collapsible):before, .client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsed:not(.mw-made-collapsible):before,
    .client-js ol.mw-collapsible:not(.mw-made-collapsible):before, .client-js ul.mw-collapsible:not(.mw-made-collapsible):before, .client-js table.mw-collapsible:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsible:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsible:not(.mw-made-collapsible):before {
        opacity: 1;
    }
}
/* Скрытие контента на широких экранах */
@media screen and (min-width: 1440px) {
    .JobsTable .mw-collapsible.mw-collapsed {
        display: none;
    }
    .JobsTable div:hover ~ .mw-collapsible.mw-collapsed,
    .JobsTable .mw-collapsible.mw-collapsed:hover {
        display: unset;
    }
}
@media screen and (max-width: 1439px) {
    .JobsTable div:first-child {
        padding-left: 15px;
    }
}
/* Кнопка скрытия элементов */
.JobsTable .mw-collapsible-toggle {
    margin-top: -35px;
}
.JobsTable .mw-collapsible-toggle-default:before,
.JobsTable .mw-collapsible-toggle-default:after {
    content: unset;
}
.JobsTable .mw-collapsible-text {
    background: black;
    border: 2px solid;
    padding: 2px;
    margin-right: 5px;
    font-weight: 700;
}
.JobsTable .mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
    color: #00ffff9e;
    box-shadow: 0 0 10px #00b9b978;
}
.JobsTable .mw-collapsible.mw-made-collapsible .mw-collapsible-text {
    color: #c21111cc;
}
/* Кнопки */
.JobsTableList li a {
    color: white;
    font-size: 16px;
    background: #232323;
    display: block;
    border: 2px solid black;
    margin-bottom: 5px;
    padding: 3px 5px;
    transition: background-color 0.8s;
}
.JobsTableList li a:hover {
    background: #007383;
    transform: scale(1.1);
    text-decoration: unset;
}
/* End стиль для JobsTable
Shegare */

Версия от 20:57, 16 апреля 2025

.custom-audio-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 480px;
    color: white;
    font-family: monospace;
    justify-content: space-between;
    border: 2px solid #2a56a1;
    box-shadow:
        0 0 8px rgba(42, 86, 161, 0.6),
        0 0 20px rgba(42, 86, 161, 0.4);
}

.custom-audio-play {
    background: #2a56a1;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.custom-audio-play:hover {
    background: #447fbc;
    transform: scale(1.05);
}

.custom-audio-progress {
    flex-grow: 1;
    height: 6px;
    border-radius: 4px;
    background: #333;
    outline: none;
    accent-color: #2a56a1;
}

.custom-audio-time {
    min-width: 45px;
    text-align: right;
    font-size: 12px;
    color: #d6e4f1;
    padding-left: 10px;
    padding-right: 5px;
}

.custom-audio-volume-btn {
    background: transparent;
    color: #fff;
    font-size: 20px;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.custom-audio-volume {
    width: 100px;
    margin-left: 10px;
    background-color: #333;
    border-radius: 4px;
}