Jump to content

MediaWiki:Common.css: Difference between revisions

From Computerwhz Wiki
Created page with "→CSS placed here will be applied to all skins: .cw-messagebox { border: 1px solid #a2a9b1; background: #f8f9fa; margin: 1em 0; padding: 0.75em 1em; display: flex; align-items: flex-start; gap: 0.8em; box-sizing: border-box; } .cw-messagebox-icon { font-size: 26px; line-height: 1; } .cw-messagebox-warning { background: #fff8e5; border-color: #c8ccd1; } .cw-messagebox-policy { background: #eef6ff; }"
 
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
.cw-messagebox {
.cw-messagebox {
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
Line 6: Line 5:
padding: 0.75em 1em;
padding: 0.75em 1em;
display: flex;
display: flex;
align-items: flex-start;
align-items: center;
gap: 0.8em;
gap: 0.9em;
box-sizing: border-box;
box-sizing: border-box;
}
}


.cw-messagebox-icon {
.cw-messagebox-icon {
font-size: 26px;
width: 32px;
min-width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
line-height: 1;
line-height: 1;
text-align: center;
}
}


.cw-messagebox-warning {
.cw-messagebox-content {
background: #fff8e5;
flex: 1;
border-color: #c8ccd1;
}
 
.cw-messagebox-policy {
background: #eef6ff;
}
}

Revision as of 16:22, 1 June 2026

.cw-messagebox {
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	margin: 1em 0;
	padding: 0.75em 1em;
	display: flex;
	align-items: center;
	gap: 0.9em;
	box-sizing: border-box;
}

.cw-messagebox-icon {
	width: 32px;
	min-width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	text-align: center;
}

.cw-messagebox-content {
	flex: 1;
}