打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

User:弃权者/Template:少女前线信息/styles.css:修订间差异

来自OGAS数据中枢
弃权者留言 | 贡献
无编辑摘要
标签手工回退
弃权者留言 | 贡献
无编辑摘要
第2行: 第2行:
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     max-width: 700px;
    width: 100%;
     margin: 0 0 1em 1em;
     max-width: 100%;
     margin: 1em 0;
     background-color: var(--background-color-neutral-subtle, #f8f9fa);
     background-color: var(--background-color-neutral-subtle, #f8f9fa);
     border: 1px solid var(--border-color-subtle, #c8ccd1);
     border: 1px solid var(--border-color-subtle, #c8ccd1);
第9行: 第10行:
     overflow: hidden;
     overflow: hidden;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    float: right;
     clear: both;
     clear: right;
}
}


第27行: 第27行:
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     padding: 15px;
     padding: 20px;
     min-height: 350px;
     min-height: 350px;
     background: linear-gradient(135deg,  
     background: linear-gradient(135deg,  
第36行: 第36行:
.gf-image-container img {
.gf-image-container img {
     max-width: 100%;
     max-width: 100%;
     max-height: 400px;
     max-height: 420px;
     object-fit: contain;
     object-fit: contain;
     transition: opacity 0.3s ease;
     transition: opacity 0.3s ease;
第44行: 第44行:
.gf-thumbnail-bar {
.gf-thumbnail-bar {
     display: flex;
     display: flex;
     gap: 8px;
     gap: 6px;
     padding: 10px;
     padding: 8px;
     background-color: var(--background-color-neutral-subtle, #f8f9fa);
     background-color: var(--background-color-neutral-subtle, #f8f9fa);
     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: center;
     justify-content: flex-start;
     flex-wrap: wrap;
     flex-wrap: wrap;
}
}
第56行: 第56行:
     cursor: pointer;
     cursor: pointer;
     border: 2px solid transparent;
     border: 2px solid transparent;
     border-radius: 4px;
     border-radius: 6px;
     overflow: hidden;
     overflow: hidden;
     transition: all 0.2s ease;
     transition: all 0.2s ease;
     opacity: 0.7;
     opacity: 0.75;
     display: inline-block;
     display: flex;
     line-height: 0;
    flex-direction: column;
     align-items: center;
    min-width: 64px;
    background: var(--background-color-base, #ffffff);
    padding: 2px;
}
}


.gf-thumb-item:hover {
.gf-thumb-item:hover {
     opacity: 0.9;
     opacity: 0.9;
     border-color: #a0a0a0;
     border-color: #999;
    transform: translateY(-2px);
}
}


第72行: 第77行:
     opacity: 1;
     opacity: 1;
     border-color: #007bff;
     border-color: #007bff;
     box-shadow: 0 0 8px rgba(0,123,255,0.3);
     box-shadow: 0 0 10px rgba(0,123,255,0.25);
    background: #f0f7ff;
}
}


.gf-thumb-item img {
.gf-thumb-img {
    line-height: 0;
    pointer-events: none;
}
 
.gf-thumb-img img {
     display: block;
     display: block;
     width: 60px;
     width: 60px;
     height: 60px;
     height: 60px;
     object-fit: cover;
     object-fit: cover;
    border-radius: 3px;
}
.gf-thumb-label {
    font-size: 0.7em;
    color: #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: #007bff;
    font-weight: bold;
}
}


第85行: 第114行:
.gf-right-panel {
.gf-right-panel {
     flex: 1;
     flex: 1;
     min-width: 250px;
     min-width: 280px;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
第147行: 第176行:
     .gf-infobox-new {
     .gf-infobox-new {
         flex-direction: column;
         flex-direction: column;
        margin: 1em 0;
        max-width: 100%;
        float: none;
     }
     }
      
      
第164行: 第190行:
     .gf-right-panel {
     .gf-right-panel {
         min-width: 100%;
         min-width: 100%;
    }
   
    .gf-thumbnail-bar {
        justify-content: center;
     }
     }
}
}

2026年5月15日 (五) 13:46的版本

.gf-infobox-new {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    margin: 1em 0;
    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);
    clear: both;
}

/* 左侧面板 - 立绘区域 */
.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: 20px;
    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: 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;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    opacity: 0.75;
    display: flex;
    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: #999;
    transform: translateY(-2px);
}

.gf-thumb-item.active {
    opacity: 1;
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0,123,255,0.25);
    background: #f0f7ff;
}

.gf-thumb-img {
    line-height: 0;
    pointer-events: none;
}

.gf-thumb-img img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
}

.gf-thumb-label {
    font-size: 0.7em;
    color: #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: #007bff;
    font-weight: bold;
}

/* 右侧面板 - 信息区域 */
.gf-right-panel {
    flex: 1;
    min-width: 280px;
    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;
    }
    
    .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%;
    }
    
    .gf-thumbnail-bar {
        justify-content: center;
    }
}