Template:Main Page/Frame/styles.css

Template page
< Template:Main Page/Frame
Revision as of 10:50, 20 April 2022 by WikiDwarf (talk | contribs) (Created page with ".mp-frame { box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 2em 0; padding: 1px; } .mp-frame:after { display: block; content: ""; clear: both; } .mp-frame-header { background-color: #888; border-radius: .2em; color: #fff; padding: .4em .8em .5em; font-weight: bold; } .mp-frame-header:before { display: inline-block; →‎Add some content in order to get normal line height, then make it transparent: content: "x"; color: transparent; width: 40...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.mp-frame {
	box-shadow: 0 0 .3em #999;
	border-radius: .2em;
	margin: 1em 0 2em 0;
	padding: 1px;
}
.mp-frame:after {
	display: block;
	content: "";
	clear: both;
}
.mp-frame-header {
	background-color: #888;
	border-radius: .2em;
	color: #fff;
	padding: .4em .8em .5em;
	font-weight: bold;
}
.mp-frame-header:before {
	display: inline-block;
	/* Add some content in order to get normal line height, then make it transparent */
	content: "x";
	color: transparent;
	width: 40px;
	opacity: .7;
	background-size: 27px;
	background-repeat: no-repeat;
	background-position: left center;
}
.mw-content-rtl .mp-frame-header:before {
	background-position: right center;
}
.mp-frame-body {
	padding: 1em;
}