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

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

来自OGAS数据中枢
弃权者留言 | 贡献
无编辑摘要
弃权者留言 | 贡献
无编辑摘要
 
(未显示同一用户的48个中间版本)
第3行: 第3行:
     flex-wrap: wrap;
     flex-wrap: wrap;
     width: 100%;
     width: 100%;
     max-width: 100%;
     margin-top: 1em;
    margin: 1em 0;
     background-color: var(--color-surface-0);
     background-color: var(--background-color-neutral-subtle, #f8f9fa);
     border: 1px solid var(--border-color-subtle);
     border: 1px solid var(--border-color-subtle, #c8ccd1);
     border-radius: 8px;
     border-radius: 4px;
     overflow: hidden;
     overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
     clear: both;
     clear: both;
}
}


/* 左侧面板 - 立绘区域 */
.gf-left-panel {
.gf-left-panel {
     flex: 0 0 320px;
     flex: 0 0 70%;
     background-color: var(--background-color-base, #ffffff);
     border-right: 1px solid var(--border-color-subtle);
     border-right: 1px solid var(--border-color-subtle, #eaecf0);
     position: relative;
     display: flex;
    overflow: hidden;
     flex-direction: column;
    background-image: url('/wiki/Special:FilePath/图鉴背景.jpg');
    background-size: cover;
     background-position: center bottom;
     background-repeat: no-repeat;
}
}


.gf-image-container {
.gf-image-container {
     flex: 1;
     height: 480px;
     display: flex;
     display: flex;
     align-items: center;
     align-items: flex-end;
     justify-content: center;
     justify-content: center;
     padding: 20px;
     padding: 10px 10px 0 10px;
     min-height: 350px;
     cursor: default;
     background: linear-gradient(135deg,  
     position: relative;
        var(--background-color-neutral-subtle, #f0f2f5) 0%,
}
        var(--background-color-base, #ffffff) 100%);
 
.gf-main-img,
.gf-main-img a,
.gf-main-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
}


.gf-image-container img {
.gf-image-container img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
     transition: opacity 0.3s ease;
     transition: opacity 0.3s ease;
}
}


/* 缩略图栏 */
.gf-image-container.loading img {
.gf-thumbnail-bar {
    filter: grayscale(1) opacity(0.5);
}
 
.gf-view-original {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    background-color: var(--color-surface-3);
    border: 1px solid var(--border-color-subtle);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
}
 
.gf-view-original:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
    transform: scale(1.1);
}
 
.gf-bg-selector {
    position: absolute;
    right: 50px;
    bottom: 12px;
    width: 150px;
    height: 32px;
    z-index: 10;
    padding: 0 8px;
    font-size: 13px;
    border-radius: 4px;
    background-color: var(--color-surface-3);
    border: 1px solid var(--border-color-subtle);
    color: var(--color-base);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
}
 
.gf-bg-selector:focus {
    outline: none;
    border-color: var(--color-primary);
}
 
.gf-switcher-overlay {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 20;
     display: flex;
     display: flex;
    flex-direction: column;
     gap: 6px;
     gap: 6px;
     padding: 8px;
      
    background-color: var(--background-color-neutral-subtle, #f8f9fa);
     max-height: calc(100% - 60px);
     border-top: 1px solid var(--border-color-subtle, #eaecf0);
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
}
}


.gf-thumb-item {
.gf-switcher-toggle {
    width: 32px;
    height: 32px;
    background: var(--background-color-interactive-subtle, var(--color-surface-3));
    border: 1px solid var(--border-color-subtle);
    border-radius: 4px;
     cursor: pointer;
     cursor: pointer;
    display: inline-flex;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    opacity: 0.75;
     display: flex;
     display: flex;
    flex-direction: column;
     align-items: center;
     align-items: center;
     min-width: 64px;
     justify-content: center;
     background: var(--background-color-base, #ffffff);
     color: var(--color-base);
     padding: 2px;
     flex-shrink: 0;
    align-self: flex-start;
}
 
.gf-switcher-toggle:hover {
    background: var(--background-color-interactive, var(--color-surface-4));
}
}


.gf-thumb-item:hover {
.gf-switcher-toggle::before {
     opacity: 0.9;
     content: "≡";
     border-color: #999;
     font-weight: bold;
    transform: translateY(-2px);
}
}


.gf-thumb-item.active {
.gf-switcher-list {
     opacity: 1;
     display: flex;
     border-color: #007bff;
    flex-direction: column;
     box-shadow: 0 0 10px rgba(0,123,255,0.25);
    gap: 3px;
     background: #f0f7ff;
     overflow-y: auto;
     touch-action: pan-y;             
    transition: opacity 0.2s;
     padding-bottom: 4px;
    max-height: 380px;                
}
}


.gf-thumb-img {
.gf-switcher-overlay.collapsed .gf-switcher-list {
     line-height: 0;
     opacity: 0;
     pointer-events: none;
     pointer-events: none;
}
}


.gf-thumb-img img {
.gf-group-btn {
     display: block;
     background: rgba(0, 0, 0, 0.75) !important;
     width: 60px;
     border: 1px solid rgba(255, 255, 255, 0.6) !important;
     height: 60px;
    color: #fff !important;
     object-fit: cover;
    border-radius: 4px;
     border-radius: 3px;
    padding: 5px 10px;
    cursor: pointer;
     font-size: 12px;
     font-weight: bold;
     transition: background-color 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    user-select: none;
}
}


.gf-thumb-label {
.gf-group-btn:hover {
     font-size: 0.7em;
     background: rgba(50, 50, 50, 0.85) !important;
     color: #666;
     border-color: #fff !important;
    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 {
.gf-group-btn.active {
     color: #007bff;
     border-color: #ff8c00 !important;
     font-weight: bold;
     box-shadow: 0 0 5px rgba(255,140,0,0.5), 0 2px 4px rgba(0,0,0,0.25);
}
}


/* 右侧面板 - 信息区域 */
.gf-variant-list {
.gf-right-panel {
    flex: 1;
    min-width: 280px;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
    gap: 2px;
    padding-left: 10px;
    opacity: 1;
    transition: opacity 0.15s ease;
}
.gf-variant-list.collapsed {
    display: none;
}
.gf-switch-btn {
    background: rgba(0, 0, 0, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    color: #ddd !important;
    border-radius: 3px;
    padding: 3px 8px;
    cursor: pointer;
    font-size: 11px;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    user-select: none;
}
.gf-switch-btn::before {
    content: "·  ";
    opacity: 0.6;
}
}


.gf-info-header {
.gf-switch-btn:hover {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     background: rgba(40, 40, 40, 0.8) !important;
     color: white;
    border-color: #fff !important;
     font-weight: bold;
     color: #fff !important;
     font-size: 1.2em;
}
     padding: 15px 20px;
 
     text-align: center;
.gf-switch-btn.active {
     text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    background: rgba(20, 20, 20, 0.8) !important;
     border-color: #ff8c00 !important;
     border-width: 1px !important;    
     color: #fff !important;
     font-weight: normal !important;  
     box-shadow: 0 0 4px rgba(255,140,0,0.4), 0 1px 3px rgba(0,0,0,0.2);
}
}


.gf-info-table {
.gf-switch-btn.active::before {
     width: 100%;
     content: "▶  ";
     border-collapse: collapse;
     opacity: 1;
     flex: 1;
     color: #ff8c00;
}
}


.gf-info-table tr {
.gf-right-panel {
     border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
     flex: 1;
    min-width: 280px;
}
}


.gf-info-table tr:last-child {
.gf-info-table,
     border-bottom: none;
.gf-bottom-table {
    width: 100%;
     border-collapse: collapse;
    margin: 0 !important;
}
}


.gf-info-table th {
.gf-header-row {
     background-color: var(--background-color-neutral-subtle, #f8f9fa);
     background: var(--color-surface-2) !important;
     color: var(--color-base, #202122);
     padding: 10px !important;
     text-align: left;
     text-align: center !important;
    padding: 10px 15px;
    white-space: nowrap;
     font-weight: bold;
     font-weight: bold;
     width: 30%;
     color: var(--color-base);
    border-right: 1px solid var(--border-color-subtle, #eaecf0);
}
}


.gf-info-table td {
.gf-label {
     padding: 10px 15px;
    background: var(--color-surface-2);
     color: var(--color-base, #202122);
     padding: 8px 10px;
     vertical-align: middle;
     font-weight: bold;
    width: 1px;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color-subtle);
    border-right: 1px solid var(--border-color-subtle);
     color: var(--color-base);
}
}


.gf-related {
.gf-info-table td,
     padding: 10px 15px;
.gf-bottom-table td {
     background-color: var(--background-color-neutral-subtle, #f8f9fa);
     padding: 8px 12px;
     border-top: 1px solid var(--border-color-subtle, #eaecf0);
     border-bottom: 1px solid var(--border-color-subtle);
     color: var(--color-base);
}
}


.gf-related strong {
.gf-bottom-section {
     display: block;
     margin-top: 15px;
     margin-bottom: 5px;
     border: 1px solid var(--border-color-subtle);
     color: var(--color-emphasized, #000000);
    border-radius: 8px;
    overflow: hidden;
     background: var(--color-surface-0);
}
}


/* 响应式设计 */
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
     .gf-infobox-new {
     .gf-infobox-new {
         flex-direction: column;
         flex-direction: column;
     }
     }
   
 
     .gf-left-panel {
     .gf-left-panel {
         flex: 0 0 auto;
         flex: none;
        width: 100%;
         border-right: none;
         border-right: none;
         border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
         border-bottom: 1px solid var(--border-color-subtle);
     }
     }
   
 
     .gf-image-container {
     .gf-image-container {
         min-height: 250px;
        height: 65vw;
         min-height: 300px;
        align-items: center;
        padding: 10px;
     }
     }
      
      
     .gf-right-panel {
     .gf-group-btn {
         min-width: 100%;
         padding: 7px 12px;
        font-size: 13px;
     }
     }
   
 
     .gf-thumbnail-bar {
     .gf-switch-btn {
         justify-content: center;
         padding: 5px 10px;
        font-size: 12px;
     }
     }
}
}

2026年5月16日 (六) 15:07的最新版本

.gf-infobox-new {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 1em;
    background-color: var(--color-surface-0);
    border: 1px solid var(--border-color-subtle);
    border-radius: 8px;
    overflow: hidden;
    clear: both;
}

.gf-left-panel {
    flex: 0 0 70%;
    border-right: 1px solid var(--border-color-subtle);
    position: relative;
    overflow: hidden;
    background-image: url('/wiki/Special:FilePath/图鉴背景.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.gf-image-container {
    height: 480px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px 10px 0 10px;
    cursor: default;
    position: relative;
}

.gf-main-img,
.gf-main-img a,
.gf-main-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.gf-image-container img {
    transition: opacity 0.3s ease;
}

.gf-image-container.loading img {
    filter: grayscale(1) opacity(0.5);
}

.gf-view-original {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    background-color: var(--color-surface-3);
    border: 1px solid var(--border-color-subtle);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
}

.gf-view-original:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
    transform: scale(1.1);
}

.gf-bg-selector {
    position: absolute;
    right: 50px;
    bottom: 12px;
    width: 150px;
    height: 32px;
    z-index: 10;
    padding: 0 8px;
    font-size: 13px;
    border-radius: 4px;
    background-color: var(--color-surface-3);
    border: 1px solid var(--border-color-subtle);
    color: var(--color-base);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
}

.gf-bg-selector:focus {
    outline: none;
    border-color: var(--color-primary);
}

.gf-switcher-overlay {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 6px;
    
    max-height: calc(100% - 60px);
}

.gf-switcher-toggle {
    width: 32px;
    height: 32px;
    background: var(--background-color-interactive-subtle, var(--color-surface-3));
    border: 1px solid var(--border-color-subtle);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-base);
    flex-shrink: 0;
    align-self: flex-start;
}

.gf-switcher-toggle:hover {
    background: var(--background-color-interactive, var(--color-surface-4));
}

.gf-switcher-toggle::before {
    content: "≡";
    font-weight: bold;
}

.gf-switcher-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow-y: auto;
    touch-action: pan-y;               
    transition: opacity 0.2s;
    padding-bottom: 4px;
    max-height: 380px;                 
}

.gf-switcher-overlay.collapsed .gf-switcher-list {
    opacity: 0;
    pointer-events: none;
}

.gf-group-btn {
    background: rgba(0, 0, 0, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    user-select: none;
}

.gf-group-btn:hover {
    background: rgba(50, 50, 50, 0.85) !important;
    border-color: #fff !important;
}

.gf-group-btn.active {
    border-color: #ff8c00 !important;
    box-shadow: 0 0 5px rgba(255,140,0,0.5), 0 2px 4px rgba(0,0,0,0.25);
}

.gf-variant-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 10px;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.gf-variant-list.collapsed {
    display: none;
}

.gf-switch-btn {
    background: rgba(0, 0, 0, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    color: #ddd !important;
    border-radius: 3px;
    padding: 3px 8px;
    cursor: pointer;
    font-size: 11px;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    user-select: none;
}

.gf-switch-btn::before {
    content: "·  ";
    opacity: 0.6;
}

.gf-switch-btn:hover {
    background: rgba(40, 40, 40, 0.8) !important;
    border-color: #fff !important;
    color: #fff !important;
}

.gf-switch-btn.active {
    background: rgba(20, 20, 20, 0.8) !important;
    border-color: #ff8c00 !important;
    border-width: 1px !important;      
    color: #fff !important;
    font-weight: normal !important;    
    box-shadow: 0 0 4px rgba(255,140,0,0.4), 0 1px 3px rgba(0,0,0,0.2);
}

.gf-switch-btn.active::before {
    content: "▶  ";
    opacity: 1;
    color: #ff8c00;
}

.gf-right-panel {
    flex: 1;
    min-width: 280px;
}

.gf-info-table,
.gf-bottom-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 !important;
}

.gf-header-row {
    background: var(--color-surface-2) !important;
    padding: 10px !important;
    text-align: center !important;
    font-weight: bold;
    color: var(--color-base);
}

.gf-label {
    background: var(--color-surface-2);
    padding: 8px 10px;
    font-weight: bold;
    width: 1px;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color-subtle);
    border-right: 1px solid var(--border-color-subtle);
    color: var(--color-base);
}

.gf-info-table td,
.gf-bottom-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color-subtle);
    color: var(--color-base);
}

.gf-bottom-section {
    margin-top: 15px;
    border: 1px solid var(--border-color-subtle);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-surface-0);
}

@media screen and (max-width: 768px) {
    .gf-infobox-new {
        flex-direction: column;
    }

    .gf-left-panel {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color-subtle);
    }

    .gf-image-container {
        height: 65vw;
        min-height: 300px;
        align-items: center;
        padding: 10px;
    }

    
    .gf-group-btn {
        padding: 7px 12px;
        font-size: 13px;
    }

    .gf-switch-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
}