模板:装备图鉴导航:修订间差异
无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的6个中间版本) | |||
第1行: | 第1行: | ||
<includeonly><div class="map-dh"><div class="map-dh-left">{{#if:{{{标题|}}}|{{{标题|}}}| | <includeonly><div class="map-dh"><div class="map-dh-left">{{#if:{{{标题|}}}|{{{标题|}}}|图鉴导航}}</div><div class="map-dh-right"> | ||
{{#loop:i|1|{{{页面数|}}}|[[{{{链接页面{{#var:i}}|}}}|<span class="map-dh-an">{{{展示名称{{#var:i}}|{{{链接页面{{#var:i}}|}}}}}}</span>]]}} | {{#loop:i|1|{{{页面数|}}}|[[{{{链接页面{{#var:i}}|}}}|<span class="map-dh-an">{{{展示名称{{#var:i}}|{{{链接页面{{#var:i}}|}}}}}}</span>]]}} | ||
</div></div>{{#css: | </div></div>{{#css: | ||
.map-dh {width:100%;overflow:hidden;margin:10px 0px;background:#fbf9f1;display:table;border-radius: 4px;} | .map-dh {width:100%;overflow:hidden;margin:10px 0px;background:#fbf9f1;display:table;border-radius: 4px;} | ||
.map-dh-left {display:table-cell;vertical-align: middle;width:8rem; padding:10px;font-weight:bold;font-size:16px;background:#dfcdad;color:# | .map-dh-left {display:table-cell;vertical-align: middle;width:8rem; padding:10px;font-weight:bold;font-size:16px;background:#dfcdad;color:#333;text-align:center;} | ||
.map-dh-right {display:table-cell;vertical-align: middle;width:calc(100% - 100px);padding:10px;} | .map-dh-right {display:table-cell;vertical-align: middle;width:calc(100% - 100px);padding:10px;} | ||
.map-dh-an {float:left;width:120px;color: # | .map-dh-an {float:left;width:120px;color:#444;background: white;padding:15px 10px;text-align:center;border-color: #b8a289;border-style: solid;border-width: 1px;border-radius: 4px;margin:4px} | ||
.map-dh-an:hover {background:#999; color: | .map-dh-an:hover {background:#999; color: white;transition:.2s;} | ||
.selflink .map-dh-an { color: | .selflink .map-dh-an { color: white; background:#41454f; } | ||
@media only screen and (max-width:759px){ | @media only screen and (max-width:759px){ | ||
.map-dh-an {width:48%;margin:4px 1%} | .map-dh-an {width:48%;margin:4px 1%;min-height:2rem;} | ||
.map-dh-left {display:block;width:100%;} | .map-dh-left {display:block;width:100%;} | ||
.map-dh-right {display:block;width:100%;} | .map-dh-right {display:block;width:100%;} | ||
} | } | ||
}}</includeonly><noinclude>[[分类:模板]]{{装备图鉴导航|页面数=2|链接页面1=角色图鉴|展示名称1=角色图鉴|链接页面2=角色一览}}</noinclude> | }}</includeonly><noinclude>[[分类:模板]]{{装备图鉴导航|页面数=2|链接页面1=角色图鉴|展示名称1=角色图鉴|链接页面2=角色一览}}</noinclude> |