打开/关闭菜单
26
6675
46
1.2万
OGAS数据中枢
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

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

来自OGAS数据中枢
弃权者留言 | 贡献
无编辑摘要
弃权者留言 | 贡献
无编辑摘要
第63行: 第63行:
     left: 5%;
     left: 5%;
     right: 5%;
     right: 5%;
     bottom: 50px;
     bottom: 56px;
     max-height: 220px;
     max-height: 220px;
     overflow-y: auto;
     overflow-y: auto;
     z-index: 15;
     z-index: 15;
     background: var(--color-surface-0);
     background-color: var(--color-surface-0);
    opacity: 0.9;
     border: 1px solid var(--border-color-subtle);
     border: 1px solid var(--border-color-subtle);
     border-radius: 6px;
     border-radius: 8px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    padding: 6px;
}
}


第81行: 第81行:
     height: 32px;
     height: 32px;
     border-radius: 50%;
     border-radius: 50%;
     z-index: 10;
     z-index: 20;
     cursor: pointer;
     cursor: pointer;
     background-color: var(--color-surface-3);
     background-color: var(--color-surface-3);
第102行: 第102行:
.gf-bg-selector {
.gf-bg-selector {
     position: absolute;
     position: absolute;
     right: 50px;
     right: 52px;
     bottom: 12px;
     bottom: 12px;
     width: 120px;
     width: 120px;
     height: 32px;
     height: 32px;
     z-index: 10;
     z-index: 20;
     padding: 0 8px;
     padding: 0 8px;
     font-size: 13px;
     font-size: 13px;
第136行: 第136行:
     width: 32px;
     width: 32px;
     height: 32px;
     height: 32px;
     background: var(--background-color-interactive-subtle, var(--color-surface-3));
     background-color: var(--background-color-interactive-subtle, var(--color-surface-3));
     border: 1px solid var(--border-color-subtle);
     border: 1px solid var(--border-color-subtle);
     border-radius: 4px;
     border-radius: 4px;
第149行: 第149行:


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


第174行: 第174行:


.gf-group-btn {
.gf-group-btn {
     background: rgba(0, 0, 0, 0.75) !important;
     background-color: rgba(0, 0, 0, 0.75) !important;
     border: 1px solid rgba(255, 255, 255, 0.6) !important;
     border: 1px solid rgba(255, 255, 255, 0.6) !important;
     color: #fff !important;
     color: #fff !important;
第183行: 第183行:
     font-weight: bold;
     font-weight: bold;
     transition: background-color 0.2s, border-color 0.2s;
     transition: background-color 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
     box-shadow: 0 2px 4px rgba(0,0,0,0.25);
     box-shadow: 0 2px 4px rgba(0,0,0,0.25);
     user-select: none;
     user-select: none;
第189行: 第188行:


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


.gf-switch-btn {
.gf-switch-btn {
     background: rgba(0, 0, 0, 0.65) !important;
     background-color: rgba(0, 0, 0, 0.65) !important;
     border: 1px solid rgba(255, 255, 255, 0.5) !important;
     border: 1px solid rgba(255, 255, 255, 0.5) !important;
     color: #ddd !important;
     color: #ddd !important;
第220行: 第219行:
     font-size: 11px;
     font-size: 11px;
     transition: background-color 0.2s, border-color 0.2s, color 0.2s;
     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);
     box-shadow: 0 1px 3px rgba(0,0,0,0.2);
     user-select: none;
     user-select: none;
第231行: 第229行:


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


.gf-switch-btn.active {
.gf-switch-btn.active {
     background: rgba(20, 20, 20, 0.8) !important;
     background-color: rgba(20, 20, 20, 0.8) !important;
     border-color: #ff8c00 !important;
     border-color: #ff8c00 !important;
     border-width: 1px !important;
     border-width: 1px !important;
第259行: 第257行:


.gf-header-row {
.gf-header-row {
     background: transparent !important;
     background-color: transparent !important;
     padding: 8px !important;
     padding: 8px !important;
     text-align: center !important;
     text-align: center !important;
第268行: 第266行:


.gf-label {
.gf-label {
     background: var(--color-surface-2);
     background-color: var(--color-surface-2);
     padding: 6px 10px;
     padding: 6px 12px;
     font-weight: bold;
     font-weight: bold;
     width: 1px;
     width: 20%;
    min-width: 80px;
     white-space: nowrap;
     white-space: nowrap;
    text-align: center;
     border-bottom: 1px solid var(--border-color-subtle);
     border-bottom: 1px solid var(--border-color-subtle);
     border-right: 1px solid var(--border-color-subtle);
     border-right: 1px solid var(--border-color-subtle);
     color: var(--color-base);
     color: var(--color-base);
    max-width: none !important;
    overflow: visible !important;
}
}


第284行: 第286行:
     color: var(--color-base);
     color: var(--color-base);
     white-space: nowrap;
     white-space: nowrap;
}
.gf-info-table td:not(.gf-label),
.gf-bottom-table td:not(.gf-label) {
     overflow: hidden;
     overflow: hidden;
     max-width: 0;
     max-width: 0;
第308行: 第314行:
     border-radius: 8px;
     border-radius: 8px;
     overflow: hidden;
     overflow: hidden;
     background: var(--color-surface-0);
     background-color: var(--color-surface-0);
}
}



2026年5月17日 (日) 15:47的版本

.gf-infobox-new {
    position: relative;
    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;
    box-sizing: border-box;
}

.gf-infobox-new *,
.gf-infobox-new *::before,
.gf-infobox-new *::after {
    box-sizing: border-box;
}

.gf-left-panel {
    width: 100%;
    height: 520px;
    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: 100%;
    width: 100%;
    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-right-panel {
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 56px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 15;
    background-color: var(--color-surface-0);
    border: 1px solid var(--border-color-subtle);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    padding: 6px;
}

.gf-view-original {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    z-index: 20;
    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: 52px;
    bottom: 12px;
    width: 120px;
    height: 32px;
    z-index: 20;
    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-color: 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-color: 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: calc(100% - 40px);
}

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

.gf-group-btn {
    background-color: 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;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    user-select: none;
}

.gf-group-btn:hover {
    background-color: 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-color: 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;
    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-color: rgba(40, 40, 40, 0.8) !important;
    border-color: #fff !important;
    color: #fff !important;
}

.gf-switch-btn.active {
    background-color: 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-info-table,
.gf-bottom-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 !important;
}

.gf-header-row {
    background-color: transparent !important;
    padding: 8px !important;
    text-align: center !important;
    font-weight: bold;
    color: var(--color-base);
    border-bottom: 1px solid var(--border-color-subtle);
}

.gf-label {
    background-color: var(--color-surface-2);
    padding: 6px 12px;
    font-weight: bold;
    width: 20%;
    min-width: 80px;
    white-space: nowrap;
    text-align: center;
    border-bottom: 1px solid var(--border-color-subtle);
    border-right: 1px solid var(--border-color-subtle);
    color: var(--color-base);
    max-width: none !important;
    overflow: visible !important;
}

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

.gf-info-table td:not(.gf-label),
.gf-bottom-table td:not(.gf-label) {
    overflow: hidden;
    max-width: 0;
}

.gf-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: gf-marquee 8s linear infinite;
}

.gf-marquee:hover {
    animation-play-state: paused;
}

@keyframes gf-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

@media screen and (max-width: 600px) {
    .gf-left-panel {
        height: 440px;
    }
    .gf-right-panel {
        left: 2%;
        right: 2%;
        bottom: 50px;
        max-height: 180px;
    }
    .gf-group-btn {
        padding: 7px 12px;
        font-size: 13px;
    }
    .gf-switch-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
}