Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 196 промежуточных версий этого же участника)
Строка 1: Строка 1:
/*-----------------------------------------------------------------------------------------------------------------------------------*/
@media (max-width: 1280px) {
 
    .chem-heading {
/* Begin стиль для grid
        display: none;
Shegare */
    }
 
}
@media screen and (min-width: 1120px) {
@media screen and (min-width: 1120px) {
     .citizen-toc-enabled .citizen-body-container {
     body.page-Тест .citizen-body-container {
         grid-template-areas:
         grid-template-areas: 'void header header' 'sidebar content toc' 'footer footer footer';
        'void header header'
        'sidebar content toc'
        'footer footer footer';
    }
    .citizen-toc-enabled .citizen-body-container {
         grid-template-columns: 10% 70% 20%;
         grid-template-columns: 10% 70% 20%;
         margin-left: 8vw;
         margin-left: 8vw;
    }
         max-width: none;
    body {
         overflow-x: hidden;
    }
    #IdJobsTableContainer2 {
        grid-area: sidebar;
        margin-left: -8vw;
     }
     }
}
}
 
.chem-cards-container {
/* End стиль для grid
    display: grid;
Shegare */
    grid-template-columns: repeat(3, 1fr);
 
    gap: 20px;
/*-----------------------------------------------------------------------------------------------------------------------------------*/
    margin: 20px 0;
 
    width: 100%;
/* Begin стиль для tabber
     box-sizing: border-box;
Shegare */
 
 
.unheightTabber .tabber__section {
     height: unset !important;
}
}
 
.chem-card {
/* End стиль для tabber
    background-color: #121212;
Shegare */
    border: 3px solid var(--card-border, #444);
 
    border-radius: 12px;
 
    padding: 0;
/* Begin стиль ног (footer)
    color: #e0e0e0;
Shegare */
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
 
     overflow: hidden;
/* Блоки в одну строку */
.page-info__item {
     flex-basis: 100%;
}
}
 
.chem-name-header {
/* Убираем отступ для ног (footer) */
    background-color: var(--card-accent);
.citizen-footer {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    padding: 14px 20px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
     margin: 0;
     margin: 0;
}
}
 
.chem-heading {
/* End стиль ног (footer)
    display: flex;
Shegare */
    align-items: center;
 
    justify-content: space-between;
 
    padding: 10px 16px;
/* Begin стиль для JobsTable
    background: rgba(255,255,255,0.06);
Shegare */
    border-top: 1px solid rgba(255,255,255,0.1);
 
    cursor: pointer;
/* Стиль для sidebar */
}
#IdJobsTableContainer2 {
.chem-heading-content {
     flex-basis: 20%;
     display: flex;
     padding: 0px 38px;
    width: 100%;
    justify-content: space-between;
     align-items: center;
}
}
#IdJobsTableContainer2 > div {
.heading-text {
     background: #ffffff08;
     font-size: 15px;
     border-radius: 20px;
     font-weight: 600;
     padding: 5px 10px;
     color: var(--card-accent, #8cf);
}
}
 
.collapse-btn {
.JobsTable {
     border: 2px dotted #ffd700;
     border: 2px solid black;
    padding: 2px 12px;
     border-radius: 10px;
     border-radius: 9999px;
     margin-bottom: 5px;
     font-size: 13px;
     width: auto;
     color: #ffd700;
     height: fit-content;
     background: rgba(0,0,0,0.3);
     background: #28303e;
}
.collapsible {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    max-height: 0;
    padding: 0;
}
.collapsible.expanded {
    max-height: 2000px;
    padding: 12px 16px 16px;
}
.chem-recipe-block {
    text-align: center;
}
.chem-recipe-steps {
    display: flex;
    flex-direction: column;
     gap: 32px;
}
}
 
.recipe-variant-header {
/* Отступы в шапке JobsTable */
     font-size: 15px;
.JobsTableHeadImg {
    font-weight: 700;
     margin-left: 15px;
    color: #ffd700;
     margin-right: 5px;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,215,0,0.3);
     margin-bottom: 12px;
}
}
.JobsTableHeadLink {
.chem-recipe {
     margin-right: auto;
    width: 100%;
    max-width: 800px;
     margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
}
}
 
.recipe-inputs {
/* Видимость на разных экранах */
    flex: 1;
.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,
    min-width: 240px;
.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 {
    display: flex;
     opacity: 0;
    flex-direction: column;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
     padding: 14px;
}
}
#IdJobsTableContainer1 {
.recipe-outputs {
     display: none;
    flex: 1;
    min-width: 240px;
     display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px;
}
}
@media screen and (max-width: 1440px) {
.recipe-item {
     #IdJobsTableContainer2 {
     display: flex;
        display: none;
     align-items: center;
     }
     gap: 12px;
    #IdJobsTableContainer1 {
     background: rgba(255,255,255,0.08);
        display: unset;
     border-radius: 6px;
    }
    padding: 8px 14px;
    .JobsTableHeadImg {
    border-left: 4px solid var(--card-accent, #8cf);
        margin-left: unset;
    white-space: nowrap;
     }
    .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;
    }
}
}
 
