◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“模板:战术人形信息/styles.css”的版本间的差异
(创建页面,内容为“#unit-image-showcase { align-items: flex-start; display: flex; flex-wrap: wrap; } #unit-image-selector { list-style: none; z-index: 1; } #unit-image-selector l…”) |
小 |
||
第42行: | 第42行: | ||
} | } | ||
#unit-image-display canvas { | #unit-image-display canvas { | ||
+ | height: 512px; | ||
max-width: 100%; | max-width: 100%; | ||
position: absolute; | position: absolute; | ||
第55行: | 第56行: | ||
} | } | ||
.motion-tab0 { background: blue; } | .motion-tab0 { background: blue; } | ||
− | .motion-tab1 { background: gold; color: #000; } | + | .motion-tab1 { background: gold; color: #000; margin-left: 1em; } |
.hit-tab { background: green; } | .hit-tab { background: green; } | ||
.hit-tab::after { content: ' >'; } | .hit-tab::after { content: ' >'; } |
2022年5月21日 (六) 22:45的版本
#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 {
max-width: 100%;
position: relative;
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: ' >'; }