Template:Main Page/Frame/styles.css

From FAMEData
Revision as of 01:56, 12 October 2024 by Sunilbutolia (talk | contribs) (Created page with ".mp-frame { box-shadow: 0 0 .3em #8f8d8d; 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:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.mp-frame {
	box-shadow: 0 0 .3em #8f8d8d;
	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;
	/* [[File:FAMEData-logo white.svg]] */
	
	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;
}