模板:驱动图鉴/立绘:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第19行: | 第19行: | ||
</tabber> --> | </tabber> --> | ||
<div class=" | <center> | ||
<div class="weapon-item-container"> | |||
<div class="soc-focus-c"> | <div class="soc-focus-c"> | ||
<div class="soc-swiper-container"> | <div class="soc-swiper-container"> | ||
第26行: | 第27行: | ||
<a target="_blank" class="item" link=首页 >[[File:{{#var:驱动名称}}1.png|link=]]<div class="title"> </div></a> | <a target="_blank" class="item" link=首页 >[[File:{{#var:驱动名称}}1.png|link=]]<div class="title"> </div></a> | ||
</div> | </div> | ||
{{#ifexist: File:{{#var:驱动名称}}2.png|<div class="swiper-slide"><a target="_blank" class="item" link= | {{#ifexist: File:{{#var:驱动名称}}2.png|<div class="swiper-slide"><a target="_blank" class="item" link=>[[File:{{#var:驱动名称}}2.png|link=]]</a></div>|}} | ||
{{#ifexist: File:{{#var:驱动名称}}3.png|<div class="swiper-slide"><a target="_blank" class="item" link= | {{#ifexist: File:{{#var:驱动名称}}3.png|<div class="swiper-slide"><a target="_blank" class="item" link=>[[File:{{#var:驱动名称}}3.png|link=]]</a></div>|}} | ||
</div> | </div> | ||
<div class="soc-swiper-pagination"></div> | <div class="soc-swiper-pagination"></div> | ||
第35行: | 第36行: | ||
</div> | </div> | ||
</div> | </div> | ||
<div class="weapon-item-highlight"></div> | |||
</center> | |||
{{#CSS: | {{#CSS: | ||
. | .weapon-item-container{ | ||
position: relative; | position: relative; | ||
bottom: 10px; | bottom: 10px; | ||
第91行: | 第94行: | ||
.weapon-item-container { | .weapon-item-container { | ||
<!-- width: 100%; /* 调整为100%,使其填充父容器 */ --> | <!-- width: 100%; /* 调整为100%,使其填充父容器 */ --> | ||
width: | width: 170px; | ||
height: | height: 170px; | ||
background: linear-gradient(to bottom, #000, #333); | background: linear-gradient(to bottom, #000, #333); | ||
border-radius: 5px; | border-radius: 5px; |
2024年6月14日 (五) 17:54的版本