Template:Nmbox/styles.css

From "PTTLink Wiki"
< Template:Nmbox
Revision as of 19:20, 20 January 2022 by Kg7qin (talk | contribs) (Created page with ".nmbox { clear: both; background: #f8f9fa; border: 1px solid #a2a9b1; box-sizing: border-box; margin: 2px 0; padding: 0; } .nmbox * { box-sizing: border-box; } .nmbox-h...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.nmbox {
	clear: both;
	background: #f8f9fa;
	border: 1px solid #a2a9b1;
	box-sizing: border-box;
	margin: 2px 0;
	padding: 0;
}
.nmbox * {
	box-sizing: border-box;
}
.nmbox-header {
	background: #eaecf0;
	padding: 4px 0.5em;
	font-weight: bold;
	white-space: nowrap;
}
.nmbox-text {
	width: 100%;
	padding: 4px 0.5em;
}
@media screen and (min-width: 768px) {
	.nmbox-header {
		display: table-cell;
		width: 1%;
	}
	.nmbox-text {
		display: table-cell;
	}
}