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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
.alchemy-recipes-grid {
.alchemy-grid-container {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
Строка 6: Строка 6:
}
}


.alchemy-recipe-card {
.alchemy-card {
    background-color: #1a2a1a;
     border: 2px solid;
     border: 2px solid #338833;
     border-radius: 8px;
     border-radius: 8px;
     padding: 12px;
     padding: 12px;
     width: 300px;
     width: 300px;
    box-sizing: border-box;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     gap: 8px;
     gap: 8px;
    color: #e6ffe6;
}
}


.alchemy-recipe-title {
.alchemy-ingredients, .alchemy-result {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    color: #66cc66;
}
 
.alchemy-recipe-block {
     display: flex;
     display: flex;
     justify-content: space-between;
     flex-direction: column;
    align-items: center;
     gap: 4px;
     gap: 4px;
}
}


.alchemy-recipe-materials {
.alchemy-mix {
    display: flex;
     text-align: center;
    flex-direction: column;
     text-align: left;
    flex: 1;
}
 
.alchemy-recipe-mix {
     font-weight: bold;
     font-weight: bold;
     flex-shrink: 0;
     color: #66cc66;
    margin: 4px 0;
}
}


.alchemy-recipe-result {
.alchemy-effects {
     flex: 1;
    margin-top: 8px;
     text-align: right;
    background-color: rgba(0, 0, 0, 0.2);
     padding: 6px;
     border-radius: 4px;
}
}


.alchemy-recipe-effects-title {
.alchemy-effect-line {
     margin-top: 8px;
     margin-bottom: 4px;
    font-weight: bold;
    color: #66cc66;
}
}


.alchemy-recipe-effects {
.alchemy-effect-desc {
     color: #e6ffe6;
     margin-top: 4px;
    background-color: rgba(0,0,0,0.2);
     font-style: italic;
    padding: 6px;
     color: #aaa;
    border-radius: 4px;
     font-size: 0.9em;
     text-align: left;
}
}

Версия от 18:38, 16 мая 2025

.alchemy-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.alchemy-card {
    border: 2px solid;
    border-radius: 8px;
    padding: 12px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #e6ffe6;
}

.alchemy-ingredients, .alchemy-result {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alchemy-mix {
    text-align: center;
    font-weight: bold;
    color: #66cc66;
    margin: 4px 0;
}

.alchemy-effects {
    margin-top: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 6px;
    border-radius: 4px;
}

.alchemy-effect-line {
    margin-bottom: 4px;
}

.alchemy-effect-desc {
    margin-top: 4px;
    font-style: italic;
    color: #aaa;
}