.chem-beaker {
/* Скрытие контента на широких экранах */
     width: 38px;
@media screen and (min-width: 1440px) {
     height: 38px;
     .JobsTable .mw-collapsible.mw-collapsed {
     flex-shrink: 0;
        display: none;
     }
    .JobsTable div:hover ~ .mw-collapsible.mw-collapsed,
     .JobsTable .mw-collapsible.mw-collapsed:hover {
        display: unset;
    }
}
}
@media screen and (max-width: 1439px) {
.recipe-action {
     .JobsTable div:first-child {
    flex: 0 0 auto;
        padding-left: 15px;
    display: flex;
     }
    flex-direction: column;
     align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 130px;
     align-self: center;
}
}
 
.recipe-action-content {
/* Кнопка скрытия элементов */
     display: flex;
.JobsTable .mw-collapsible-toggle {
    flex-direction: column;
     margin-top: -35px;
    align-items: center;
    gap: 8px;
    text-align: center;
}
}
.JobsTable .mw-collapsible-toggle-default:before,
.action-sprite .chem-beaker {
.JobsTable .mw-collapsible-toggle-default:after {
    width: 46px;
     content: unset;
     height: 46px;
}
}
.JobsTable .mw-collapsible-text {
.action-text {
    background: black;
    border: 2px solid;
    padding: 2px;
    margin-right: 5px;
     font-weight: 700;
     font-weight: 700;
    color: #ffd700;
    font-style: italic;
    font-size: 16px;
    line-height: 1.3;
}
}
.JobsTable .mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
.chem-effects .chem-effect-line {
     color: #00ffff9e;
    margin-bottom: 10px;
     box-shadow: 0 0 10px #00b9b978;
    font-size: 14px;
     line-height: 1.45;
     padding-left: 4px;
}
}
.JobsTable .mw-collapsible.mw-made-collapsible .mw-collapsible-text {
.chem-desc {
     color: #c21111cc;
    margin: 12px 16px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    border-left: 4px solid var(--card-accent, #8cf);
    font-size: 14px;
     color: #aaa;
}
}
 
@media (max-width: 1024px) {
/* Кнопки */
    .chem-cards-container {
.JobsTableList li a {
        grid-template-columns: repeat(2, 1fr);
    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 {
@media (max-width: 768px) {
     background: #007383;
    .chem-cards-container {
     transform: scale(1.1);
        grid-template-columns: 1fr;
     text-decoration: unset;
    }
    .chem-recipe {
        flex-direction: column;
        gap: 18px;
        max-width: 100%;
    }
     .chem-beaker {
        width: 32px;
        height: 32px;
    }
     .action-sprite .chem-beaker {
        width: 38px;
        height: 38px;
    }
    .recipe-inputs,
     .recipe-outputs {
        min-width: 100%;
    }
}
}
/* End стиль для JobsTable
Shegare */

Текущая версия от 13:10, 4 апреля 2026

@media (max-width: 1280px) {
    .chem-heading {
        display: none;
    }
}
@media screen and (min-width: 1120px) {
    body.page-Тест .citizen-body-container {
        grid-template-areas: 'void header header' 'sidebar content toc' 'footer footer footer';
        grid-template-columns: 10% 70% 20%;
        margin-left: 8vw;
        max-width: none;
    }
}
.chem-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}
.chem-card {
    background-color: #121212;
    border: 3px solid var(--card-border, #444);
    border-radius: 12px;
    padding: 0;
    color: #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    overflow: hidden;
}
.chem-name-header {
    background-color: var(--card-accent);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    padding: 14px 20px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    margin: 0;
}
.chem-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255,255,255,0.06);
    border-top: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}
.chem-heading-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.heading-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--card-accent, #8cf);
}
.collapse-btn {
    border: 2px dotted #ffd700;
    padding: 2px 12px;
    border-radius: 9999px;
    font-size: 13px;
    color: #ffd700;
    background: rgba(0,0,0,0.3);
}
.collapsible {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    max-height: 0;
    padding: 0;
}
.collapsible.expanded {
    max-height: 2000px;
    padding: 12px 16px 16px;
}
.chem-recipe-block {
    text-align: center;
}
.chem-recipe-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.recipe-variant-header {
    font-size: 15px;
    font-weight: 700;
    color: #ffd700;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,215,0,0.3);
    margin-bottom: 12px;
}
.chem-recipe {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
}
.recipe-inputs {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px;
}
.recipe-outputs {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px;
}
.recipe-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 8px 14px;
    border-left: 4px solid var(--card-accent, #8cf);
    white-space: nowrap;
}
.chem-beaker {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}
.recipe-action {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 130px;
    align-self: center;
}
.recipe-action-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.action-sprite .chem-beaker {
    width: 46px;
    height: 46px;
}
.action-text {
    font-weight: 700;
    color: #ffd700;
    font-style: italic;
    font-size: 16px;
    line-height: 1.3;
}
.chem-effects .chem-effect-line {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.45;
    padding-left: 4px;
}
.chem-desc {
    margin: 12px 16px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    border-left: 4px solid var(--card-accent, #8cf);
    font-size: 14px;
    color: #aaa;
}
@media (max-width: 1024px) {
    .chem-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .chem-cards-container {
        grid-template-columns: 1fr;
    }
    .chem-recipe {
        flex-direction: column;
        gap: 18px;
        max-width: 100%;
    }
    .chem-beaker {
        width: 32px;
        height: 32px;
    }
    .action-sprite .chem-beaker {
        width: 38px;
        height: 38px;
    }
    .recipe-inputs,
    .recipe-outputs {
        min-width: 100%;
    }
}