User:弃权者/Template:少女前线信息/styles.css
来自OGAS数据中枢
更多操作
.gf-infobox {
display: flex;
width: 100%;
max-width: 960px;
border: 1px solid #c8ccd1;
background: #fff;
margin: 1em 0;
box-sizing: border-box;
}
/* 左边 */
.gf-left {
width: 42%;
background: #f8f9fa;
border-right: 1px solid #eaecf0;
position: relative;
}
/* 右边 */
.gf-right {
width: 58%;
padding: 16px;
box-sizing: border-box;
}
/* 标题 */
.gf-title {
font-size: 1.6em;
font-weight: bold;
margin-bottom: 16px;
padding-bottom: 10px;
border-bottom: 1px solid #eaecf0;
}
/* section */
.gf-section {
margin-bottom: 18px;
}
.gf-section-title {
font-size: 1.05em;
font-weight: bold;
margin-bottom: 10px;
color: #54595d;
}
/* 数据 */
.gf-data {
display: flex;
flex-direction: column;
}
.gf-row {
display: flex;
border-bottom: 1px solid #eaecf0;
}
.gf-label {
width: 90px;
padding: 8px;
background: #f8f9fa;
font-weight: bold;
box-sizing: border-box;
}
.gf-value {
flex: 1;
padding: 8px;
box-sizing: border-box;
word-break: break-word;
}
/* gallery */
.gf-gallery {
position: relative;
width: 100%;
height: 100%;
}
/* radio */
.gf-radio {
display: none;
}
/* 图片容器 */
.gf-images {
position: relative;
width: 100%;
min-height: 720px;
}
/* 图片 */
.gf-image {
display: none;
width: 100%;
text-align: center;
padding: 12px;
box-sizing: border-box;
}
.gf-image img {
max-width: 100%;
max-height: 700px;
object-fit: contain;
}
/* 切换 */
#gf-skin-1:checked ~ .gf-images .img1 {
display: block;
}
#gf-skin-2:checked ~ .gf-images .img2 {
display: block;
}
#gf-skin-3:checked ~ .gf-images .img3 {
display: block;
}
#gf-skin-4:checked ~ .gf-images .img4 {
display: block;
}
/* tabs */
.gf-tabs {
position: absolute;
bottom: 0;
width: 100%;
padding: 10px;
text-align: center;
background: rgba(255,255,255,0.95);
border-top: 1px solid #eaecf0;
box-sizing: border-box;
}
.gf-tabs label {
display: inline-block;
padding: 5px 12px;
margin: 0 4px;
background: #eaecf0;
border-radius: 4px;
cursor: pointer;
font-size: 0.9em;
transition: 0.15s;
}
.gf-tabs label:hover {
background: #d8dde3;
}
/* 相关人士 */
.gf-related {
line-height: 1.7;
}
/* 移动端 */
@media screen and (max-width: 768px) {
.gf-infobox {
flex-direction: column;
}
.gf-left,
.gf-right {
width: 100%;
}
.gf-left {
border-right: none;
border-bottom: 1px solid #eaecf0;
}
.gf-images {
min-height: auto;
}
.gf-image img {
max-height: 500px;
}
}