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

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

来自少前百科GFwiki
跳转至: 导航搜索
第1行: 第1行:
 
<includeonly><style type="text/css">
 
<includeonly><style type="text/css">
 
/* 紧凑模式 */
 
/* 紧凑模式 */
@media screen and (max-width: 720px){
+
table#Tdolltable.cardMode > tbody {display:block;width:100%}
 
+
table#Tdolltable.cardMode thead {display:none}
table#Tdolltable > tbody {display:block;width:100%}
+
table#Tdolltable.cardMode > tbody > tr {
table#Tdolltable thead {display:none}
 
table#Tdolltable > tbody > tr {
 
 
     grid-template-columns: 16.6% 16.6% 16.6% 16.6% 16.6% 1fr;
 
     grid-template-columns: 16.6% 16.6% 16.6% 16.6% 16.6% 1fr;
 
     grid-template-rows: initial;
 
     grid-template-rows: initial;
第18行: 第16行:
 
   }
 
   }
  
table#Tdolltable > tbody > tr > td {
+
table#Tdolltable.cardMode > tbody > tr > td {
 
     background-color:rgba(119 119 119 /0.4);
 
     background-color:rgba(119 119 119 /0.4);
 
     margin:1px;
 
     margin:1px;
第32行: 第30行:
 
   }
 
   }
  
table#Tdolltable > tbody > tr > td:nth-child(1) {grid-column: 1/span 2;grid-row-start:1;}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(1) {grid-column: 1/span 2;grid-row-start:1;}
 +
 
 +
table#Tdolltable.cardMode > tbody > tr > td:nth-child(2) {grid-column: 1/span 2;grid-row-start:2;}
  
table#Tdolltable > tbody > tr > td:nth-child(2) {grid-column: 1/span 2;grid-row-start:2;}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(3) {grid-column: 5/span 2;grid-row:1/span 2;}
  
table#Tdolltable > tbody > tr > td:nth-child(3) {grid-column: 5/span 2;grid-row:1/span 2;}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(4) {grid-column: 3/span 2;grid-row:1/span 2;}
 +
table#Tdolltable.cardMode > tbody > tr > td:nth-child(4) br {content:" ";display:none}
 +
table#Tdolltable.cardMode > tbody > tr > td:nth-child(4)::before {content:"人形类别";font-weight:bold;color:#f4c430}
  
table#Tdolltable > tbody > tr > td:nth-child(4) {grid-column: 3/span 2;grid-row:1/span 2;}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(5) {grid-column: auto/span 1;grid-row-start:span 1}
table#Tdolltable > tbody > tr > td:nth-child(4) br {content:" ";display:none}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(5)::before {content:"生命值";white-space:pre;font-weight:bold;color:#f4c430}
table#Tdolltable > tbody > tr > td:nth-child(4)::before {content:"人形类别";font-weight:bold;color:#f4c430}
 
  
table#Tdolltable > tbody > tr > td:nth-child(5) {grid-column: auto/span 1;grid-row-start:span 1}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(6) {grid-column: auto/span 1;}
table#Tdolltable > tbody > tr > td:nth-child(5)::before {content:"生命值";white-space:pre;font-weight:bold;color:#f4c430}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(6)::before {content:"伤害\A";white-space:pre;font-weight:bold;color:#f4c430}
  
table#Tdolltable > tbody > tr > td:nth-child(6) {grid-column: auto/span 1;}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(7) {grid-column: auto/span 1;}
table#Tdolltable > tbody > tr > td:nth-child(6)::before {content:"伤害\A";white-space:pre;font-weight:bold;color:#f4c430}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(7)::before {content:"射速\A";white-space:pre;font-weight:bold;color:#f4c430}
  
table#Tdolltable > tbody > tr > td:nth-child(7) {grid-column: auto/span 1;}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(8) {grid-column: auto/span 1;}
table#Tdolltable > tbody > tr > td:nth-child(7)::before {content:"射速\A";white-space:pre;font-weight:bold;color:#f4c430}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(8)::before {content:"命中\A";white-space:pre;font-weight:bold;color:#f4c430}
  
table#Tdolltable > tbody > tr > td:nth-child(8) {grid-column: auto/span 1;}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(9) {grid-column: auto/span 1;}
table#Tdolltable > tbody > tr > td:nth-child(8)::before {content:"命中\A";white-space:pre;font-weight:bold;color:#f4c430}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(9)::before {content:"回避\A";white-space:pre;font-weight:bold;color:#f4c430}
  
table#Tdolltable > tbody > tr > td:nth-child(9) {grid-column: auto/span 1;}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(10) {grid-column: auto/span 1;}
table#Tdolltable > tbody > tr > td:nth-child(9)::before {content:"回避\A";white-space:pre;font-weight:bold;color:#f4c430}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(10)::before {content:"护甲\A";white-space:pre;font-weight:bold;color:#f4c430}
 +
table#Tdolltable.cardMode > tbody > tr > td:nth-child(10):empty::after {content:"N/A"}
  
table#Tdolltable > tbody > tr > td:nth-child(10) {grid-column: auto/span 1;}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(11) {grid-column: auto/span 2;}
table#Tdolltable > tbody > tr > td:nth-child(10)::before {content:"护甲\A";white-space:pre;font-weight:bold;color:#f4c430}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(11)::before {content:"建造时间\A";white-space:pre;font-weight:bold;color:#f4c430}
table#Tdolltable > tbody > tr > td:nth-child(10):empty::after {content:"N/A"}
 
  
table#Tdolltable > tbody > tr > td:nth-child(11) {grid-column: auto/span 2;}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(12) {grid-column: auto/span 4;}
table#Tdolltable > tbody > tr > td:nth-child(11)::before {content:"建造时间\A";white-space:pre;font-weight:bold;color:#f4c430}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(12) > * > * {margin:0.25rem 0.2rem}
  
table#Tdolltable > tbody > tr > td:nth-child(12) {grid-column: auto/span 2;}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(13) {grid-column: auto/span 6;}
table#Tdolltable > tbody > tr > td:nth-child(12) > * {margin:0.25rem 0.2rem}
+
table#Tdolltable.cardMode > tbody > tr > td:nth-child(13)::before {content:"获得方式\A";white-space:pre;font-weight:bold;color:#f4c430}
table#Tdolltable > tbody td.tiles table{width:100%;display:table}
 
  
table#Tdolltable > tbody > tr > td:nth-child(13) {grid-column: auto/span 6;}
 
table#Tdolltable > tbody > tr > td:nth-child(13)::before {content:"获得方式\A";white-space:pre;font-weight:bold;color:#f4c430}
 
}
 
 
/* 紧凑end */
 
/* 紧凑end */
 
.error {background-color: red;font-size: inherit;color: inherit;}
 
.error {background-color: red;font-size: inherit;color: inherit;}

2021年7月5日 (一) 17:04的版本