MediaWiki:Common.css: Difference between revisions

From Gambian Holiday Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* This contains the formatting for the Biography template */
/* This contains the formatting for the Biography template. */
div.global-biography {
div.global-biography {
display: flex;
display: flex;
Line 6: Line 6:
float: right;
float: right;
clear: right;
clear: right;
border: 1px solid black;
padding: .1rem;
/* Title. */
& > span {
text-align: center;
font-size: 1.2rem;
font-weight: bold;
width: 100%;
height: 1.5rem;
line-height: 1.5rem;
background: red;
}
/* Table (e.g. 'name: ...'). */
& td:first-child { font-weight: bold; }
& td:first-child { font-weight: bold; }
& tr { gap: 1rem; }
& tr { gap: 1rem; }
}
}

Revision as of 21:16, 21 June 2024

/* This contains the formatting for the Biography template. */
div.global-biography {
	display: flex;
	flex-direction: column;
	width: 22em;
	float: right;
	clear: right;
	border: 1px solid black;
	padding: .1rem;
	
	/* Title. */
	& > span {
		text-align: center;
		font-size: 1.2rem;
		font-weight: bold;
		width: 100%;
		height: 1.5rem;
		line-height: 1.5rem;
		background: red;
	}
	
	/* Table (e.g. 'name: ...'). */
	& td:first-child { font-weight: bold; }
	& tr { gap: 1rem; }
}