Dantes (обсуждение | вклад) Нет описания правки |
Dantes (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
.chem-recipe { | .chem-recipe { | ||
border-radius: 10px; | border-radius: 10px; | ||
margin-bottom: 1em; | margin-bottom: 1em; | ||
box-shadow: 0 2px | background-color: var(--bg, #1e1e1e); | ||
box-shadow: 0 2px 5px rgba(0,0,0,0.3); | |||
overflow: hidden; | overflow: hidden; | ||
transition: 0.3s; | |||
} | } | ||
.chem-header { | .chem-header { | ||
padding: 0.8em 1em; | padding: 0.8em 1em; | ||
font-size: 1.2em; | |||
font-weight: bold; | font-weight: bold; | ||
cursor: pointer; | cursor: pointer; | ||
background-color: var(--header-bg, #2c2c2c); | |||
color: var(--header-color, #fff); | |||
user-select: none; | user-select: none; | ||
} | } | ||
.chem-content { | .chem-content { | ||
padding: 1em; | padding: 1em; | ||
background-color: # | background-color: var(--content-bg, #2a2a2a); | ||
color: #e0e0e0; | |||
} | } | ||
.chem- | .chem-inputs { | ||
list-style: none; | |||
padding-left: | padding-left: 0; | ||
margin: 0 0 0.5em 0; | |||
} | } | ||
.chem- | .chem-inputs li { | ||
padding: 0.2em 0; | |||
margin-left: 1em; | |||
position: relative; | |||
} | } | ||
.chem-content | .chem-inputs li::before { | ||
content: "•"; | |||
position: absolute; | |||
left: -1em; | |||
color: #aaa; | |||
} | |||
.chem-arrow { | |||
text-align: center; | |||
margin: 0.5em 0; | margin: 0.5em 0; | ||
font-size: 1.4em; | |||
} | } | ||
.chem-arrow img { | |||
.chem- | vertical-align: middle; | ||
margin-left: 0.5em; | |||
} | } | ||
.chem- | .chem-output { | ||
font-weight: bold; | |||
margin-top: 0.5em; | |||
color: #b2ffb2; | |||
} | } | ||
.chem- | .chem-effects { | ||
margin-left: 1.2em; | |||
margin-top: 0.5em; | |||
} | } | ||
.chem- | .chem-recipe hr { | ||
border: none; | |||
border-top: 1px solid #444; | |||
margin: 0.6em 0; | |||
} | } | ||
/* Индивидуальные цвета */ | |||
.chem-mannitol .chem-header { background-color: #6a5acd; } | |||
.chem-chlorine .chem-header { background-color: #7ac943; } | |||
.chem-fluorine .chem-header { background-color: #f9d423; color: #000; } | |||
.chem-iron .chem-header { background-color: #b0b0b0; color: #000; } | |||
.chem-zombieacid .chem-header { background-color: #228b22; } | |||
Версия от 23:54, 19 апреля 2025
.chem-recipe {
border-radius: 10px;
margin-bottom: 1em;
background-color: var(--bg, #1e1e1e);
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
overflow: hidden;
transition: 0.3s;
}
.chem-header {
padding: 0.8em 1em;
font-size: 1.2em;
font-weight: bold;
cursor: pointer;
background-color: var(--header-bg, #2c2c2c);
color: var(--header-color, #fff);
user-select: none;
}
.chem-content {
padding: 1em;
background-color: var(--content-bg, #2a2a2a);
color: #e0e0e0;
}
.chem-inputs {
list-style: none;
padding-left: 0;
margin: 0 0 0.5em 0;
}
.chem-inputs li {
padding: 0.2em 0;
margin-left: 1em;
position: relative;
}
.chem-inputs li::before {
content: "•";
position: absolute;
left: -1em;
color: #aaa;
}
.chem-arrow {
text-align: center;
margin: 0.5em 0;
font-size: 1.4em;
}
.chem-arrow img {
vertical-align: middle;
margin-left: 0.5em;
}
.chem-output {
font-weight: bold;
margin-top: 0.5em;
color: #b2ffb2;
}
.chem-effects {
margin-left: 1.2em;
margin-top: 0.5em;
}
.chem-recipe hr {
border: none;
border-top: 1px solid #444;
margin: 0.6em 0;
}
/* Индивидуальные цвета */
.chem-mannitol .chem-header { background-color: #6a5acd; }
.chem-chlorine .chem-header { background-color: #7ac943; }
.chem-fluorine .chem-header { background-color: #f9d423; color: #000; }
.chem-iron .chem-header { background-color: #b0b0b0; color: #000; }
.chem-zombieacid .chem-header { background-color: #228b22; }