You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:Deployment calendar event card/style.css

From Wikitech-static
< Template:Deployment calendar event card
Revision as of 21:52, 18 July 2020 by imported>Krinkle
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.deploycal-eventcard-row {
	/* mimick .wikitable */
	margin: 1em 0;
}
.deploycal-eventcard-when {
	border: 1px solid #eaecf0;
	border-bottom-width: 0;
	background-color: #f8f9fa;
	padding: 0.2em 0.4em;
}
.deploycal-eventcard {
	width: 100%;
	margin: 0;
}
.deploycal-eventcard tr:nth-child(n+2) th,
.deploycal-eventcard tr:nth-child(n+2) td {
	border: 0;
	vertical-align: top;
}

@media screen and (min-width: 982px) {
	.deploycal-eventcard-when {
		box-sizing: border-box;
		width: 13em;
		margin-right: 1em;
		border-bottom-width: 1px;
	}
	.deploycal-eventcard-row {
		display: flex;
		align-items: flex-start;
	}
	.deploycal-eventcard {
		width: calc(100% - 14em);
	}
}