Module:Navbox timeline/styles.css: Difference between revisions
Appearance
provide text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value |
m 1 revision imported from wikipedia:en:Module:Navbox_timeline/styles.css |
||
(No difference)
| |||
Latest revision as of 16:58, 16 August 2025
.timeline-wrapper {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
.timeline-wrapper-cell {
padding: 0;
overflow: auto;
}
.timeline-table {
width: 100%;
border-collapse: collapse;
text-align: center;
}
.timeline-row > * {
border-style: solid;
border-color: #FDFDFD;
border-width: 2px 2px 0 0;
}
.timeline-row:first-child > * {
border-top-width: 0;
}
.timeline-row > :last-child {
border-right-width: 0;
}
.timeline-decade,
.timeline-year {
background-color: #F0F0F0;
color:inherit;
font-weight: normal;
}
.timeline-label {
text-align: center;
font-weight: normal;
padding: 0 1em;
}
.timeline-blank {
background-color: #E0E0E0;
color:inherit;
}
.timeline-item {
background-color: #C0C0C0;
color:inherit;
}
.timeline-decade,
.timeline-year,
.timeline-item {
padding: 0 0.25em;
}