Ma3xak2 (обсуждение | вклад) Нет описания правки |
Ma3xak2 (обсуждение | вклад) Нет описания правки |
||
| Строка 31: | Строка 31: | ||
</div> | </div> | ||
<!-- | <!-- ДВЕ КОЛОНКИ --> | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
align-items:flex-start; | align-items:flex-start; | ||
gap:12px; | gap:12px; | ||
padding:12px; | padding:12px; | ||
| Строка 41: | Строка 40: | ||
"> | "> | ||
<!-- ИНГРЕДИЕНТЫ (сетка | <!-- ЛЕВАЯ КОЛОНКА: ИНГРЕДИЕНТЫ (сетка 2 колонки) --> | ||
<div style=" | <div style=" | ||
display:grid; | display:grid; | ||
grid-template-columns: repeat( | grid-template-columns: repeat(2, minmax(0, 1fr)); /* ровно 2 колонки */ | ||
gap:8px; | gap:8px; | ||
flex:1; | flex:1; | ||
| Строка 55: | Строка 54: | ||
flex-direction:column; | flex-direction:column; | ||
align-items:center; | align-items:center; | ||
width: | width:100%; | ||
"> | "> | ||
<div style=" | <div style=" | ||
| Строка 81: | Строка 80: | ||
flex-direction:column; | flex-direction:column; | ||
align-items:center; | align-items:center; | ||
width: | width:100%; | ||
"> | "> | ||
<div style=" | <div style=" | ||
| Строка 107: | Строка 106: | ||
flex-direction:column; | flex-direction:column; | ||
align-items:center; | align-items:center; | ||
width: | width:100%; | ||
"> | "> | ||
<div style=" | <div style=" | ||
| Строка 133: | Строка 132: | ||
flex-direction:column; | flex-direction:column; | ||
align-items:center; | align-items:center; | ||
width: | width:100%; | ||
"> | "> | ||
<div style=" | <div style=" | ||
| Строка 159: | Строка 158: | ||
flex-direction:column; | flex-direction:column; | ||
align-items:center; | align-items:center; | ||
width: | width:100%; | ||
"> | "> | ||
<div style=" | <div style=" | ||
| Строка 180: | Строка 179: | ||
</div> | </div> | ||
<!-- | <!-- ПРАВАЯ КОЛОНКА: МЕТОД + РЕЗУЛЬТАТ (вертикально) --> | ||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
flex-direction:column; | flex-direction:column; | ||
align-items:center; | align-items:center; | ||
justify-content: | justify-content:flex-start; | ||
flex-shrink:0; | flex-shrink:0; | ||
min-width:80px; | min-width:80px; | ||
border-left:1px solid #FFFFFF; | border-left:1px solid #FFFFFF; | ||
padding-left:15px; | padding-left:15px; | ||
gap:12px; | |||
"> | "> | ||
<!-- СПОСОБ ПРИГОТОВЛЕНИЯ --> | |||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
flex-direction:column; | |||
align-items:center; | align-items:center; | ||
justify-content:center; | "> | ||
<div style=" | |||
width:60px; | |||
height:60px; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
overflow:hidden; | |||
">{{#switch:{{{method_name|}}} | |||
|Микроволновка=[[File:Microwave.gif|60px]] | |||
|Смешивание=[[File:Beaker.png|60px]] | |||
|Нож=[[File:Knife.png|60px]] | |||
|Скалка=[[File:RollingPin.png|60px]] | |||
|#default=[[File:Microwave.gif|60px]] | |||
}}</div> | |||
<div style=" | |||
font-size:13px; | |||
font-weight:bold; | |||
line-height:17px; | |||
text-align:center; | |||
color:#FFFFFF; | |||
margin-top:4px; | |||
">{{{method_name|Приготовление}}}{{#if:{{{method_time|}}}|<br>{{{method_time}}}|}}</div> | |||
</div> | |||
<!-- РЕЗУЛЬТАТ --> | |||
<div style=" | <div style=" | ||
display:flex; | display:flex; | ||
flex-direction:column; | |||
align-items:center; | align-items:center; | ||
justify-content:center; | "> | ||
<div style=" | |||
width:58px; | |||
height:58px; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
overflow:hidden; | |||
">[[File:{{{result_img}}}|46px]]</div> | |||
<div style=" | |||
font-size:12px; | |||
color:#FFFFFF; | |||
text-align:center; | |||
margin-top:5px; | |||
line-height:16px; | |||
">{{{result_name|Результат}}}</div> | |||
</div> | |||
</div> | </div> | ||