User:弃权者/Template:少女前线信息/styles.css:修订间差异
来自OGAS数据中枢
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
.gf-infobox-new { | |||
.gf-infobox- | |||
display: flex; | display: flex; | ||
flex- | flex-wrap: wrap; | ||
max-width: 700px; | |||
margin: 0 0 1em 1em; | |||
background-color: var(--background-color-neutral-subtle, #f8f9fa); | |||
border: 1px solid var(--border-color-subtle, #c8ccd1); | border: 1px solid var(--border-color-subtle, #c8ccd1); | ||
border-radius: 4px; | border-radius: 4px; | ||
overflow: hidden; | overflow: hidden; | ||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |||
} | } | ||
/* | /* 左侧面板 - 立绘区域 */ | ||
.gf- | .gf-left-panel { | ||
flex: 0 0 | flex: 0 0 320px; | ||
background-color: var(--background-color-base, #ffffff); | |||
border-right: 1px solid var(--border-color-subtle, #eaecf0); | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
/* | .gf-image-container { | ||
.gf- | flex: 1; | ||
flex: 1 | display: flex; | ||
min-width: | align-items: center; | ||
justify-content: center; | |||
padding: 15px; | |||
min-height: 350px; | |||
background: linear-gradient(135deg, | |||
var(--background-color-neutral-subtle, #f0f2f5) 0%, | |||
var(--background-color-base, #ffffff) 100%); | |||
} | |||
.gf-image-container img { | |||
max-width: 100%; | |||
max-height: 400px; | |||
object-fit: contain; | |||
transition: opacity 0.3s ease; | |||
} | |||
/* 缩略图栏 */ | |||
.gf-thumbnail-bar { | |||
display: flex; | |||
gap: 8px; | |||
padding: 10px; | |||
background-color: var(--background-color-neutral-subtle, #f8f9fa); | |||
border-top: 1px solid var(--border-color-subtle, #eaecf0); | |||
overflow-x: auto; | |||
justify-content: center; | |||
} | |||
.gf-thumb-item { | |||
cursor: pointer; | |||
border: 2px solid transparent; | |||
border-radius: 4px; | |||
overflow: hidden; | |||
transition: all 0.2s ease; | |||
opacity: 0.7; | |||
} | |||
.gf-thumb-item:hover { | |||
opacity: 0.9; | |||
border-color: var(--color-link, #b0b0b0); | |||
} | |||
.gf-thumb-item.active { | |||
opacity: 1; | |||
border-color: #007bff; | |||
box-shadow: 0 0 8px rgba(0,123,255,0.3); | |||
} | |||
.gf-thumb-item img { | |||
display: block; | |||
width: 60px; | |||
height: 60px; | |||
object-fit: cover; | |||
} | |||
/* 右侧面板 - 信息区域 */ | |||
.gf-right-panel { | |||
flex: 1; | |||
min-width: 250px; | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
.gf-info-header { | |||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |||
color: white; | |||
font-weight: bold; | |||
font-size: 1.2em; | |||
padding: 15px 20px; | |||
text-align: center; | |||
text-shadow: 1px 1px 2px rgba(0,0,0,0.2); | |||
} | |||
.gf-info-table { | .gf-info-table { | ||
width: 100%; | width: 100%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
flex: 1; | |||
table- | } | ||
.gf-info-table tr { | |||
border-bottom: 1px solid var(--border-color-subtle, #eaecf0); | |||
} | |||
.gf-info-table tr:last-child { | |||
border-bottom: none; | |||
} | } | ||
.gf-info-table th { | .gf-info-table th { | ||
background: var(--background-color-neutral-subtle, #f8f9fa); | background-color: var(--background-color-neutral-subtle, #f8f9fa); | ||
color: var(--color-base, #202122); | color: var(--color-base, #202122); | ||
text-align: left; | text-align: left; | ||
padding: | padding: 10px 15px; | ||
white-space: nowrap; | white-space: nowrap; | ||
font-weight: bold; | font-weight: bold; | ||
width: 30%; | |||
border-right: 1px solid var(--border-color-subtle, #eaecf0); | |||
} | } | ||
.gf-info-table td { | .gf-info-table td { | ||
padding: | padding: 10px 15px; | ||
color: var(--color-base, #202122); | |||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
.gf- | .gf-related { | ||
padding: 10px 15px; | |||
background-color: var(--background-color-neutral-subtle, #f8f9fa); | |||
border-top: 1px solid var(--border-color-subtle, #eaecf0); | |||
} | } | ||
.gf-related strong { | |||
.gf- | display: block; | ||
margin-bottom: 5px; | |||
color: var(--color-emphasized, #000000); | |||
} | } | ||
/* 响应式设计 */ | |||
@media screen and (max-width: 768px) { | |||
.gf-infobox-new { | |||
/* | |||
@media screen and (max-width: | |||
.gf-infobox- | |||
flex-direction: column; | flex-direction: column; | ||
width: 100%; | margin: 1em 0; | ||
max-width: 100%; | |||
} | } | ||
.gf- | .gf-left-panel { | ||
flex: | flex: 0 0 auto; | ||
border-right: none; | border-right: none; | ||
border-bottom: 1px solid var(--border-color-subtle, # | border-bottom: 1px solid var(--border-color-subtle, #eaecf0); | ||
} | } | ||
.gf- | .gf-image-container { | ||
.gf- | min-height: 250px; | ||
} | |||
.gf-right-panel { | |||
min-width: 100%; | |||
} | } | ||
} | } | ||
2026年5月15日 (五) 10:56的版本
.gf-infobox-new {
display: flex;
flex-wrap: wrap;
max-width: 700px;
margin: 0 0 1em 1em;
background-color: var(--background-color-neutral-subtle, #f8f9fa);
border: 1px solid var(--border-color-subtle, #c8ccd1);
border-radius: 4px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* 左侧面板 - 立绘区域 */
.gf-left-panel {
flex: 0 0 320px;
background-color: var(--background-color-base, #ffffff);
border-right: 1px solid var(--border-color-subtle, #eaecf0);
display: flex;
flex-direction: column;
}
.gf-image-container {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 15px;
min-height: 350px;
background: linear-gradient(135deg,
var(--background-color-neutral-subtle, #f0f2f5) 0%,
var(--background-color-base, #ffffff) 100%);
}
.gf-image-container img {
max-width: 100%;
max-height: 400px;
object-fit: contain;
transition: opacity 0.3s ease;
}
/* 缩略图栏 */
.gf-thumbnail-bar {
display: flex;
gap: 8px;
padding: 10px;
background-color: var(--background-color-neutral-subtle, #f8f9fa);
border-top: 1px solid var(--border-color-subtle, #eaecf0);
overflow-x: auto;
justify-content: center;
}
.gf-thumb-item {
cursor: pointer;
border: 2px solid transparent;
border-radius: 4px;
overflow: hidden;
transition: all 0.2s ease;
opacity: 0.7;
}
.gf-thumb-item:hover {
opacity: 0.9;
border-color: var(--color-link, #b0b0b0);
}
.gf-thumb-item.active {
opacity: 1;
border-color: #007bff;
box-shadow: 0 0 8px rgba(0,123,255,0.3);
}
.gf-thumb-item img {
display: block;
width: 60px;
height: 60px;
object-fit: cover;
}
/* 右侧面板 - 信息区域 */
.gf-right-panel {
flex: 1;
min-width: 250px;
display: flex;
flex-direction: column;
}
.gf-info-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
font-weight: bold;
font-size: 1.2em;
padding: 15px 20px;
text-align: center;
text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.gf-info-table {
width: 100%;
border-collapse: collapse;
flex: 1;
}
.gf-info-table tr {
border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
}
.gf-info-table tr:last-child {
border-bottom: none;
}
.gf-info-table th {
background-color: var(--background-color-neutral-subtle, #f8f9fa);
color: var(--color-base, #202122);
text-align: left;
padding: 10px 15px;
white-space: nowrap;
font-weight: bold;
width: 30%;
border-right: 1px solid var(--border-color-subtle, #eaecf0);
}
.gf-info-table td {
padding: 10px 15px;
color: var(--color-base, #202122);
vertical-align: middle;
}
.gf-related {
padding: 10px 15px;
background-color: var(--background-color-neutral-subtle, #f8f9fa);
border-top: 1px solid var(--border-color-subtle, #eaecf0);
}
.gf-related strong {
display: block;
margin-bottom: 5px;
color: var(--color-emphasized, #000000);
}
/* 响应式设计 */
@media screen and (max-width: 768px) {
.gf-infobox-new {
flex-direction: column;
margin: 1em 0;
max-width: 100%;
}
.gf-left-panel {
flex: 0 0 auto;
border-right: none;
border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
}
.gf-image-container {
min-height: 250px;
}
.gf-right-panel {
min-width: 100%;
}
}