Template:Main Page/Header new/styles.css

From Mepdata
< Template:Main Page/Header new
Revision as of 22:47, 2 January 2023 by Admin (talk | contribs) (Created page with ".wd-mp-header { display: grid; place-items: center; isolation: isolate; text-align: center; margin-bottom: 10px; color: #54595d; } body.skin-minerva:not(.is-authenticated) .wd-mp-header { margin-top: 16px; } .wd-mp-header > * { grid-column: 1 / -1; grid-row: 1 / -1; } @supports (object-fit:cover) { .wd-mp-headerimage { width: 100%; object-fit: cover; object-position: top center; } } .wd-mp-overlay { display: flex; flex-direction: column; row-gap: 1em;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.wd-mp-header {
	display: grid;
	place-items: center;
	isolation: isolate;
	text-align: center;
	margin-bottom: 10px;
	color: #54595d;
}
body.skin-minerva:not(.is-authenticated) .wd-mp-header {
	margin-top: 16px;
}
.wd-mp-header > * {
	grid-column: 1 / -1;
	grid-row: 1 / -1;
}
@supports (object-fit:cover) {
	.wd-mp-headerimage {
		width: 100%;
		object-fit: cover;
		object-position: top center;
	}
}
.wd-mp-overlay {
	display: flex;
	flex-direction: column;
	row-gap: 1em;
	background: rgba(248, 249, 250, 0.9);
	font-size: 1rem;
	padding: 2em;
}
.wd-mp-overlay p {
	margin: 0;
}
.wd-mp-headerbox-headline {
	font-size: 1.75em;
	line-height: 1.25;
}
.wd-mp-headerbox-regular {
	line-height: 1.6;
}
.wd-mp-headerbox-footer {
	font-weight: 400;
	font-size: 0.875em;
	line-height: 1.6;
}