User:弃权者/Template:少女前线信息/styles.css:修订间差异
来自OGAS数据中枢
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第14行: | 第14行: | ||
.gf-left-panel { | .gf-left-panel { | ||
flex: 0 0 | flex: 0 0 60%; | ||
background-color: var(--color-surface-1, #f8f9fa); | background-color: var(--color-surface-1, #f8f9fa); | ||
border-right: 1px solid var(--border-color-subtle, #eaecf0); | border-right: 1px solid var(--border-color-subtle, #eaecf0); | ||
| 第26行: | 第26行: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
padding: | padding: 10px; | ||
min-height: | min-height: 400px; | ||
background-color: var(--color-surface-1, #f8f9fa); | background-color: var(--color-surface-1, #f8f9fa); | ||
} | } | ||
| 第41行: | 第40行: | ||
justify-content: center; | justify-content: center; | ||
width: 100%; | width: 100%; | ||
} | } | ||
.gf-image-container img { | .gf-image-container img, | ||
max-width: 100%; | .gf-main-img img { | ||
max-height: | max-width: 100% !important; | ||
height: auto; | max-height: 450px !important; | ||
width: auto; | height: auto !important; | ||
width: auto !important; | |||
object-fit: contain; | object-fit: contain; | ||
transition: opacity 0.3s ease; | transition: opacity 0.3s ease; | ||
| 第55行: | 第54行: | ||
.gf-thumbnail-bar { | .gf-thumbnail-bar { | ||
display: flex; | display: flex; | ||
gap: | gap: 6px; | ||
padding: | padding: 8px; | ||
background-color: var(--color-surface-2, #f0f0f0); | background-color: var(--color-surface-2, #f0f0f0); | ||
border-top: 1px solid var(--border-color-subtle, #eaecf0); | border-top: 1px solid var(--border-color-subtle, #eaecf0); | ||
| 第74行: | 第73行: | ||
flex-direction: column; | flex-direction: column; | ||
align-items: center; | align-items: center; | ||
min-width: | min-width: 60px; | ||
background: var(--color-surface-0, #ffffff); | background: var(--color-surface-0, #ffffff); | ||
padding: 2px; | padding: 2px; | ||
} | } | ||
| 第92行: | 第86行: | ||
.gf-thumb-img img { | .gf-thumb-img img { | ||
display: block; | display: block; | ||
width: | width: 50px; | ||
height: | height: 50px; | ||
object-fit: cover; | object-fit: cover; | ||
} | } | ||
.gf-thumb-label { | .gf-thumb-label { | ||
font-size: 0. | font-size: 0.7em; | ||
color: var(--color-base, #202122); | color: var(--color-base, #202122); | ||
padding: | padding: 2px; | ||
text-align: center; | text-align: center; | ||
max-width: | max-width: 60px; | ||
overflow: hidden; | overflow: hidden; | ||
text-overflow: ellipsis; | text-overflow: ellipsis; | ||
| 第110行: | 第104行: | ||
.gf-right-panel { | .gf-right-panel { | ||
flex: 1; | flex: 1; | ||
min-width: | min-width: 250px; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
background-color: var(--color-surface-0, #ffffff); | background-color: var(--color-surface-0, #ffffff); | ||
} | } | ||
| 第135行: | 第115行: | ||
margin: 0; | margin: 0; | ||
flex: 1; | flex: 1; | ||
table-layout: fixed; | |||
} | } | ||
.gf- | .gf-header-row th { | ||
border-bottom: 1px solid var(--border-color-subtle, #eaecf0); | background-color: var(--color-surface-2, #eeeeee); | ||
color: var(--color-base, #202122); | |||
font-weight: bold; | |||
font-size: 1.1em; | |||
padding: 12px; | |||
text-align: center; | |||
border-bottom: 1px solid var(--border-color-subtle, #eaecf0) !important; | |||
} | } | ||
| 第145行: | 第132行: | ||
color: var(--color-base, #202122); | color: var(--color-base, #202122); | ||
text-align: left; | text-align: left; | ||
padding: 12px | padding: 8px 12px; | ||
font-weight: bold; | font-weight: bold; | ||
width: 35%; | width: 35%; | ||
border-right: 1px solid var(--border-color-subtle, #eaecf0); | border-right: 1px solid var(--border-color-subtle, #eaecf0); | ||
border-bottom: 1px solid var(--border-color-subtle, #eaecf0); | |||
} | } | ||
.gf-info-table td { | .gf-info-table td { | ||
padding: 12px | padding: 8px 12px; | ||
color: var(--color-base, #202122); | color: var(--color-base, #202122); | ||
vertical-align: middle; | vertical-align: middle; | ||
border-bottom: 1px solid var(--border-color-subtle, #eaecf0); | |||
word-break: break-all; | |||
} | } | ||
.gf-related { | .gf-related { | ||
padding: | padding: 10px 12px; | ||
background-color: var(--color-surface-1, #f8f9fa); | background-color: var(--color-surface-1, #f8f9fa); | ||
font-size: 0.9em; | |||
font-size: 0. | |||
} | } | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
.gf-infobox-new { | .gf-infobox-new { flex-direction: column; } | ||
.gf-left-panel { flex: 0 0 auto; width: 100%; border-right: none; } | |||
.gf-image-container { min-height: 300px; } | |||
.gf-left-panel { | |||
.gf-image-container { | |||
} | } | ||
2026年5月15日 (五) 21:46的版本
.gf-infobox-new {
display: flex;
flex-wrap: wrap;
width: 100%;
max-width: 100%;
margin: 1em 0;
background-color: var(--color-surface-0, #ffffff);
border: 1px solid var(--border-color-subtle, #c8ccd1);
border-radius: 4px;
overflow: hidden;
clear: both;
align-items: stretch;
}
.gf-left-panel {
flex: 0 0 60%;
background-color: var(--color-surface-1, #f8f9fa);
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: 10px;
min-height: 400px;
background-color: var(--color-surface-1, #f8f9fa);
}
.gf-image-container pre {
background-color: transparent !important;
border: none !important;
margin: 0 !important;
padding: 0 !important;
display: flex !important;
align-items: center;
justify-content: center;
width: 100%;
}
.gf-image-container img,
.gf-main-img img {
max-width: 100% !important;
max-height: 450px !important;
height: auto !important;
width: auto !important;
object-fit: contain;
transition: opacity 0.3s ease;
}
.gf-thumbnail-bar {
display: flex;
gap: 6px;
padding: 8px;
background-color: var(--color-surface-2, #f0f0f0);
border-top: 1px solid var(--border-color-subtle, #eaecf0);
overflow-x: auto;
justify-content: center;
flex-wrap: wrap;
}
.gf-thumb-item {
cursor: pointer;
border: 2px solid transparent;
border-radius: 6px;
overflow: hidden;
transition: all 0.2s ease;
opacity: 0.8;
display: flex;
flex-direction: column;
align-items: center;
min-width: 60px;
background: var(--color-surface-0, #ffffff);
padding: 2px;
}
.gf-thumb-item.active {
opacity: 1;
border-color: var(--color-primary, #36c);
background: var(--color-primary--background, #eaf3ff);
}
.gf-thumb-img img {
display: block;
width: 50px;
height: 50px;
object-fit: cover;
}
.gf-thumb-label {
font-size: 0.7em;
color: var(--color-base, #202122);
padding: 2px;
text-align: center;
max-width: 60px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.gf-right-panel {
flex: 1;
min-width: 250px;
display: flex;
flex-direction: column;
background-color: var(--color-surface-0, #ffffff);
}
.gf-info-table {
width: 100%;
border-collapse: collapse;
margin: 0;
flex: 1;
table-layout: fixed;
}
.gf-header-row th {
background-color: var(--color-surface-2, #eeeeee);
color: var(--color-base, #202122);
font-weight: bold;
font-size: 1.1em;
padding: 12px;
text-align: center;
border-bottom: 1px solid var(--border-color-subtle, #eaecf0) !important;
}
.gf-info-table th {
background-color: var(--color-surface-2, #f2f2f2);
color: var(--color-base, #202122);
text-align: left;
padding: 8px 12px;
font-weight: bold;
width: 35%;
border-right: 1px solid var(--border-color-subtle, #eaecf0);
border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
}
.gf-info-table td {
padding: 8px 12px;
color: var(--color-base, #202122);
vertical-align: middle;
border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
word-break: break-all;
}
.gf-related {
padding: 10px 12px;
background-color: var(--color-surface-1, #f8f9fa);
font-size: 0.9em;
}
@media screen and (max-width: 768px) {
.gf-infobox-new { flex-direction: column; }
.gf-left-panel { flex: 0 0 auto; width: 100%; border-right: none; }
.gf-image-container { min-height: 300px; }
}