Jump to content
Discussions

MediaWiki:Mbox.css

From Undertale Wiki

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.
.mbox {
	border: 1px solid var(--border-color-progressive);
	display: grid;
	gap: 5px;
	grid-template-areas:
		'image header'
		'image content';
	grid-template-columns: 80px 1fr;
	padding: 10px;
}

@media screen and (min-width: 719px) {
	.mbox {
		margin: 0 10%;
	}
}

.mbox-image {
	align-items: center;
	display: flex;
	grid-area: image;
	justify-content: center;
}

.mw-body .mbox-header {
	font-weight: bold;
	grid-area: header;
	margin: 0;
	padding: 0;
}

.mw-body .mbox-content {
	font-style: italic;
	grid-area: content;
	margin: 0;
	padding: 0;
}