Template:Nmbox/styles.css: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
m Reverted edits by 84.17.39.176 (talk) to last version by Stanglavine
Willy-on-Wheels.css
Line 1: Line 1:
.nmbox {
.nmbox {
clear: both;
clear: both;
background: #f8f9fa;
background: #ff0000;
border: 1px solid #AAA;
border: 1px solid #ff0000;
box-sizing: border-box;
box-sizing: border-box;
margin: 2px 0;
margin: 2px 0;
Line 11: Line 11:
}
}
.nmbox-header {
.nmbox-header {
background: #eaecf0;
background: #ff0000;
padding: 4px 0.5em;
padding: 4px 0.5em;
font-weight: bold;
font-weight: bold;
Line 21: Line 21:
}
}
.nmbox-text {
.nmbox-text {
border-top: 1px solid #AAA;
border-top: 1px solid #ff0000;
width: 100%;
width: 100%;
padding: 4px 0.5em;
padding: 4px 0.5em;
Line 28: Line 28:
.nmbox-header {
.nmbox-header {
display: table-cell;
display: table-cell;
border-right: 1px solid #AAA;
border-right: 1px solid #ff0000;
width: 1%;
width: 1%;
}
}

Revision as of 14:04, 21 June 2020

.nmbox {
	clear: both;
	background: #ff0000;
	border: 1px solid #ff0000;
	box-sizing: border-box;
	margin: 2px 0;
	padding: 0;
}
.nmbox * {
	box-sizing: border-box;
}
.nmbox-header {
	background: #ff0000;
	padding: 4px 0.5em;
	font-weight: bold;
	text-align: center;
	white-space: nowrap
}
.nmbox .mbox-image {
	display: inline-block;
}
.nmbox-text {
	border-top: 1px solid #ff0000;
	width: 100%;
	padding: 4px 0.5em;
}
@media screen and (min-width: 768px) {
	.nmbox-header {
		display: table-cell;
		border-right: 1px solid #ff0000;
		width: 1%;
	}
	.nmbox-text {
		border-top: none;
		display: table-cell;
	}
}