「テンプレート:Boxmenu grid」の版間の差分
細 修正 |
細編集の要約なし |
||
1行目: | 1行目: | ||
<nomobile> | <nomobile><div style=" | ||
<div style=" | |||
display: grid; | display: grid; | ||
grid-template-columns: {{{Desktop-columns|1fr 1fr 1fr}}}; | grid-template-columns: {{{Desktop-columns|1fr 1fr 1fr}}}; | ||
width: auto; | width: auto; | ||
margin: 5px; | margin: 5px; | ||
">{{{Boxmenu|}}}</div> | ">{{{Boxmenu|}}}</div></nomobile> | ||
</nomobile> | <mobileonly><div style=" | ||
<mobileonly> | |||
<div style=" | |||
display: grid; | display: grid; | ||
grid-template-columns: {{{Mobile-columns|1fr 1fr}}}; | grid-template-columns: {{{Mobile-columns|1fr 1fr}}}; | ||
width: 100%; | width: 100%; | ||
margin: 5px; | margin: 5px; | ||
">{{{Boxmenu|}}}</div> | ">{{{Boxmenu|}}}</div></mobileonly> | ||
</mobileonly> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> |