Module:Timeline of release years/styles.css

MyWikiBiz, Author Your Legacy — Friday November 29, 2024
< Module:Timeline of release years
Revision as of 07:38, 16 July 2021 by Zoran (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
/* {{pp-template}} */
.release-timeline {
	float: right !important; /* Minerva uses !important */
	clear: right !important; /* Minerva uses !important */
	width: auto !important; /* Minerva uses !important */
	flex: 1 1 100%;
	margin: 0 0 .3em 1em;
	padding: .75em 1em;
	font-size: 80%;
	line-height: .9;
	border-collapse: separate;
	border-spacing: 0 1px;
	background-color: transparent;
}

.rt-left {
	float: left !important; /* Minerva uses !important */
	clear: left !important; /* Minerva uses !important */
	margin: 0 1em 0 .3em;
}

.release-timeline > caption {
	padding: .4em .4em .2em;
	font-size: 112.5%;
	text-align: center;
	white-space: nowrap;
	display: table-caption;
}

@media (max-width: 720px) {
	.release-timeline {
		width: 100% !important;
		float: none; /* don't assume Minerva is the only small skin */
		clear: both;
		box-sizing: border-box;
		margin: 0 0 .3em 0;
	}
	
	.release-timeline > caption {
		white-space: normal;
	}
}

.release-timeline .rt-subtitle {
	padding-top: .3em;
	font-size: 90%;
	font-weight: normal;
}

.release-timeline td,
.release-timeline th {
	border: none;
	padding: .4em;
	background: none;
	font: inherit;
	color: inherit;
}

.release-timeline td {
	text-align: left;
}

.release-timeline th {
	text-align: right;
}

.release-timeline .rt-first {
	padding: .4em .4em .2em;
}

.release-timeline .rt-next,
.release-timeline .rt-last {
	padding: .2em .4em;
}