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

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
Метка: отменено
Строка 1: Строка 1:
.chem-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}
.chem-recipe {
.chem-recipe {
     border: 1px solid #888;
    background: #1e1e1e;
     border-radius: 5px;
     border: 1px solid #444;
     margin: 5px 0;
     border-radius: 8px;
     padding: 5px;
     color: #eee;
     background: #f9f9f9;
     width: 250px;
     padding: 8px;
     font-family: sans-serif;
     font-family: sans-serif;
    cursor: default;
    transition: transform 0.2s;
}
.chem-recipe:hover {
    transform: scale(1.03);
}
}


.chem-recipe-title {
.chem-recipe-title {
     font-weight: bold;
     font-weight: bold;
    font-size: 16px;
    background: #333;
    padding: 5px;
    border-radius: 5px;
     cursor: pointer;
     cursor: pointer;
     padding: 3px;
     text-align: center;
    background: #ddd;
    border-radius: 3px;
}
}


Строка 19: Строка 35:
     display: none;
     display: none;
     margin-top: 5px;
     margin-top: 5px;
     padding-left: 10px;
}
 
.chem-recipe-step {
     margin-bottom: 6px;
}
}


.chem-ingredient {
.chem-ingredient {
     margin-left: 10px;
     margin-left: 10px;
    font-size: 14px;
}
}

Версия от 01:43, 9 сентября 2025

.chem-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

.chem-recipe {
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 8px;
    color: #eee;
    width: 250px;
    padding: 8px;
    font-family: sans-serif;
    cursor: default;
    transition: transform 0.2s;
}

.chem-recipe:hover {
    transform: scale(1.03);
}

.chem-recipe-title {
    font-weight: bold;
    font-size: 16px;
    background: #333;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.chem-recipe-content {
    display: none;
    margin-top: 5px;
}

.chem-recipe-step {
    margin-bottom: 6px;
}

.chem-ingredient {
    margin-left: 10px;
    font-size: 14px;
}