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

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

来自星露谷物语扩展百科
删除的内容 添加的内容
Tangobear留言 | 贡献
无编辑摘要
Tangobear留言 | 贡献
撤销Tangobear讨论)的修订版本12208
标签撤销
 
第1行: 第1行:
.schedule-header {
/* 限制整体最大宽度,防止大屏铺满 */
width: 100%;
.schedule-container {
max-width: 850px;
box-sizing: border-box;
margin-bottom: 20px;
border-collapse: separate;
border-spacing: 0;
margin-top: 15px;
border-radius: 11px;
overflow: hidden;
display: table;
border: 1px solid var(--c-border);
padding: 5px;
}
}


.schedule-header th {
/* 强制直角边框,回归原生感 */
text-align: center;
.schedule-container,
border-radius: 6px 6px 0 0;
.schedule-container > tbody > tr > th {
border-radius: 0 !important;
background-color: var(--c-bg);
padding: 10px;
position: relative;
}
}


.schedule-header .schedule-table {
/* 季节表头颜色配置 */
width: 100%;
.header-spring { background-color: #92e092 !important; color: #000 !important; }
max-width: 100%;
.header-summer { background-color: #ffe680 !important; color: #000 !important; }
table-layout: auto;
.header-fall { background-color: #f0ad4e !important; color: #000 !important; }
border-collapse: separate;
.header-winter { background-color: #add8e6 !important; color: #000 !important; }
border-spacing: 0;
.header-marriage { background-color: #f092f0 !important; color: #000 !important; }
border: 1px solid #c9c9c9;
.header-deviations { background-color: #ff7d7d !important; color: #000 !important; }
border-radius: 8px;
margin-top: 10px;
}

.schedule-header .schedule-table th {
background-color: #f7f7f7;
border-bottom: 1px solid #c9c9c9;
font-weight: bold;
text-align: center;
padding: 8px 5px;
}

.schedule-header .schedule-table td {
border-bottom: 1px solid #c9c9c9;
padding: 8px 10px;
}

.schedule-header .schedule-table td:first-child {
width: 25%;
min-width: 70px;
text-align: center;
}

.schedule-header .schedule-table td:last-child {
width: 75%;
}

.schedule-header .schedule-table tr:nth-child(even) td {
background-color: #ffffff;
}
.schedule-header .schedule-table tr:nth-child(odd) td {
background-color: #fcfcfc;
}

.header-deviations { --c-bg: #ff5a5a; --c-border: #ff0000; }
.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; }

2026年4月20日 (一) 23:39的最新版本

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

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

.schedule-header .schedule-table {
    width: 100%;
    max-width: 100%;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    margin-top: 10px;
}

.schedule-header .schedule-table th {
    background-color: #f7f7f7;
    border-bottom: 1px solid #c9c9c9;
    font-weight: bold;
    text-align: center;
    padding: 8px 5px;
}

.schedule-header .schedule-table td {
    border-bottom: 1px solid #c9c9c9;
    padding: 8px 10px;
}

.schedule-header .schedule-table td:first-child {
    width: 25%;
    min-width: 70px;
    text-align: center;
}

.schedule-header .schedule-table td:last-child {
    width: 75%;
}

.schedule-header .schedule-table tr:nth-child(even) td {
    background-color: #ffffff;
}
.schedule-header .schedule-table tr:nth-child(odd) td {
    background-color: #fcfcfc;
}

.header-deviations { --c-bg: #ff5a5a; --c-border: #ff0000; }
.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; }