Module:Navbox timeline/styles.css

Revision as of 20:51, 4 June 2025 by AZMindroma (talk | contribs) (From Wikipedia (https://en.wikipedia.org/wiki/Module:Navbox_timeline/styles.css))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.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;
}