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

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

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
 
(не показана 21 промежуточная версия этого же участника)
Строка 1: Строка 1:
:root {
@media (max-width: 1280px) {
     --transition-duration: 0.4s;
     .chem-heading {
    --primary-bg-color: #0a0e17;
        display: none;
    --secondary-bg-color: #131a2a;
     }
    --item-bg-color: #1a243b;
    --item-hover-bg-color: #243156;
     --border-color: #2a3a5a;
    --text-color: #d4dcf0;
    --hover-text-color: #ffffff;
    --accent-color: #4a7ce7;
    --accent-hover: #5b8df8;
    --font-family: 'Arial', sans-serif;
    --menu-border-radius: 15px;
    --header-padding: 25px;
    --item-height: 160px;
    --icon-size: 64px;
    --text-font-size: 16px;
}
}
 
@media screen and (min-width: 1120px) {
body {
    body.page-Тест .citizen-body-container {
     background: linear-gradient(135deg, #0c1220 0%, #1a243b 100%);
        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;
     margin: 0;
    padding: 20px;
    font-family: var(--font-family);
    color: var(--text-color);
    min-height: 100vh;
}
}
 
.chem-heading {
.stars-bg {
     display: flex;
     position: fixed;
    align-items: center;
     top: 0;
    justify-content: space-between;
     left: 0;
     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%;
     width: 100%;
     height: 100%;
     justify-content: space-between;
     background-image:  
     align-items: center;
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 5px),
}
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 3px),
.heading-text {
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 4px);
    font-size: 15px;
     background-size: 550px 550px, 350px 350px, 250px 250px;
    font-weight: 600;
     background-position: 0 0, 40px 60px, 130px 270px;
    color: var(--card-accent, #8cf);
    z-index: -1;
}
.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 {
.custom-lore-menu {
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
    border-radius: var(--menu-border-radius);
    background: rgba(10, 14, 23, 0.85);
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    font-family: var(--font-family);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    position: relative;
     overflow: hidden;
     overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    max-height: 0;
    padding: 0;
}
}
 
.collapsible.expanded {
.custom-lore-menu::before {
     max-height: 2000px;
     content: '';
     padding: 12px 16px 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4a7ce7, #8a5ce7, #4a7ce7);
     border-radius: 5px 5px 0 0;
}
}
 
.chem-recipe-block {
.custom-header {
     text-align: center;
     text-align: center;
    background: linear-gradient(90deg, rgba(26, 36, 59, 0.7) 0%, rgba(42, 58, 90, 0.7) 100%);
    padding: var(--header-padding);
    border-bottom: 2px solid var(--border-color);
    color: var(--text-color);
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(90, 150, 255, 0.5);
    letter-spacing: 1px;
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}
}
 
.chem-recipe-steps {
.custom-header::before {
     display: flex;
     content: '';
     flex-direction: column;
     position: absolute;
     gap: 32px;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
     animation: shimmer 5s infinite;
}
}
 
.recipe-variant-header {
@keyframes shimmer {
    font-size: 15px;
     0% { left: -100%; }
    font-weight: 700;
     20% { left: 100%; }
     color: #ffd700;
     100% { left: 100%; }
    text-align: center;
     padding: 8px 0;
    border-bottom: 1px dashed rgba(255,215,0,0.3);
     margin-bottom: 12px;
}
}
 
.chem-recipe {
.custom-links {
     width: 100%;
     display: grid;
     max-width: 800px;
     grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    margin: 0 auto;
     gap: 20px;
     display: flex;
     padding: 20px;
    flex-direction: row;
     justify-items: center;
     gap: 24px;
     align-items: stretch;
     align-items: flex-start;
     justify-content: center;
}
}
 
.recipe-inputs {
.custom-item {
    flex: 1;
    min-width: 240px;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     align-items: center;
     gap: 10px;
    justify-content: center;
     background: rgba(255,255,255,0.06);
    width: 100%;
     border-radius: 10px;
    height: var(--item-height);
     padding: 14px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 12px;
     background: linear-gradient(145deg, var(--item-bg-color), #161f33);
    transition: all var(--transition-duration);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
     position: relative;
     overflow: hidden;
}
}
 
.recipe-outputs {
.custom-item::before {
     flex: 1;
     content: '';
     min-width: 240px;
     position: absolute;
     display: flex;
     top: 0;
     flex-direction: column;
     left: 0;
     gap: 10px;
     right: 0;
     background: rgba(255,255,255,0.06);
     height: 3px;
     border-radius: 10px;
     background: var(--accent-color);
     padding: 14px;
     opacity: 0.7;
}
}
 
.recipe-item {
.custom-item:hover {
     display: flex;
     background: linear-gradient(145deg, var(--item-hover-bg-color), #1c2742);
    align-items: center;
     transform: translateY(-5px) scale(1.03);
     gap: 12px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
     background: rgba(255,255,255,0.08);
     border-color: var(--accent-color);
     border-radius: 6px;
    padding: 8px 14px;
    border-left: 4px solid var(--card-accent, #8cf);
    white-space: nowrap;
}
}
 
.chem-beaker {
.custom-item:hover::before {
    width: 38px;
     background: var(--accent-hover);
     height: 38px;
     opacity: 1;
     flex-shrink: 0;
}
}
 
.recipe-action {
.custom-item a {
     flex: 0 0 auto;
     text-decoration: none;
    color: var(--text-color);
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     width: 100%;
     gap: 8px;
    height: 100%;
     min-width: 130px;
     transition: color var(--transition-duration), text-shadow var(--transition-duration);
     align-self: center;
    font-size: var(--text-font-size);
     font-weight: bold;
    z-index: 2;
    padding: 10px;
}
}
 
.recipe-action-content {
.custom-item a:hover {
     display: flex;
     color: var(--hover-text-color);
    flex-direction: column;
     text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    align-items: center;
    gap: 8px;
     text-align: center;
}
}
 
.action-sprite .chem-beaker {
.custom-icon {
     width: 46px;
     width: var(--icon-size);
     height: 46px;
     height: var(--icon-size);
    margin-bottom: 10px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(90, 150, 255, 0.5));
    transition: transform var(--transition-duration);
}
}
 
.action-text {
.custom-item:hover .custom-icon {
    font-weight: 700;
     transform: scale(1.1) rotate(5deg);
    color: #ffd700;
    font-style: italic;
    font-size: 16px;
     line-height: 1.3;
}
}
 
.chem-effects .chem-effect-line {
.corporate-logos {
     margin-bottom: 10px;
     display: flex;
     font-size: 14px;
     justify-content: center;
     line-height: 1.45;
    gap: 30px;
     padding-left: 4px;
     margin-top: 20px;
     flex-wrap: wrap;
}
}
 
.chem-desc {
.corporate-logo {
     margin: 12px 16px;
     opacity: 0.7;
    padding: 12px;
     transition: opacity 0.3s;
    background: rgba(255,255,255,0.03);
     filter: grayscale(0.3);
     border-radius: 6px;
     border-left: 4px solid var(--card-accent, #8cf);
    font-size: 14px;
    color: #aaa;
}
}
 
@media (max-width: 1024px) {
.corporate-logo:hover {
     .chem-cards-container {
     opacity: 1;
        grid-template-columns: repeat(2, 1fr);
    filter: grayscale(0);
    }
}
}
@media (max-width: 768px) {
@media (max-width: 768px) {
     .custom-lore-menu { padding: 20px; }
     .chem-cards-container {
    .custom-links { grid-template-columns: repeat(2, 1fr); }
        grid-template-columns: 1fr;
     .custom-item { height: auto; padding: 15px 10px; }
    }
    .custom-item a { font-size: 14px; }
     .chem-recipe {
     .corporate-logos { gap: 15px; }
        flex-direction: column;
     .corporate-logo img { width: 80px; }
        gap: 18px;
}
        max-width: 100%;
 
    }
@media (max-width: 480px) {
     .chem-beaker {
     .custom-links { grid-template-columns: 1fr; }
        width: 32px;
     .custom-header { font-size: 22px; padding: 15px; }
        height: 32px;
    }
     .action-sprite .chem-beaker {
        width: 38px;
        height: 38px;
    }
    .recipe-inputs,
     .recipe-outputs {
        min-width: 100%;
     }
}
}

Текущая версия от 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%;
    }
}