◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“Widget:Equipquery”的版本间的差异
(optimize name with ()) |
(optimize layout) |
||
第285行: | 第285行: | ||
} | } | ||
+ | table.dollTable { | ||
+ | display: table; | ||
+ | width: 100%; | ||
+ | background-color: #111; | ||
+ | border: 1px solid #888; | ||
+ | text-align: center; | ||
+ | margin-bottom: 5px; | ||
+ | } | ||
+ | |||
+ | table.dollTable td { | ||
+ | border: 1px solid #333; | ||
+ | background-color: #222; | ||
+ | padding: 3px; | ||
+ | } | ||
+ | table.dollTable th { | ||
+ | border: 1px solid #f4c430; | ||
+ | background-color: #f4c430; | ||
+ | color: black; | ||
+ | padding: 3px; | ||
+ | } | ||
<!--{if ($hideinput)==1}-->div#TDollQuery {display:none;}<!--{/if}--> | <!--{if ($hideinput)==1}-->div#TDollQuery {display:none;}<!--{/if}--> | ||
</style><div style="max-width: 70rem;"> | </style><div style="max-width: 70rem;"> | ||
第472行: | 第492行: | ||
} | } | ||
− | var output = `<table id="Equiptable" class=" | + | var output = `<table id="Equiptable" class="dollTable" style="text-align:center; mid-width:300px; width:100%;">`; |
output += `<thead><tr><th style="width:120px;">装备<\/th><th>图标<\/th><th>类型<\/th><th>伤害<\/th><th>命中<\/th><th>回避<\/th><th>射速<\/th><th>暴击<\/th><th>暴伤<\/th><th>穿甲<\/th><th>护甲<\/th><th>夜视<\/th><th>弹量<\/th><th>移速<\/th><th>效果<\/th><th style="width:110px; text-align:center;">适用人形<\/th><th>获得途径<\/th><\/tr><\/thead>`; | output += `<thead><tr><th style="width:120px;">装备<\/th><th>图标<\/th><th>类型<\/th><th>伤害<\/th><th>命中<\/th><th>回避<\/th><th>射速<\/th><th>暴击<\/th><th>暴伤<\/th><th>穿甲<\/th><th>护甲<\/th><th>夜视<\/th><th>弹量<\/th><th>移速<\/th><th>效果<\/th><th style="width:110px; text-align:center;">适用人形<\/th><th>获得途径<\/th><\/tr><\/thead>`; | ||
output += `<tbody id="Equiptbody">` + htmlline + `<\/tbody><\/table>`; | output += `<tbody id="Equiptbody">` + htmlline + `<\/tbody><\/table>`; |