模板:驱动图鉴/立绘:修订间差异
无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的9个中间版本) | |||
第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"> | ||
<div class="swiper-wrapper"> | <div class="swiper-wrapper"> | ||
<div class="swiper-slide"> | <div class="swiper-slide"> | ||
[[File:{{#var:驱动名称}}1.png|link=]]<div class="title"> </div> | |||
</div> | </div> | ||
{{#ifexist: File: | {{#ifexist: File:{{#var:驱动名称}}2.png|<div class="swiper-slide"> | ||
{{#ifexist: File: | [[File:{{#var:驱动名称}}2.png|link=]]<div class="title"></div> | ||
</div>}} | |||
{{#ifexist: File:{{#var:驱动名称}}3.png|<div class="swiper-slide"> | |||
[[File:{{#var:驱动名称}}3.png|link=]]<div class="title"></div> | |||
</div>}} | |||
</div> | </div> | ||
<div class="weapon-item-highlight"></div> | |||
<div class="soc-swiper-pagination"></div> | <div class="soc-swiper-pagination"></div> | ||
<div class="soc-swiper-button-prev"></div> | <div class="soc-swiper-button-prev"></div> | ||
第35行: | 第41行: | ||
</div> | </div> | ||
</div> | </div> | ||
</center> | |||
{{#CSS: | {{#CSS: | ||
. | .weapon-item-container{ | ||
position: relative; | position: relative; | ||
bottom: 10px; | bottom: 10px; | ||
第91行: | 第98行: | ||
.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; | ||
第113行: | 第120行: | ||
left: 0; | left: 0; | ||
width: 100%; | width: 100%; | ||
height: | height: 14px; | ||
background-color: # | background-color: #8f6f216e; | ||
} | } | ||
2024年6月14日 (五) 19:04的最新版本