“模板:LiteInfoBox”的版本间的差异
跳到导航
跳到搜索
第4行: | 第4行: | ||
</pre> | </pre> | ||
</noinclude>{{Box | </noinclude>{{Box | ||
− | |style=min-width:{{{minwidth|60%}}}; text-align:center; margin:0.1rem; display: grid; grid-template-columns: auto 1fr; grid-gap: 0.5rem; padding: 0.2rem; | + | |style=min-width:{{{minwidth|60%}}}; text-align:center; margin:0.1rem; display: grid; grid-template-columns: auto 1fr; grid-gap: 0.5rem; padding: 0.2rem; border-radius: 5px |
|content= | |content= | ||
<div style="display: grid; place-items: center; ">[[Image:{{{image|Icon_Warning.svg}}}|frameless|30px]]</div> | <div style="display: grid; place-items: center; ">[[Image:{{{image|Icon_Warning.svg}}}|frameless|30px]]</div> | ||
<div style="text-align: left; color: {{{color|black}}}; font-size: {{{size|0.7}}}rem; margin: 0.2rem; width: auto">{{{content|提示信息}}}</div> | <div style="text-align: left; color: {{{color|black}}}; font-size: {{{size|0.7}}}rem; margin: 0.2rem; width: auto">{{{content|提示信息}}}</div> | ||
}} | }} |