◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“模板:战术人形信息/styles.css”的版本间的差异
小 |
小 |
||
第30行: | 第30行: | ||
} | } | ||
#attr-table td { text-align: center; } | #attr-table td { text-align: center; } | ||
+ | .effect-table { flex: 1; } | ||
.effect-grid { border: 1px solid white; } | .effect-grid { border: 1px solid white; } | ||
.effect-grid td { | .effect-grid td { | ||
第40行: | 第41行: | ||
.effect-grid td.self-cell { background: white; } | .effect-grid td.self-cell { background: white; } | ||
.effect-grid td.effect-cell { background: #0fd; } | .effect-grid td.effect-cell { background: #0fd; } | ||
+ | .effect-table td { position: relative; } | ||
+ | .effect-table:nth-of-type(2) > tbody > tr > td:last-child::before, .effect-caption { | ||
+ | color: black; | ||
+ | padding: 0 2px; | ||
+ | } | ||
+ | .effect-table:nth-of-type(2) > tbody > tr > td:last-child::before { | ||
+ | background: #f4c430; | ||
+ | content: '心智升级'; | ||
+ | position: absolute; | ||
+ | right: 0; | ||
+ | } | ||
+ | .effect-caption { background: white; } | ||
.effect-positive { color: #f4c430; } | .effect-positive { color: #f4c430; } | ||
.effect-negative { color: red; } | .effect-negative { color: red; } |
2023年3月26日 (日) 03:12的版本
#lv-input {
border: none;
height: 20px;
vertical-align: bottom;
}
#mod-toggle { display: none }
#mod-toggle + label {
background: #eee;
color: #555;
cursor: pointer;
display: inline-block;
font-weight: bold;
padding: 0 4px;
}
#mod-toggle:checked + label {
background: #f4c430;
color: #333;
}
.form1 col:nth-child(n+2),
.form2 col:nth-child(n+3),
.form3 col:nth-child(n+4),
.form4 col:last-child { visibility: collapse; }
#attr-table table {
max-width: 640px;
width: 100%;
}
#attr-table th {
background-position: -12px;
background-repeat: no-repeat;
}
#attr-table td { text-align: center; }
.effect-table { flex: 1; }
.effect-grid { border: 1px solid white; }
.effect-grid td {
background: #555;
border: 1px solid #333;
border-collapse: collapse;
height: 1.5em;
width: 1.5em;
}
.effect-grid td.self-cell { background: white; }
.effect-grid td.effect-cell { background: #0fd; }
.effect-table td { position: relative; }
.effect-table:nth-of-type(2) > tbody > tr > td:last-child::before, .effect-caption {
color: black;
padding: 0 2px;
}
.effect-table:nth-of-type(2) > tbody > tr > td:last-child::before {
background: #f4c430;
content: '心智升级';
position: absolute;
right: 0;
}
.effect-caption { background: white; }
.effect-positive { color: #f4c430; }
.effect-negative { color: red; }
#unit-image-showcase {
align-items: flex-start;
display: flex;
flex-wrap: wrap;
}
#unit-image-selector {
list-style: none;
z-index: 1;
}
#unit-image-selector li {
background-color: #444;
border-left: 4px solid;
border-color: #777;
cursor: pointer;
height: 45px;
margin: 2px 0;
padding: 10px 1em 0;
position: relative;
text-align: center;
}
#unit-image-selector li:active { background-color: #333; }
#unit-image-selector .active-item { border-color: #ffb400; }
#unit-image-selector span { display: block; }
.live2d1::after { content: 'Live2D'; }
.live2d2::after { content: '动态'; }
.live2d1::after, .live2d2::after {
background: #ffb400;
border-radius: 2px;
color: #000;
font-size: 70%;
padding: 0 2px;
position: absolute;
right: -0.7em;
top: 0;
}
#unit-image-display {
height: 512px;
max-width: 100%;
position: relative;
width: 512px;
z-index: 0;
}
#unit-image-display canvas {
height: 512px;
max-width: 100%;
position: absolute;
top: 0;
width: 512px;
}
.motion-tab0, .motion-tab1, .hit-tab {
border-radius: 12px;
cursor: pointer;
margin: 2px 0;
padding: 0 8px 2px;
}
.motion-tab0 { background: blue; }
.motion-tab1 { background: gold; color: #000; margin-left: 1em; }
.hit-tab { background: green; }
.hit-tab::after { content: ' >'; }
.disabled { display: none; }