User:弃权者/Template:少女前线信息/styles.css
来自OGAS数据中枢
更多操作
.gf-infobox-new {
display: flex;
flex-wrap: wrap;
width: 100%;
max-width: 100%;
margin: 1em 0;
background-color: var(--background-color-base, #ffffff);
border: 1px solid var(--border-color-subtle, #c8ccd1);
border-radius: 4px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
clear: both;
}
.gf-left-panel {
flex: 0 0 70%;
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: 20px;
min-height: 350px;
background-color: var(--background-color-base, #ffffff);
}
.gf-image-container img {
max-width: 100%;
max-height: 420px;
object-fit: contain;
transition: opacity 0.3s ease;
}
.gf-thumbnail-bar {
display: flex;
gap: 6px;
padding: 8px;
background-color: var(--background-color-neutral-subtle, #f8f9fa);
border-top: 1px solid var(--border-color-subtle, #eaecf0);
overflow-x: auto;
justify-content: flex-start;
flex-wrap: wrap;
}
.gf-thumb-item {
cursor: pointer;
display: inline-flex;
border: 2px solid transparent;
border-radius: 6px;
overflow: hidden;
transition: all 0.2s ease;
opacity: 0.75;
flex-direction: column;
align-items: center;
min-width: 64px;
background: var(--background-color-base, #ffffff);
padding: 2px;
}
.gf-thumb-item:hover {
opacity: 0.9;
border-color: var(--border-color-muted, #999);
transform: translateY(-2px);
}
.gf-thumb-item.active {
opacity: 1;
border-color: var(--color-primary, #007bff);
box-shadow: 0 0 10px rgba(0,123,255,0.25);
background: var(--background-color-primary-subtle, #f0f7ff);
}
.gf-thumb-img {
line-height: 0;
pointer-events: none;
}
.gf-thumb-item a {
pointer-events: none;
}
.gf-thumb-item img {
display: block;
width: 60px;
height: 60px;
object-fit: cover;
pointer-events: none;
}
.gf-thumb-label {
font-size: 0.7em;
color: var(--color-subtle, #666);
padding: 3px 5px;
text-align: center;
max-width: 70px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
pointer-events: none;
}
.gf-thumb-item.active .gf-thumb-label {
color: var(--color-primary, #007bff);
font-weight: bold;
}
.gf-right-panel {
flex: 1;
min-width: 280px;
display: flex;
flex-direction: column;
}
.gf-info-header {
background-color: var(--background-color-neutral, #eaecf0);
color: var(--color-base, #202122);
font-weight: bold;
font-size: 1.2em;
padding: 15px 20px;
text-align: center;
border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
}
.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, #eaecf0);
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 {
background-color: var(--background-color-base, #ffffff);
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-base, #202122);
}
@media screen and (max-width: 768px) {
.gf-infobox-new {
flex-direction: column;
}
.gf-left-panel {
flex: 0 0 auto;
width: 100%;
border-right: none;
border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
}
.gf-image-container {
min-height: 250px;
}
.gf-right-panel {
min-width: 100%;
}
.gf-thumbnail-bar {
justify-content: center;
}
}