“模板:InfoBox”的版本间的差异
跳到导航
跳到搜索
第4行: | 第4行: | ||
</pre> | </pre> | ||
</noinclude>{{Box | </noinclude>{{Box | ||
− | |style=min-width:{{{minwidth|60%}}}; text-align:center; margin | + | |style=min-width:{{{minwidth|60%}}}; text-align:center; margin:0.2rem; display: grid; grid-template-columns: auto 1fr; grid-gap: 0.5rem; padding-left: 1rem; padding-right: 1rem; padding-top: 0.2rem; padding-bottom: 0.2rem |
|content= | |content= | ||
<div style="display: grid; place-items: center">[[Image:{{{image|Icon_Warning.svg}}}|frameless|50px]]</div> | <div style="display: grid; place-items: center">[[Image:{{{image|Icon_Warning.svg}}}|frameless|50px]]</div> |