Module:Timeline of release years/styles.css: Difference between revisions

From The Goon Show Depository
en>Goszei
(tweak)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 15:39, 24 August 2022

/* {{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: .5em 0 .5em 1.4em;
	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: .5em 1.4em .5em 0;
}

.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 .5em 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;
}