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

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

来自OGAS数据中枢
弃权者留言 | 贡献
无编辑摘要
弃权者留言 | 贡献
无编辑摘要
第3行: 第3行:
     flex-wrap: wrap;
     flex-wrap: wrap;
     width: 100%;
     width: 100%;
    max-width: 100%;
     margin: 1em 0;
     margin: 1em 0;
     background-color: var(--color-surface-0, #ffffff);
     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: 8px;
     overflow: hidden;
     overflow: hidden;
     clear: both;
     clear: both;
第14行: 第13行:


.gf-left-panel {
.gf-left-panel {
     flex: 0 0 60%;
     flex: 0 0 75%;
     background-color: var(--color-surface-1, #f8f9fa);
     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;
     flex-direction: column;
     flex-direction: column;
    position: relative;
}
}


第26行: 第26行:
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     padding: 10px;
     padding: 15px;
     min-height: 350px;
     min-height: 450px;
    background-color: var(--color-surface-1, #f8f9fa);
}
 
.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%;
}
}


第45行: 第33行:
.gf-main-img img {
.gf-main-img img {
     max-width: 100% !important;
     max-width: 100% !important;
     max-height: 400px !important;
     max-height: 500px !important;
     height: auto !important;
     height: auto !important;
     width: auto !important;
     width: auto !important;
     object-fit: contain;
     object-fit: contain;
    transition: opacity 0.3s ease;
}
}


