User:弃权者/Template:少女前线信息/styles.css
来自OGAS数据中枢
更多操作
.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 !important;
flex: 1;
table-layout: fixed;
border: none !important;
}
.gf-header-row {
background-color: var(--color-surface-2, #eeeeee) !important;
color: var(--color-base, #202122) !important;
font-weight: bold;
font-size: 1.1em;
padding: 12px !important;
text-align: center !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; }
}