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

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

来自OGAS数据中枢
弃权者留言 | 贡献
弃权者将页面User:弃权者/Template:少女前线信息/styles.css的内容模型从“CSS”更改为“已过滤的CSS”
弃权者留言 | 贡献
无编辑摘要
第1行: 第1行:
.infotemplatebox {
.gf-infobox {
     float: right;
 
     width: 300px;
     display: flex;
     margin: 0 0 1em 1em;
 
     background-color: var(--background-color-neutral-subtle, #f8f9fa);
    width: 100%;
     border: 1px solid var(--border-color-subtle, #c8ccd1);
     max-width: 960px;
     padding: 0;
 
     font-size: 0.9em;
    border: 1px solid #c8ccd1;
     color: var(--color-base, #202122);
 
    background: #fff;
 
     margin: 1em 0;
 
     box-sizing: border-box;
}
 
/* 左边 */
 
.gf-left {
 
    width: 42%;
 
    background: #f8f9fa;
 
     border-right: 1px solid #eaecf0;
 
    position: relative;
}
 
/* 右边 */
 
.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 #eaecf0;
}
 
/* section */
 
.gf-section {
 
     margin-bottom: 18px;
}
 
.gf-section-title {
 
     font-size: 1.05em;
 
    font-weight: bold;
 
    margin-bottom: 10px;
 
     color: #54595d;
}
 
/* 数据 */
 
.gf-data {
 
    display: flex;
 
    flex-direction: column;
}
 
.gf-row {
 
    display: flex;
 
    border-bottom: 1px solid #eaecf0;
}
 
.gf-label {
 
    width: 90px;
 
    padding: 8px;
 
    background: #f8f9fa;
 
    font-weight: bold;
 
    box-sizing: border-box;
}
 
.gf-value {
 
    flex: 1;
 
    padding: 8px;
 
     box-sizing: border-box;
     box-sizing: border-box;
    word-break: break-word;
}
/* gallery */
.gf-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}
/* radio */
.gf-radio {
    display: none;
}
}


.gf-infobox {
/* 图片容器 */
 
.gf-images {
 
    position: relative;
 
     width: 100%;
     width: 100%;
    border-collapse: collapse;
 
    background-color: var(--background-color-base, #ffffff);
     min-height: 720px;
    margin: 0;
     table-layout: auto;
}
}
.gf-infobox > tbody > tr:first-child td {
 
    background-color: var(--background-color-neutral-subtle, #f8f9fa);
/* 图片 */
     color: var(--color-emphasized, #000000);
 
    font-weight: bold;
.gf-image {
     font-size: 1.1em;
 
    padding: 10px;
     display: none;
 
     width: 100%;
 
     text-align: center;
     text-align: center;
     border-bottom: 1px solid var(--border-color-subtle, #c8ccd1);
 
     border-top: none !important;
    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-infobox b,
#gf-skin-2:checked ~ .gf-images .img2 {
.gf-infobox strong {
     display: block;
     display: block;
    text-align: center;
    padding: 4px 0;
    color: var(--color-base, #202122);
}
}


.gf-infobox th {
#gf-skin-3:checked ~ .gf-images .img3 {
    background-color: var(--background-color-neutral-subtle, #f8f9fa);
     display: block;
    color: var(--color-base, #202122);
    text-align: left;
    padding: 6px 10px;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
    font-weight: bold;
     width: 1px;
}
}


.gf-infobox td {
#gf-skin-4:checked ~ .gf-images .img4 {
    padding: 6px 10px;
     display: block;
    border-bottom: 1px solid var(--border-color-subtle, #eaecf0);
    color: var(--color-base, #202122);
     vertical-align: middle;
    word-break: break-all;
}
}


.gf-infobox tr:nth-child(2) td {
/* tabs */
 
.gf-tabs {
 
    position: absolute;
 
    bottom: 0;
 
    width: 100%;
 
    padding: 10px;
 
     text-align: center;
     text-align: center;
     background-color: var(--background-color-base, #ffffff);
 
     padding: 12px 0;
     background: rgba(255,255,255,0.95);
     border-top: none;
 
     border-top: 1px solid #eaecf0;
 
     box-sizing: border-box;
}
}


.gf-infobox a {
.gf-tabs label {
     color: var(--color-link, #202122);
 
     text-decoration: none;
     display: inline-block;
 
    padding: 5px 12px;
 
    margin: 0 4px;
 
    background: #eaecf0;
 
    border-radius: 4px;
 
    cursor: pointer;
 
    font-size: 0.9em;
 
     transition: 0.15s;
}
}


.gf-infobox a:hover {
.gf-tabs label:hover {
     text-decoration: underline;
 
     background: #d8dde3;
}
}
/* 相关人士 */
.gf-related {
    line-height: 1.7;
}
/* 移动端 */


@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
     .infotemplatebox {
 
        float: none;
     .gf-infobox {
        width: 100%;
 
        margin: 1em 0;
         flex-direction: column;
         display: block;
     }
     }


     .gf-infobox {
     .gf-left,
        display: table;
    .gf-right {
 
         width: 100%;
         width: 100%;
     }
     }


     .gf-infobox th,
     .gf-left {
     .gf-infobox td {
 
         padding: 10px;
        border-right: none;
         font-size: 1.1em;  
 
        border-bottom: 1px solid #eaecf0;
    }
 
     .gf-images {
 
         min-height: auto;
    }
 
    .gf-image img {
 
         max-height: 500px;
     }
     }
}
}

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

.gf-infobox {

    display: flex;

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

    border: 1px solid #c8ccd1;

    background: #fff;

    margin: 1em 0;

    box-sizing: border-box;
}

/* 左边 */

.gf-left {

    width: 42%;

    background: #f8f9fa;

    border-right: 1px solid #eaecf0;

    position: relative;
}

/* 右边 */

.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 #eaecf0;
}

/* section */

.gf-section {

    margin-bottom: 18px;
}

.gf-section-title {

    font-size: 1.05em;

    font-weight: bold;

    margin-bottom: 10px;

    color: #54595d;
}

/* 数据 */

.gf-data {

    display: flex;

    flex-direction: column;
}

.gf-row {

    display: flex;

    border-bottom: 1px solid #eaecf0;
}

.gf-label {

    width: 90px;

    padding: 8px;

    background: #f8f9fa;

    font-weight: bold;

    box-sizing: border-box;
}

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

    background: rgba(255,255,255,0.95);

    border-top: 1px solid #eaecf0;

    box-sizing: border-box;
}

.gf-tabs label {

    display: inline-block;

    padding: 5px 12px;

    margin: 0 4px;

    background: #eaecf0;

    border-radius: 4px;

    cursor: pointer;

    font-size: 0.9em;

    transition: 0.15s;
}

.gf-tabs label:hover {

    background: #d8dde3;
}

/* 相关人士 */

.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 #eaecf0;
    }

    .gf-images {

        min-height: auto;
    }

    .gf-image img {

        max-height: 500px;
    }
}