User:弃权者/Template:少女前线信息/styles.css:修订间差异
来自OGAS数据中枢
更多操作
弃权者将页面User:弃权者/Template:少女前线信息/styles.css的内容模型从“CSS”更改为“已过滤的CSS” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
. | .gf-infobox { | ||
width: | display: flex; | ||
margin: 0 | |||
width: 100%; | |||
border: 1px solid | max-width: 960px; | ||
font-size: | border: 1px solid #c8ccd1; | ||
color: | |||
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; | box-sizing: border-box; | ||
word-break: break-word; | |||
} | |||
/* gallery */ | |||
.gf-gallery { | |||
position: relative; | |||
width: 100%; | |||
height: 100%; | |||
} | |||
/* radio */ | |||
.gf-radio { | |||
display: none; | |||
} | } | ||
.gf- | /* 图片容器 */ | ||
.gf-images { | |||
position: relative; | |||
width: 100%; | width: 100%; | ||
min-height: 720px; | |||
} | } | ||
.gf- | |||
/* 图片 */ | |||
.gf-image { | |||
display: none; | |||
width: 100%; | |||
text-align: center; | 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 { | |||
.gf- | |||
display: block; | display: block; | ||
} | } | ||
#gf-skin-3:checked ~ .gf-images .img3 { | |||
display: block; | |||
} | } | ||
#gf-skin-4:checked ~ .gf-images .img4 { | |||
display: block; | |||
} | } | ||
.gf- | /* tabs */ | ||
.gf-tabs { | |||
position: absolute; | |||
bottom: 0; | |||
width: 100%; | |||
padding: 10px; | |||
text-align: center; | text-align: center; | ||
background | |||
background: rgba(255,255,255,0.95); | |||
border- | |||
border-top: 1px solid #eaecf0; | |||
box-sizing: border-box; | |||
} | } | ||
.gf- | .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- | .gf-tabs label:hover { | ||
background: #d8dde3; | |||
} | } | ||
/* 相关人士 */ | |||
.gf-related { | |||
line-height: 1.7; | |||
} | |||
/* 移动端 */ | |||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
. | |||
.gf-infobox { | |||
flex-direction: column; | |||
} | } | ||
.gf- | .gf-left, | ||
.gf-right { | |||
width: 100%; | width: 100%; | ||
} | } | ||
.gf- | .gf-left { | ||
.gf- | |||
border-right: none; | |||
border-bottom: 1px solid #eaecf0; | |||
} | |||
.gf-images { | |||
min-height: auto; | |||
} | |||
.gf-image img { | |||
max-height: 500px; | |||
} | } | ||
} | } | ||
2026年5月14日 (四) 23:54的版本
.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;
}
}