Jump to content

Module:Navbox timeline/styles.css

From Wikipedia, the free encyclopedia
.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;
	font-weight: normal;
}

.timeline-label {
	text-align: center;
	font-weight: normal;
	padding: 0 1em;
}

.timeline-blank {
	background-color: #E0E0E0;
}

.timeline-item {
	background-color: #C0C0C0;
}

.timeline-decade,
.timeline-year,
.timeline-item {
	padding: 0 0.25em;
}