Bước tới nội dung

Bản mẫu:Tỷ lệ tử vong trong đại dịch COVID-19/styles.css

Bách khoa toàn thư mở Wikipedia
/* wrapper <div> */
#wrapper65150380 {
	display: inline-block;
	max-width: 100%;
	height: 50em;
	max-height: 75vh;
	overflow: auto;
}

/* table */
#table65150380 {
	text-align: right;
}

/* table cells */
#table65150380 td {
	padding-top: 0;
	padding-bottom: 0;
}

/* align flags to center */
#table65150380 td:nth-child(1) {
	text-align: center;
}

/* align country names to left */
#table65150380 td:nth-child(2) {
	text-align: left;
}

/* expand & collapse buttons in title */
#expand65150380, #collapse65150380 {
	float: right;
	font-size: 85%;
	font-weight: 500;
}

/* hide collapse button */
#collapse65150380 {
	display: none;
}

/* hide expand button when clicked */
#wrapper65150380:target #expand65150380 {
	display: none;
}

/* show collapse button when expand button is clicked */
#wrapper65150380:target #collapse65150380 {
	display: inline;
}

/* expand wrapper when button is clicked */
#wrapper65150380:target {
	max-height: none;
	height: auto;
}