Jump to content

MediaWiki:Common.css

From MineMania Wiki
Revision as of 20:00, 5 June 2026 by Computerwhz (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.cw-messagebox {
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	color: #202122;
	margin: 1em 0 0.25em 0;
	padding: 0.75em 1em;
	display: flex;
	align-items: center;
	gap: 0.9em;
	box-sizing: border-box;
}

.cw-messagebox-icon {
	width: 36px;
	min-width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	text-align: center;
	color: inherit;
}

.cw-messagebox-icon img {
	display: block;
	max-width: 32px;
	max-height: 32px;
	width: auto;
	height: auto;
	object-fit: contain;
}

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

.cw-messagebox-content {
	flex: 1;
	color: inherit;
	margin: 0;
	padding: 0;
	line-height: 1.4;
}

.cw-messagebox-content p {
	margin: 0;
	padding: 0;
}

/* Dark mode */
html.skin-theme-clientpref-night .cw-messagebox {
	background: #202122;
	color: #f8f9fa;
	border-color: #54595d;
}

html.skin-theme-clientpref-night .cw-messagebox a {
	color: #6bace6;
}
.cw-command-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
	table-layout: auto;
}

.cw-command-table th,
.cw-command-table td {
	border: 1px solid #a2a9b1;
	padding: 0.55em 0.8em;
	vertical-align: middle;
}

.cw-command-table-command {
	width: 1%;
	white-space: nowrap;
	text-align: center;
	background: #eaecf0;
	font-weight: bold;
	font-family: monospace;
	padding-left: 1.2em;
	padding-right: 1.2em;
}

.cw-command-table-description {
	width: 99%;
	text-align: left;
	background: #fff;
}

/* Dark mode */
html.skin-theme-clientpref-night .cw-command-table th,
html.skin-theme-clientpref-night .cw-command-table td {
	border-color: #54595d;
}

html.skin-theme-clientpref-night .cw-command-table-command {
	background: #2a2d31;
	color: #f8f9fa;
}

html.skin-theme-clientpref-night .cw-command-table-description {
	background: #202122;
	color: #f8f9fa;
}

.cw-staff-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
	table-layout: auto;
}

.cw-staff-table th,
.cw-staff-table td {
	border: 1px solid #a2a9b1;
	padding: 0.55em 0.8em;
	vertical-align: middle;
}

.cw-staff-table th {
	background: #2f6f3e;
	color: #ffffff;
	font-weight: bold;
	text-align: center;
}

.cw-staff-table-user,
.cw-staff-table-status,
.cw-staff-table-since {
	width: 1%;
	white-space: nowrap;
	text-align: center;
}

.cw-staff-table-position {
	width: 99%;
	text-align: left;
}

.cw-staff-table-user {
	font-weight: bold;
}

/* Dark mode */
html.skin-theme-clientpref-night .cw-staff-table th,
html.skin-theme-clientpref-night .cw-staff-table td {
	border-color: #54595d;
}

html.skin-theme-clientpref-night .cw-staff-table td {
	background: #202122;
	color: #f8f9fa;
}