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

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

来自OGAS数据中枢
弃权者留言 | 贡献
无编辑摘要
弃权者留言 | 贡献
无编辑摘要
第6行: 第6行:
     max-width: 960px;
     max-width: 960px;


     border: 1px solid #c8ccd1;
     border: 1px solid var(--border-color-base);
 
    background: #fff;


     margin: 1em 0;
     margin: 1em 0;
第15行: 第13行:
}
}


/* 左边 */
/* 左侧 */


.gf-left {
.gf-left {
第21行: 第19行:
     width: 42%;
     width: 42%;


     background: #f8f9fa;
     border-right: 1px solid var(--border-color-subtle);


     border-right: 1px solid #eaecf0;
     position: relative;


     position: relative;
     box-sizing: border-box;
}
}


/* 右边 */
/* 右侧 */


.gf-right {
.gf-right {
第51行: 第49行:
     padding-bottom: 10px;
     padding-bottom: 10px;


     border-bottom: 1px solid #eaecf0;
     border-bottom: 1px solid var(--border-color-subtle);
}
}


第69行: 第67行:
     margin-bottom: 10px;
     margin-bottom: 10px;


     color: #54595d;
     color: var(--color-base--subtle);
}
}


/* 数据 */
/* 数据区 */


.gf-data {
.gf-data {
第85行: 第83行:
     display: flex;
     display: flex;


     border-bottom: 1px solid #eaecf0;
     border-bottom: 1px solid var(--border-color-subtle);
}
}


第93行: 第91行:


     padding: 8px;
     padding: 8px;
    background: #f8f9fa;


     font-weight: bold;
     font-weight: bold;


     box-sizing: border-box;
     box-sizing: border-box;
    flex-shrink: 0;
}
}


第197行: 第195行:
     text-align: center;
     text-align: center;


    background: rgba(255,255,255,0.95);
     border-top: 1px solid var(--border-color-subtle);
 
     border-top: 1px solid #eaecf0;


     box-sizing: border-box;
     box-sizing: border-box;
第212行: 第208行:
     margin: 0 4px;
     margin: 0 4px;


     background: #eaecf0;
     border: 1px solid var(--border-color-base);


     border-radius: 4px;
     border-radius: 6px;


     cursor: pointer;
     cursor: pointer;
第220行: 第216行:
     font-size: 0.9em;
     font-size: 0.9em;


     transition: 0.15s;
     transition: 120ms;
}
}


.gf-tabs label:hover {
.gf-tabs label:hover {


     background: #d8dde3;
     opacity: 0.8;
}
}


第254行: 第250行:
         border-right: none;
         border-right: none;


         border-bottom: 1px solid #eaecf0;
         border-bottom: 1px solid var(--border-color-subtle);
     }
     }



2026年5月14日 (四) 23:59的版本

.gf-infobox {

    display: flex;

    width: 100%;
    max-width: 960px;

    border: 1px solid var(--border-color-base);

    margin: 1em 0;

    box-sizing: border-box;
}

/* 左侧 */

.gf-left {

    width: 42%;

    border-right: 1px solid var(--border-color-subtle);

    position: relative;

    box-sizing: border-box;
}

/* 右侧 */

.gf-right {

    width: 58%;

    padding: 16px;

    box-sizing: border-box;
}

/* 标题 */

.gf-title {

    font-size: 1.6em;

    font-weight: bold;

    margin-bottom: 16px;

    padding-bottom: 10px;

    border-bottom: 1px solid var(--border-color-subtle);
}

/* section */

.gf-section {

    margin-bottom: 18px;
}

.gf-section-title {

    font-size: 1.05em;

    font-weight: bold;

    margin-bottom: 10px;

    color: var(--color-base--subtle);
}

/* 数据区 */

.gf-data {

    display: flex;

    flex-direction: column;
}

.gf-row {

    display: flex;

    border-bottom: 1px solid var(--border-color-subtle);
}

.gf-label {

    width: 90px;

    padding: 8px;

    font-weight: bold;

    box-sizing: border-box;

    flex-shrink: 0;
}

.gf-value {

    flex: 1;

    padding: 8px;

    box-sizing: border-box;

    word-break: break-word;
}

/* gallery */

.gf-gallery {

    position: relative;

    width: 100%;

    height: 100%;
}

/* radio */

.gf-radio {

    display: none;
}

/* 图片容器 */

.gf-images {

    position: relative;

    width: 100%;

    min-height: 720px;
}

/* 图片 */

.gf-image {

    display: none;

    width: 100%;

    text-align: center;

    padding: 12px;

    box-sizing: border-box;
}

.gf-image img {

    max-width: 100%;

    max-height: 700px;

    object-fit: contain;
}

/* 切换 */

#gf-skin-1:checked ~ .gf-images .img1 {
    display: block;
}

#gf-skin-2:checked ~ .gf-images .img2 {
    display: block;
}

#gf-skin-3:checked ~ .gf-images .img3 {
    display: block;
}

#gf-skin-4:checked ~ .gf-images .img4 {
    display: block;
}

/* tabs */

.gf-tabs {

    position: absolute;

    bottom: 0;

    width: 100%;

    padding: 10px;

    text-align: center;

    border-top: 1px solid var(--border-color-subtle);

    box-sizing: border-box;
}

.gf-tabs label {

    display: inline-block;

    padding: 5px 12px;

    margin: 0 4px;

    border: 1px solid var(--border-color-base);

    border-radius: 6px;

    cursor: pointer;

    font-size: 0.9em;

    transition: 120ms;
}

.gf-tabs label:hover {

    opacity: 0.8;
}

/* 相关人士 */

.gf-related {

    line-height: 1.7;
}

/* 移动端 */

@media screen and (max-width: 768px) {

    .gf-infobox {

        flex-direction: column;
    }

    .gf-left,
    .gf-right {

        width: 100%;
    }

    .gf-left {

        border-right: none;

        border-bottom: 1px solid var(--border-color-subtle);
    }

    .gf-images {

        min-height: auto;
    }

    .gf-image img {

        max-height: 500px;
    }
}