User:弃权者/Template:少女前线信息/styles.css:修订间差异
来自OGAS数据中枢
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第5行: | 第5行: | ||
max-width: 100%; | max-width: 100%; | ||
margin: 1em 0; | margin: 1em 0; | ||
background-color: var(-- | background-color: var(--color-surface-0, #ffffff); | ||
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; | ||
clear: both; | clear: both; | ||
align-items: stretch; | |||
} | } | ||
.gf-left-panel { | .gf-left-panel { | ||
flex: 0 0 70%; | flex: 0 0 70%; | ||
background-color: var(-- | 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); | ||
display: flex; | display: flex; | ||
| 第27行: | 第27行: | ||
justify-content: center; | justify-content: center; | ||
padding: 20px; | padding: 20px; | ||
min-height: | min-height: 450px; | ||
background-color: var(-- | background-color: var(--color-surface-1, #f8f9fa); | ||
position: relative; | |||
} | |||
.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%; | |||
height: 100%; | |||
} | } | ||
.gf-image-container img { | .gf-image-container img { | ||
max-width: 100%; | max-width: 100%; | ||
max-height: | max-height: 500px; | ||
height: auto; | |||
width: auto; | |||
object-fit: contain; | object-fit: contain; | ||
transition: opacity 0.3s ease; | transition: opacity 0.3s ease; | ||
| 第40行: | 第55行: | ||
.gf-thumbnail-bar { | .gf-thumbnail-bar { | ||
display: flex; | display: flex; | ||
gap: | gap: 8px; | ||
padding: | padding: 12px; | ||
background-color: var(- | 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); | ||
overflow-x: auto; | overflow-x: auto; | ||
justify-content: | justify-content: center; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
} | } | ||
| 第51行: | 第66行: | ||
.gf-thumb-item { | .gf-thumb-item { | ||
cursor: pointer; | cursor: pointer; | ||
border: 2px solid transparent; | border: 2px solid transparent; | ||
border-radius: 6px; | border-radius: 6px; | ||
overflow: hidden; | overflow: hidden; | ||
transition: all 0.2s ease; | transition: all 0.2s ease; | ||
opacity: 0. | opacity: 0.8; | ||
display: flex; | |||
flex-direction: column; | flex-direction: column; | ||
align-items: center; | align-items: center; | ||
min-width: 64px; | min-width: 64px; | ||
background: var(-- | background: var(--color-surface-0, #ffffff); | ||
padding: 2px; | padding: 2px; | ||
} | } | ||
.gf-thumb-item:hover { | .gf-thumb-item:hover { | ||
opacity: | opacity: 1; | ||
border-color: var(- | border-color: var(--color-primary, #36c); | ||
} | } | ||
.gf-thumb-item.active { | .gf-thumb-item.active { | ||
opacity: 1; | opacity: 1; | ||
border-color: var(--color-primary, # | border-color: var(--color-primary, #36c); | ||
background: var(--color-primary--background, #eaf3ff); | |||
background: var(- | |||
} | } | ||
.gf-thumb- | .gf-thumb-img img { | ||
display: block; | display: block; | ||
width: 60px; | width: 60px; | ||
height: 60px; | height: 60px; | ||
object-fit: cover; | object-fit: cover; | ||
} | } | ||
.gf-thumb-label { | .gf-thumb-label { | ||
font-size: 0. | font-size: 0.75em; | ||
color: var(--color- | color: var(--color-base, #202122); | ||
padding: | padding: 4px 2px; | ||
text-align: center; | text-align: center; | ||
max-width: 70px; | max-width: 70px; | ||
| 第103行: | 第106行: | ||
text-overflow: ellipsis; | text-overflow: ellipsis; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
| 第116行: | 第113行: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
background-color: var(--color-surface-0, #ffffff); | |||
} | } | ||
.gf-info-header { | .gf-info-header { | ||
background-color: var(-- | background-color: var(--color-surface-2, #eeeeee); | ||
color: var(--color-base, #202122); | color: var(--color-base, #202122); | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 1. | font-size: 1.15em; | ||
padding: 15px | padding: 15px; | ||
text-align: center; | text-align: center; | ||
border-bottom: 1px solid var(--border-color-subtle, #eaecf0); | border-bottom: 1px solid var(--border-color-subtle, #eaecf0); | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
min-height: 60px; | |||
} | } | ||
| 第131行: | 第133行: | ||
width: 100%; | width: 100%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
margin: 0; | |||
flex: 1; | flex: 1; | ||
} | } | ||
| 第136行: | 第139行: | ||
.gf-info-table tr { | .gf-info-table tr { | ||
border-bottom: 1px solid var(--border-color-subtle, #eaecf0); | border-bottom: 1px solid var(--border-color-subtle, #eaecf0); | ||
} | } | ||
.gf-info-table th { | .gf-info-table th { | ||
background-color: var(-- | background-color: var(--color-surface-2, #f2f2f2); | ||
color: var(--color-base, #202122); | color: var(--color-base, #202122); | ||
text-align: left; | text-align: left; | ||
padding: | padding: 12px 15px; | ||
font-weight: bold; | font-weight: bold; | ||
width: | width: 35%; | ||
border-right: 1px solid var(--border-color-subtle, #eaecf0); | border-right: 1px solid var(--border-color-subtle, #eaecf0); | ||
} | } | ||
.gf-info-table td { | .gf-info-table td { | ||
padding: 12px 15px; | |||
padding: | |||
color: var(--color-base, #202122); | color: var(--color-base, #202122); | ||
vertical-align: middle; | vertical-align: middle; | ||
| 第161行: | 第158行: | ||
.gf-related { | .gf-related { | ||
padding: | padding: 15px; | ||
background-color: var(- | background-color: var(--color-surface-1, #f8f9fa); | ||
border-top: 1px solid var(--border-color-subtle, #eaecf0); | border-top: 1px solid var(--border-color-subtle, #eaecf0); | ||
font-size: 0.95em; | |||
} | } | ||
| 第176行: | 第168行: | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
.gf-left-panel { | .gf-left-panel { | ||
flex: 0 0 auto; | flex: 0 0 auto; | ||
width: 100%; | width: 100%; | ||
border-right: none; | border-right: none; | ||
} | } | ||
.gf-image-container { | .gf-image-container { | ||
min-height: | min-height: 300px; | ||
} | } | ||
} | } | ||
2026年5月15日 (五) 21:22的版本
.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 70%;
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: 20px;
min-height: 450px;
background-color: var(--color-surface-1, #f8f9fa);
position: relative;
}
.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%;
height: 100%;
}
.gf-image-container img {
max-width: 100%;
max-height: 500px;
height: auto;
width: auto;
object-fit: contain;
transition: opacity 0.3s ease;
}
.gf-thumbnail-bar {
display: flex;
gap: 8px;
padding: 12px;
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: 64px;
background: var(--color-surface-0, #ffffff);
padding: 2px;
}
.gf-thumb-item:hover {
opacity: 1;
border-color: var(--color-primary, #36c);
}
.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: 60px;
height: 60px;
object-fit: cover;
}
.gf-thumb-label {
font-size: 0.75em;
color: var(--color-base, #202122);
padding: 4px 2px;
text-align: center;
max-width: 70px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.gf-right-panel {
flex: 1;
min-width: 280px;
display: flex;
flex-direction: column;
background-color: var(--color-surface-0, #ffffff);
}
.gf-info-header {
background-color: var(--color-surface-2, #eeeeee);
color: var(--color-base, #202122);
font-weight: bold;
font-size: 1.15em;
padding: 15px;
text-align: center;
border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
display: flex;
align-items: center;
justify-content: center;
min-height: 60px;
}
.gf-info-table {
width: 100%;
border-collapse: collapse;
margin: 0;
flex: 1;
}
.gf-info-table tr {
border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
}
.gf-info-table th {
background-color: var(--color-surface-2, #f2f2f2);
color: var(--color-base, #202122);
text-align: left;
padding: 12px 15px;
font-weight: bold;
width: 35%;
border-right: 1px solid var(--border-color-subtle, #eaecf0);
}
.gf-info-table td {
padding: 12px 15px;
color: var(--color-base, #202122);
vertical-align: middle;
}
.gf-related {
padding: 15px;
background-color: var(--color-surface-1, #f8f9fa);
border-top: 1px solid var(--border-color-subtle, #eaecf0);
font-size: 0.95em;
}
@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;
}
}