打开/关闭菜单
322
1.7K
132
12.6K
星露谷物语扩展百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:ScheduleHeader/style.css:修订间差异

来自星露谷物语扩展百科
Tangobear留言 | 贡献
无编辑摘要
Tangobear留言 | 贡献
无编辑摘要
第1行: 第1行:
.schedule-header {
.schedule-header {
     width: 100%;
     width: 100%;
    max-width: 100%;
     box-sizing: border-box;
     box-sizing: border-box;
     border-collapse: separate;
     border-collapse: separate;
第6行: 第7行:
     margin-top: 15px;
     margin-top: 15px;
     border-radius: 11px;
     border-radius: 11px;
    overflow: hidden;
    display: table;
     border: 1px solid var(--c-border);
     border: 1px solid var(--c-border);
     padding: 5px;
     padding: 5px;
    display: block;
    overflow-x: auto;
}
}


@media screen and (min-width: 720px) {
@media screen and (min-width: 720px) {
     .schedule-header {
     .schedule-header {
        display: table;
         width: auto;
         width: auto;
         min-width: 500px;
         min-width: 500px;
         max-width: max-content;
         max-width: max-content;
        overflow-x: visible;
     }
     }
}
}
第26行: 第29行:
     padding: 8px 10px;  
     padding: 8px 10px;  
     position: relative;
     position: relative;
     word-break: break-all;
     white-space: nowrap;
}
 
.schedule-header table {
    width: 100% !important;
    max-width: 100%;
    table-layout: auto;
}
}


第71行: 第80行:
     .schedule-header th {
     .schedule-header th {
         padding: 6px 5px;
         padding: 6px 5px;
         font-size: 0.95em;
         font-size: 0.9em;
     }
     }
}
}

2026年4月20日 (一) 00:25的版本

.schedule-header {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
    border-radius: 11px;
    border: 1px solid var(--c-border);
    padding: 5px;
    display: block;
    overflow-x: auto;
}

@media screen and (min-width: 720px) {
    .schedule-header {
        display: table;
        width: auto;
        min-width: 500px;
        max-width: max-content;
        overflow-x: visible;
    }
}

.schedule-header th {
    text-align: center;
    border-radius: 6px 6px 0 0; 
    background-color: var(--c-bg);
    padding: 8px 10px; 
    position: relative;
    white-space: nowrap;
}

.schedule-header table {
    width: 100% !important;
    max-width: 100%;
    table-layout: auto;
}

.header-default {
    --c-bg: #e0e0e0;
    --c-border: #000000;
}

.header-spring {
    --c-bg: #5cd65c;
    --c-border: #26a026;
}

.header-summer {
    --c-bg: #ffdb4d;
    --c-border: #ffdb4d;
}

.header-fall {
    --c-bg: #e68a00;
    --c-border: #e68a00;
}

.header-winter {
    --c-bg: #66ccff;
    --c-border: #449bed;
}

.header-marriage {
    --c-bg: #ff3dff;
    --c-border: #e913f0;
}

.header-deviations {
    --c-bg: #ff5a5a;
    --c-border: #ff0000;
}

@media screen and (max-width: 480px) {
    .schedule-header {
        padding: 3px;
        border-radius: 8px;
    }
    .schedule-header th {
        padding: 6px 5px;
        font-size: 0.9em;
    }
}