模板:Timeline/styles.css
.timeline:not(.wikitable) {
/* 列表主体样式 */
border-collapse:collapse;
margin:0 0 0.5em;
}
.timeline>tr>th:only-child, .timeline>*>tr>th:only-child {
/* 时间段标题样式1 */
text-align:left;
font-size:larger;
}
.timeline:not(.wikitable)>tr>th:only-child, .timeline:not(.wikitable)>*>tr>th:only-child {
/* 时间段标题样式2 */
padding:0.5em 0 0.2em;
}
.timeline>tr>th:not(:only-child), .timeline>*>tr>th:not(:only-child) {
/* 时间部分样式1 */
width:1px;
text-align:left;
vertical-align:top;
white-space:nowrap;
font-weight:normal;
}
.timeline:not(.wikitable)>tr>th:not(:only-child), .timeline:not(.wikitable)>*>tr>th:not(:only-child) {
/* 时间部分样式2 */
padding:0.2em 0.8em 0.3em 0;
}
.timeline:not(.wikitable)>tr>td, .timeline:not(.wikitable)>*>tr>td {
/* 事件部分样式 */
padding:0.2em 0 0.3em;
}
/* [[Category:在模板名字空间下的CSS页面]] */