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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
.alchemy-card {
.alchemy-recipes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
 
.alchemy-recipe-card {
     background-color: #1a2a1a;
     background-color: #1a2a1a;
     border: 2px solid #338833;
     border: 2px solid #338833;
    border-radius: 8px;
     padding: 12px;
     padding: 12px;
     border-radius: 6px;
     width: 300px;
     margin: 8px;
    box-sizing: border-box;
     max-width: 600px;
    display: flex;
     color: #e6ffe6;
    flex-direction: column;
     font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
     gap: 8px;
}
 
.alchemy-recipe-title {
     font-size: 1.2em;
     font-weight: bold;
     text-align: center;
    color: #66cc66;
}
}


.alchemy-ingredients div {
.alchemy-recipe-block {
     padding: 4px 8px;
     display: flex;
     background-color: #2277cc;
     justify-content: space-between;
     border-radius: 4px;
     align-items: center;
    gap: 4px;
}
}


.alchemy-mix {
.alchemy-recipe-materials {
     font-size: 1.2em;
     display: flex;
     user-select: none;
    flex-direction: column;
     text-align: left;
    flex: 1;
}
}


.alchemy-result-name {
.alchemy-recipe-mix {
     font-weight: bold;
     font-weight: bold;
     font-size: 1.1em;
     flex-shrink: 0;
    padding: 4px 8px;
}
    background-color: #cc7744;
 
     border-radius: 4px;
.alchemy-recipe-result {
     color: #fff0e6;
     flex: 1;
     text-align: right;
}
}


.alchemy-effect-block {
.alchemy-recipe-effects-title {
    background-color: #2a1a12;
     margin-top: 8px;
    border: 1.5px solid #cc7744;
     font-weight: bold;
    padding: 8px;
     color: #66cc66;
     margin-top: 6px;
    border-radius: 4px;
     font-size: 0.9em;
     color: #fff0e6;
    white-space: pre-wrap;
}
}


.alchemy-recipe-block {
.alchemy-recipe-effects {
     background-color: #2a1a12;
     color: #e6ffe6;
     border: 1.5px solid #cc7744;
     background-color: rgba(0,0,0,0.2);
     padding: 8px;
     padding: 6px;
    margin-top: 6px;
     border-radius: 4px;
     border-radius: 4px;
     font-size: 0.9em;
     font-size: 0.9em;
     color: #fff0e6;
     text-align: left;
    white-space: pre-wrap;
}
}

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

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

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

.alchemy-recipe-title {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    color: #66cc66;
}

.alchemy-recipe-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
}

.alchemy-recipe-materials {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.alchemy-recipe-mix {
    font-weight: bold;
    flex-shrink: 0;
}

.alchemy-recipe-result {
    flex: 1;
    text-align: right;
}

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

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