.gf-thumbnail-bar {
.gf-switcher-overlay {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 10;
     display: flex;
     display: flex;
     gap: 6px;
     align-items: flex-start;
    padding: 8px;
     gap: 8px;
    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 {
.gf-switcher-toggle {
    width: 32px;
    height: 32px;
    background-color: var(--color-surface-3, #eeeeee);
    border: 1px solid var(--border-color-subtle, #ccc);
    border-radius: 4px;
     cursor: pointer;
     cursor: pointer;
     border: 2px solid transparent;
     display: flex;
     border-radius: 6px;
     align-items: center;
     overflow: hidden;
     justify-content: center;
    transition: all 0.2s ease;
     opacity: 0.8;
     opacity: 0.8;
    transition: all 0.2s;
}
.gf-switcher-toggle:hover { opacity: 1; background-color: var(--color-primary, #36c); color: #fff; }
.gf-switcher-toggle::before {
    content: "≡";
    font-size: 18px;
    font-weight: bold;
}
.gf-switcher-list {
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     align-items: center;
     gap: 6px;
     min-width: 60px;
     transition: transform 0.3s ease, opacity 0.3s ease;
     background: var(--color-surface-0, #ffffff);
     transform-origin: left top;
     padding: 2px;
}
 
.gf-switcher-overlay.collapsed .gf-switcher-list {
    transform: scale(0.8);
     opacity: 0;
    pointer-events: none;
}
}


.gf-thumb-item.active {
.gf-switch-btn {
     opacity: 1;
    background-color: var(--background-color-interactive, rgba(255,255,255,0.7));
     border-color: var(--color-primary, #36c);
     backdrop-filter: blur(4px);
     background: var(--color-primary--background, #eaf3ff);
     border: 1px solid var(--border-color-subtle, #ccc);
     border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85em;
    color: var(--color-base, #222);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s;
    white-space: nowrap;
}
}


.gf-thumb-img img {
.gf-switch-btn:hover {
     display: block;
     background-color: var(--color-surface-2, #eee);
     width: 50px;
     transform: translateX(2px);
    height: 50px;
    object-fit: cover;
}
}


.gf-thumb-label {
.gf-switch-btn.active {
     font-size: 0.7em;
     background-color: var(--color-primary, #36c);
    color: var(--color-base, #202122);
     color: #fff;
     padding: 2px;
     border-color: var(--color-primary, #36c);
     text-align: center;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
}


第105行: 第113行:
     flex: 1;
     flex: 1;
     min-width: 250px;
     min-width: 250px;
    display: flex;
    flex-direction: column;
     background-color: var(--color-surface-0, #ffffff);
     background-color: var(--color-surface-0, #ffffff);
}
}
第114行: 第120行:
     border-collapse: collapse;
     border-collapse: collapse;
     margin: 0 !important;
     margin: 0 !important;
    flex: 1;
    table-layout: fixed;
    border: none !important;
}
}


第132行: 第135行:
     color: var(--color-base, #202122);
     color: var(--color-base, #202122);
     text-align: left;
     text-align: left;
     padding: 8px 12px;
     padding: 10px 15px;
     font-weight: bold;
     font-weight: bold;
     width: 35%;
     width: 1%;
    white-space: nowrap;
     border-right: 1px solid var(--border-color-subtle, #eaecf0);
     border-right: 1px solid var(--border-color-subtle, #eaecf0);
     border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
     border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
第140行: 第144行:


.gf-info-table td {
.gf-info-table td {
     padding: 8px 12px;
     padding: 10px 15px;
     color: var(--color-base, #202122);
     color: var(--color-base, #202122);
     vertical-align: middle;
     vertical-align: middle;
     border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
     border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
    word-break: break-all;
}
.gf-section-header {
    background-color: var(--color-surface-2, #eeeeee) !important;
    color: var(--color-base, #202122) !important;
    font-weight: bold;
    padding: 8px !important;
    text-align: center !important;
    border-bottom: 1px solid var(--border-color-subtle, #eaecf0) !important;
}
.gf-related-content {
    padding: 10px 12px !important;
    background-color: var(--color-surface-1, #f8f9fa);
    font-size: 0.9em;
    text-align: center;
}
}


@media screen and (max-width: 768px) {
@media screen and (max-width: 900px) {
     .gf-infobox-new { flex-direction: column; }
     .gf-infobox-new { flex-direction: column; }
     .gf-left-panel { flex: 0 0 auto; width: 100%; border-right: none; }
     .gf-left-panel { flex: 0 0 auto; width: 100%; border-right: none; }
     .gf-image-container { min-height: 300px; }
     .gf-switcher-overlay { flex-direction: row; }
    .gf-switcher-list { flex-direction: row; flex-wrap: wrap; }
}
}

2026年5月15日 (五) 22:04的版本

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

.gf-left-panel {
    flex: 0 0 75%;
    background-color: var(--color-surface-1, #f8f9fa);
    border-right: 1px solid var(--border-color-subtle, #eaecf0);
    display: flex;
    flex-direction: column;
    position: relative;
}

.gf-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    min-height: 450px;
}

.gf-image-container img, 
.gf-main-img img {
    max-width: 100% !important;
    max-height: 500px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain;
}

.gf-switcher-overlay {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.gf-switcher-toggle {
    width: 32px;
    height: 32px;
    background-color: var(--color-surface-3, #eeeeee);
    border: 1px solid var(--border-color-subtle, #ccc);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.2s;
}

.gf-switcher-toggle:hover { opacity: 1; background-color: var(--color-primary, #36c); color: #fff; }

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

.gf-switcher-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: left top;
}

.gf-switcher-overlay.collapsed .gf-switcher-list {
    transform: scale(0.8);
    opacity: 0;
    pointer-events: none;
}

.gf-switch-btn {
    background-color: var(--background-color-interactive, rgba(255,255,255,0.7));
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color-subtle, #ccc);
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85em;
    color: var(--color-base, #222);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s;
    white-space: nowrap;
}

.gf-switch-btn:hover {
    background-color: var(--color-surface-2, #eee);
    transform: translateX(2px);
}

.gf-switch-btn.active {
    background-color: var(--color-primary, #36c);
    color: #fff;
    border-color: var(--color-primary, #36c);
}

.gf-right-panel {
    flex: 1;
    min-width: 250px;
    background-color: var(--color-surface-0, #ffffff);
}

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

.gf-header-row {
    background-color: var(--color-surface-2, #eeeeee) !important;
    color: var(--color-base, #202122) !important;
    font-weight: bold;
    font-size: 1.1em;
    padding: 12px !important;
    text-align: center !important;
}

.gf-label {
    background-color: var(--color-surface-2, #f2f2f2);
    color: var(--color-base, #202122);
    text-align: left;
    padding: 10px 15px;
    font-weight: bold;
    width: 1%; 
    white-space: nowrap;
    border-right: 1px solid var(--border-color-subtle, #eaecf0);
    border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
}

.gf-info-table td {
    padding: 10px 15px;
    color: var(--color-base, #202122);
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
}

@media screen and (max-width: 900px) {
    .gf-infobox-new { flex-direction: column; }
    .gf-left-panel { flex: 0 0 auto; width: 100%; border-right: none; }
    .gf-switcher-overlay { flex-direction: row; }
    .gf-switcher-list { flex-direction: row; flex-wrap: wrap; }
}