Jump to content

Module:Navbox timeline/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BrandonXLF (talk | contribs) at 01:07, 6 April 2021 (Templatestyles for timeline). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
.timeline-table {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
}
.timeline-table tr > * {
	border-style: solid;
	border-color: #FDFDFD;
	border-width: 2px 2px 0 0;
}
.timeline-table tr:first-child > * {
	border-top-width: 0;
}
.timeline-table tr > :last-child {
	border-right-width: 0;
}
td.timeline-blank {
	background-color: #E0E0E0;
}
td.timeline-item {
	background-color: #C0C0C0;
}
th.timeline-label {
	text-align: center;
	font-weight: normal;
}
td.timeline-item, th.timeline-label {
	padding: 1px 1em;
}
th.timeline-decade, th.timeline-year {
	padding: 1px;
	background-color: #F0F0F0;
	font-weight: normal;
}