◆少前百科是非盈利性、非官方的少女前线维基百科。
◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科
◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科
◆To foreigners,You can use twitter to contact us.
Icon Nyto Silver.png

“Widget:Equipquery”的版本间的差异

来自少前百科GFwiki
跳转至: 导航搜索
第2行: 第2行:
 
/* Auto Grid START */
 
/* Auto Grid START */
 
@media screen and (max-width: 900px) {
 
@media screen and (max-width: 900px) {
table#Equiptable td:empty,table#Equiptable thead {display:none}
+
    .skin-vector #Equiptable:not(.minimode) td {}
table#Equiptable tr td:nth-child(2) {display:inline-block;width:100px}
+
    .skin-vector #Equiptable:not(.minimode) td {margin:1px;background-color:#5557}
table#Equiptable tbody tr {
+
    .skin-vector #Equiptable:not(.minimode) td:hover {background-color:#7777}
 +
    .skin-vector #Equiptable:not(.minimode) tbody {background:transparent}
 +
table#Equiptable:not(.minimode) td:empty,table#Equiptable thead {display:none}
 +
table#Equiptable:not(.minimode) tr td:nth-child(2) {display:inline-block;width:100px}
 +
table#Equiptable:not(.minimode) tbody tr {
 
     grid-template-columns: 25% 25% 25% 1fr;
 
     grid-template-columns: 25% 25% 25% 1fr;
 
     grid-template-rows: initial;
 
     grid-template-rows: initial;
第16行: 第20行:
 
     border: 1px solid #555;
 
     border: 1px solid #555;
 
}
 
}
table#Equiptable tbody {display: block;width:100%;}
+
table#Equiptable:not(.minimode) tbody {display: block;width:100%;}
table#Equiptable tr td{display: flex;align-items: center;flex-direction: column;flex-wrap: nowrap;align-content: center;justify-content: center;}
+
table#Equiptable:not(.minimode) tr td{display: flex;align-items: center;flex-direction: column;flex-wrap: nowrap;align-content: center;justify-content: center;}
table#Equiptable tr td:nth-child(1)::before {content:"装备名称\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(1)::before {content:"装备名称\A";white-space:pre;}
table#Equiptable tr td:nth-child(1) {grid-column:auto/span 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(1) {grid-column:auto/span 2;}
table#Equiptable tr td:nth-child(2) {grid-column:auto/span 1;width: auto;}
+
table#Equiptable:not(.minimode) tr td:nth-child(2) {grid-column:auto/span 1;width: auto;}
table#Equiptable tr td:nth-child(3)::before {content:"装备类型\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(3)::before {content:"装备类型\A";white-space:pre;}
table#Equiptable tr td:nth-child(3) {grid-column:auto/span 1;}
+
table#Equiptable:not(.minimode) tr td:nth-child(3) {grid-column:auto/span 1;}
  
table#Equiptable tr td:nth-child(4)::before {content:"伤害\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(4)::before {content:"伤害\A";white-space:pre;}
table#Equiptable tr td:nth-child(4) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(4) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(5)::before {content:"命中\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(5)::before {content:"命中\A";white-space:pre;}
table#Equiptable tr td:nth-child(5) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(5) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(6)::before {content:"回避\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(6)::before {content:"回避\A";white-space:pre;}
table#Equiptable tr td:nth-child(6) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(6) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(7)::before {content:"射速\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(7)::before {content:"射速\A";white-space:pre;}
table#Equiptable tr td:nth-child(7) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(7) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(8)::before {content:"暴击\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(8)::before {content:"暴击\A";white-space:pre;}
table#Equiptable tr td:nth-child(8) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(8) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(9)::before {content:"暴伤\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(9)::before {content:"暴伤\A";white-space:pre;}
table#Equiptable tr td:nth-child(9) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(9) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(10)::before {content:"穿甲\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(10)::before {content:"穿甲\A";white-space:pre;}
table#Equiptable tr td:nth-child(10) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(10) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(11)::before {content:"护甲\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(11)::before {content:"护甲\A";white-space:pre;}
table#Equiptable tr td:nth-child(11) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(11) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(12)::before {content:"夜视\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(12)::before {content:"夜视\A";white-space:pre;}
table#Equiptable tr td:nth-child(12) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(12) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(13)::before {content:"弹量\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(13)::before {content:"弹量\A";white-space:pre;}
table#Equiptable tr td:nth-child(13) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(13) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(14)::before {content:"移速\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(14)::before {content:"移速\A";white-space:pre;}
table#Equiptable tr td:nth-child(14) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(14) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(15)::before {content:"效果\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(15)::before {content:"效果\A";white-space:pre;}
table#Equiptable tr td:nth-child(15) {grid-column:auto/span 1;grid-row-start: 2;}
+
table#Equiptable:not(.minimode) tr td:nth-child(15) {grid-column:auto/span 1;grid-row-start: 2;}
  
table#Equiptable tr td:nth-child(16)::before {content:"适用人形\A";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(16)::before {content:"适用人形\A";white-space:pre;}
table#Equiptable tr td:nth-child(16) {grid-column: auto/span 2;width: auto;grid-column-start: 1;}
+
table#Equiptable:not(.minimode) tr td:nth-child(16) {grid-column: auto/span 2;width: auto;grid-column-start: 1;}
  
table#Equiptable tr td:nth-child(17)::before {content:"获得途径:";white-space:pre;}
+
table#Equiptable:not(.minimode) tr td:nth-child(17)::before {content:"获得途径:";white-space:pre;}
table#Equiptable tr td:nth-child(17) {grid-column:auto/span 2;width: auto;display: flex;flex-direction: row;}
+
table#Equiptable:not(.minimode) tr td:nth-child(17) {grid-column:auto/span 2;width: auto;display: flex;flex-direction: row;}
 
}
 
}
 
/* Auto Grid END */
 
/* Auto Grid END */

2021年7月5日 (一) 11:41的版本