MediaWiki:Common.css: Difference between revisions

From Gambian Holiday Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
/* Title. */
/* Title. */
& > span {
& > p {
text-align: center;
text-align: center;
font-size: 1.2rem;
font-size: 1.2rem;

Revision as of 21:18, 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. */
	& > p {
		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; }
}