Dantes (обсуждение | вклад) Нет описания правки |
Dantes (обсуждение | вклад) Нет описания правки |
||
| Строка 5: | Строка 5: | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
box-shadow: 0 2px 5px rgba(0,0,0,0.4); | box-shadow: 0 2px 5px rgba(0,0,0,0.4); | ||
} | } | ||
| Строка 34: | Строка 33: | ||
right: 12px; | right: 12px; | ||
transition: transform 0.3s; | transition: transform 0.3s; | ||
} | |||
.section-title.expanded::after { | |||
transform: rotate(90deg); | |||
} | } | ||
| Строка 45: | Строка 48: | ||
.section-content.expanded { | .section-content.expanded { | ||
display: block; | display: block; | ||
} | } | ||
Версия от 02:54, 17 июня 2025
.recipe-block {
background-color: #2d2d2d;
border-radius: 8px;
padding: 15px;
margin-bottom: 20px;
box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
.recipe-name {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
color: #f0f0f0;
}
.section-title {
background-color: #3a3a3a;
padding: 8px 12px;
border-radius: 5px;
cursor: pointer;
margin: 10px 0;
position: relative;
transition: background-color 0.3s;
}
.section-title:hover {
background-color: #4a4a4a;
}
.section-title::after {
content: '▶';
position: absolute;
right: 12px;
transition: transform 0.3s;
}
.section-title.expanded::after {
transform: rotate(90deg);
}
.section-content {
padding: 10px;
border-radius: 5px;
background-color: #252525;
display: none;
}
.section-content.expanded {
display: block;
}
.recipe-item {
margin-bottom: 15px;
}
.output {
font-weight: bold;
color: #4fc3f7;
}
.ingredients {
padding: 8px;
background-color: #1e1e1e;
border-radius: 4px;
margin-top: 5px;
font-family: monospace;
}
.effect {
padding: 8px;
background-color: #1e1e1e;
border-radius: 4px;
margin-bottom: 5px;
color: #ff6b6b;
}
.description {
font-style: italic;
margin-top: 10px;
color: #a0a0a0;
}
.gas { border-color: #adff2f; }
.liquid { border-color: #1e88e5; }
.solid { border-color: #ff9800; }