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

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

来自OGAS数据中枢
弃权者留言 | 贡献
无编辑摘要
弃权者留言 | 贡献
无编辑摘要
 
(未显示同一用户的26个中间版本)
第1行: 第1行:
.infotemplatebox {
.gf-infobox-new {
    display: flex;
    display: flex;
    flex-wrap: wrap;
    flex-wrap: wrap;
    float: right;
    width: 100%;
    width: 700px;
    margin-top: 1em;
    margin: 0 0 1em 1em;
    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;
    padding: 0;
    overflow: hidden;
    font-size: 0.9em;
    clear: both;
    color: var(--color-base, #202122);
}
    box-sizing: border-box;
 
    overflow: hidden;
.gf-left-panel {
}
    flex: 0 0 65%;
.gf-image-container {
    background-color: var(--color-surface-1);
    flex: 0 0 280px;
    border-right: 1px solid var(--border-color-subtle);
    padding: 15px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}
    text-align: center;
 
    display: flex;
.gf-image-container {
    flex-direction: column;
    height: 480px;
    justify-content: center;
    display: flex;
    background-color: var(--background-color-base, #ffffff);
    align-items: center;
}
    justify-content: center;
.gf-slides {
    padding: 10px;
    position: relative;
    cursor: pointer;
    width: 100%;
    position: relative;
    min-height: 400px;
}
    display: flex;
 
    align-items: center;
.gf-main-img, .gf-main-img a, .gf-main-img img {
    justify-content: center;
    max-width: 100% !important;
}
    max-height: 100% !important;
.gf-slide {
    width: auto !important;
    display: none;
    height: auto !important;
    width: 100%;
    object-fit: contain;
}
    display: block;
.gf-slide.active {
    margin: 0 auto;
    display: block;
}
}
 
.gf-slide img {
.gf-image-container img {
    max-width: 100%;
    transform: scale(1.0);
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
}
.gf-tabs {
 
    display: flex;
.gf-image-container:hover img {
    justify-content: center;
    transform: scale(1.02);
    margin-top: 12px;
}
    gap: 6px;
 
}
.gf-image-container.loading img {
.gf-tab {
    filter: grayscale(1) opacity(0.5);
    padding: 4px 10px;
}
    background-color: var(--background-color-neutral-subtle, #f8f9fa);
 
    border: 1px solid var(--border-color-subtle, #c8ccd1);
.gf-view-original {
    cursor: pointer;
    position: absolute;
    border-radius: 3px;
    right: 12px;
    font-size: 0.9em;
    bottom: 12px;
    transition: all 0.2s;
    width: 32px;
    user-select: none;
    height: 32px;
}
    border-radius: 50%;
.gf-tab:hover {
    z-index: 10;
    background-color: var(--border-color-subtle, #eaecf0);
    cursor: pointer;
}
 
.gf-tab.active {
    background-color: var(--color-surface-3); /* 使用皮肤的次级表面色,确保有背景感 */
    background-color: var(--color-base, #202122);
    border: 1px solid var(--border-color-subtle);
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* 增加投影,使其在深浅色背景上都“浮”起来 */
    border-color: var(--color-base, #202122);
   
}
    /* 修改 SVG:stroke 使用固定深灰色 (%23666),并给 SVG 增加一个浅白色的底影 */
.gf-caption {
    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 filter='drop-shadow(1px 1px 1px white)' d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
    margin-top: 8px;
    background-repeat: no-repeat;
    font-size: 0.9em;
    background-position: center;
    color: var(--color-base, #202122);
    background-size: 16px;
}
}
.gf-info-container {
 
    flex: 1;
.gf-view-original:hover {
    min-width: 300px;
background-color: var(--color-primary);
    border-left: 1px solid var(--border-color-subtle, #c8ccd1);
    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");
.gf-infobox {
    transform: scale(1.1);
    width: 100%;
}
    border-collapse: collapse;
 
    background-color: var(--background-color-base, #ffffff);
.gf-switcher-overlay { position: absolute; left: 10px; top: 10px; z-index: 20; display: flex; gap: 8px; }
    margin: 0;
.gf-switcher-toggle {
    table-layout: auto;
    width: 32px;
}
    height: 32px;  
.gf-infobox > tbody > tr:first-child td,
    background: var(--background-color-interactive-subtle, var(--color-surface-3));  
.gf-infobox > tbody > tr:first-child th {
    border: 1px solid var(--border-color-subtle);
    background-color: var(--background-color-neutral-subtle, #f8f9fa);
    border-radius: 4px;
    color: var(--color-emphasized, #000000);
    cursor: pointer;
    font-weight: bold;
    display: flex;
    font-size: 1.1em;
    align-items: center;  
    padding: 10px;
    justify-content: center;
    text-align: center;
    color: var(--color-base);
    border-bottom: 1px solid var(--border-color-subtle, #c8ccd1);
}
}
 
.gf-infobox b,  
.gf-switcher-toggle:hover {
.gf-infobox strong {
    background: var(--background-color-interactive, var(--color-surface-4));
    display: block;
}.gf-switcher-toggle::before { content: "≡"; font-weight: bold; }
    text-align: center;
.gf-switcher-list { display: flex; flex-direction: column; gap: 4px; transition: 0.2s opacity; }
    padding: 4px 0;
.gf-switcher-overlay.collapsed .gf-switcher-list { opacity: 0; pointer-events: none; }
    color: var(--color-base, #202122);
 
}
.gf-switch-btn {  
.gf-infobox th {
    background: var(--background-color-interactive-subtle, var(--color-surface-2));  
    background-color: var(--background-color-neutral-subtle, #f8f9fa);
    border: 1px solid var(--border-color-subtle);  
    color: var(--color-base, #202122);
    border-radius: 4px;
    text-align: left;
    padding: 4px 10px;
    padding: 6px 10px;
    cursor: pointer;  
    white-space: nowrap;
    font-size: 12px;
    border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
    color: var(--color-base);
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s;
    width: 1px;
}
}
 
.gf-infobox td {
.gf-switch-btn:hover {
    padding: 6px 10px;
    background: var(--background-color-interactive, var(--color-surface-3));
    border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
}
    color: var(--color-base, #202122);
 
    vertical-align: middle;
.gf-switch-btn.active {
    word-break: break-all;
    background: var(--color-primary);  
}
    border-color: var(--color-primary);  
.gf-infobox a {
}
    color: var(--color-link, #202122);
 
    text-decoration: none;
.gf-right-panel { flex: 1; min-width: 280px; }
}
.gf-info-table, .gf-bottom-table { width: 100%; border-collapse: collapse; margin: 0 !important; }
.gf-infobox a:hover {
.gf-header-row { background: var(--color-surface-2) !important; padding: 10px !important; text-align: center !important; font-weight: bold; color: var(--color-base); }
    text-decoration: underline;
 
}
.gf-label {  
@media screen and (max-width: 768px) {
    background: var(--color-surface-2);  
    .infotemplatebox {
    padding: 8px 10px;  
        float: none;
    font-weight: bold;  
        width: 100%;
    width: 1px;
        margin: 1em 0;
    white-space: nowrap;
        flex-direction: column;
    border-bottom: 1px solid var(--border-color-subtle);  
    }
    border-right: 1px solid var(--border-color-subtle);
    .gf-image-container {
    color: var(--color-base);
        flex: none;
}
        width: 100%;
 
        border-left: none;
.gf-info-table td, .gf-bottom-table td {  
        border-bottom: 1px solid var(--border-color-subtle, #c8ccd1);
    padding: 8px 12px;  
        padding: 10px 0;
    border-bottom: 1px solid var(--border-color-subtle);
    }
    color: var(--color-base);
    .gf-info-container {
}
        border-left: none;
 
        width: 100%;
.gf-bottom-section {  
    }
    margin-top: 15px;
    .gf-infobox th,
    border: 1px solid var(--border-color-subtle);  
    .gf-infobox td {
    border-radius: 8px;  
        padding: 10px;
    overflow: hidden;
        font-size: 1.1em;
    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); }
}

2026年5月16日 (六) 00:38的最新版本

.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 65%;
    background-color: var(--color-surface-1);
    border-right: 1px solid var(--border-color-subtle);
    position: relative;
    overflow: hidden;
}

.gf-image-container {
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    cursor: pointer;
    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 {
    transform: scale(1.0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gf-image-container:hover img {
    transform: scale(1.02);
}

.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); /* 增加投影,使其在深浅色背景上都“浮”起来 */
    
    /* 修改 SVG:stroke 使用固定深灰色 (%23666),并给 SVG 增加一个浅白色的底影 */
    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 filter='drop-shadow(1px 1px 1px white)' d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
}

.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-switcher-overlay { position: absolute; left: 10px; top: 10px; z-index: 20; display: flex; gap: 8px; }
.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);
}

.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: 4px; transition: 0.2s opacity; }
.gf-switcher-overlay.collapsed .gf-switcher-list { opacity: 0; pointer-events: none; }

.gf-switch-btn { 
    background: var(--background-color-interactive-subtle, var(--color-surface-2)); 
    border: 1px solid var(--border-color-subtle); 
    border-radius: 4px; 
    padding: 4px 10px; 
    cursor: pointer; 
    font-size: 12px;
    color: var(--color-base);
    transition: background-color 0.2s, color 0.2s;
}

.gf-switch-btn:hover {
    background: var(--background-color-interactive, var(--color-surface-3));
}

.gf-switch-btn.active { 
    background: var(--color-primary); 
    border-color: var(--color-primary); 
}

.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); }
}