模板:ScheduleHeader/style.css:修订间差异
来自星露谷物语扩展百科
更多操作
删除的内容 添加的内容
标签:撤销 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
/* 限制整体最大宽度,防止大屏铺满 */ |
|||
.schedule- |
.schedule-container { |
||
width: 100%; |
|||
max-width: 850px; |
|||
margin-bottom: 20px; |
|||
border-spacing: 0; |
|||
margin-top: 15px; |
|||
border-radius: 11px; |
|||
overflow: hidden; |
|||
display: table; |
|||
border: 1px solid var(--c-border); |
|||
padding: 5px; |
|||
} |
} |
||
/* 强制直角边框,回归原生感 */ |
|||
.schedule- |
.schedule-container, |
||
text-align: center; |
|||
.schedule-container > tbody > tr > th { |
|||
border-radius: 6px 6px 0 0; |
|||
border-radius: 0 !important; |
|||
padding: 10px; |
|||
position: relative; |
|||
} |
} |
||
/* 季节表头颜色配置 */ |
|||
.schedule-header .schedule-table { |
|||
.header-spring { background-color: #92e092 !important; color: #000 !important; } |
|||
width: 100%; |
|||
.header-summer { background-color: #ffe680 !important; color: #000 !important; } |
|||
max-width: 100%; |
|||
.header-fall { background-color: #f0ad4e !important; color: #000 !important; } |
|||
table-layout: auto; |
|||
.header-winter { background-color: #add8e6 !important; color: #000 !important; } |
|||
border-collapse: separate; |
|||
.header-marriage { background-color: #f092f0 !important; color: #000 !important; } |
|||
border-spacing: 0; |
|||
.header-deviations { background-color: #ff7d7d !important; color: #000 !important; } |
|||
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; } |
|||
2026年4月20日 (一) 23:37的版本
/* 限制整体最大宽度,防止大屏铺满 */
.schedule-container {
max-width: 850px;
margin-bottom: 20px;
}
/* 强制直角边框,回归原生感 */
.schedule-container,
.schedule-container > tbody > tr > th {
border-radius: 0 !important;
}
/* 季节表头颜色配置 */
.header-spring { background-color: #92e092 !important; color: #000 !important; }
.header-summer { background-color: #ffe680 !important; color: #000 !important; }
.header-fall { background-color: #f0ad4e !important; color: #000 !important; }
.header-winter { background-color: #add8e6 !important; color: #000 !important; }
.header-marriage { background-color: #f092f0 !important; color: #000 !important; }
.header-deviations { background-color: #ff7d7d !important; color: #000 !important; }