“模板:LiteInfoBox”的版本间的差异
跳到导航
跳到搜索
(建立内容为“<noinclude> <pre> {{LiteInfoBox|image=图片文件|content=正文}} </pre> </noinclude>{{Box |style=min-width:{{{minwidth|60%}}}; text-align:center; margin:0.2rem…”的新页面) |
|||
第4行: | 第4行: | ||
</pre> | </pre> | ||
</noinclude>{{Box | </noinclude>{{Box | ||
− | |style=min-width:{{{minwidth|60%}}}; text-align:center; margin:0. | + | |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; |
|content= | |content= | ||
− | <div style="display: grid; place-items: center">[[Image:{{{image|Icon_Warning.svg}}}|frameless| | + | <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| | + | <div style="text-align: left; color: {{{color|black}}}; font-size: {{{size|0.7}}}rem; margin: 0.2rem;">{{{content|提示信息}}}</div> |
− | {{{content|提示信息}}} | ||
− | </div> | ||
}} | }} |