模板:单位卡片:修订间差异

修改样式:去除卡片边框
(缩小卡片,使信息更密集;添加旋转图片参数,用于非建筑正面图片朝上;添加圆角)
(修改样式:去除卡片边框)
第1行: 第1行:
<includeonly><div style="display: flex;flex-direction: column;align-items: center;width: 80px;height: 100px;border: 1px solid #000;margin: 5px 3px;border-radius: 5%">
<includeonly><div style="display: flex;flex-direction: column;align-items: center;width: 80px;height: 100px;margin: 6px 4px;">
<div style="width: 80px;height: 80px;display: flex;flex-direction: column;justify-content: center;align-items: center;{{#switch:{{{旋转|}}}|是 = transform: rotate(-90deg);|否 = |#default =}}">[[file:{{{图片文件}}}|75x75px|link={{{指向页面}}}]]</div>
<div style="width: 80px;height: 80px;display: flex;flex-direction: column;justify-content: center;align-items: center;{{#switch:{{{旋转|}}}|是 = transform: rotate(-90deg);|否 = |#default =}}">[[file:{{{图片文件}}}|75x75px|link={{{指向页面}}}]]</div>
<div style="width: 100%;background-color: #080;border-radius: 0 0 5% 5%;font-weight: bold;font-size: smaller;color: #eee;text-align: center;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;line-height: 20px;">[[{{{指向页面}}}|<span style="color: #eee;">{{{单位名称}}}</span>]]</div>
<div style="width: 100%;background-color: #080;border-radius: 5px;font-weight: bold;font-size: smaller;color: #eee;text-align: center;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;line-height: 20px;">[[{{{指向页面}}}|<span style="color: #eee;">{{{单位名称}}}</span>]]</div>
</div></includeonly><noinclude>{{Documentation}}</noinclude>
</div></includeonly><noinclude>{{Documentation}}</noinclude>
610

个编辑