Template:Main Page/Header new/styles.css: Difference between revisions

From FAMEData
Created page with ".fd-mp-header { overflow: hidden; position: relative; text-align: center; margin-bottom: 10px; color: #404040; } @supports (object-fit:cover) { .fd-mp-headerimage { width: 100%; object-fit: cover; object-position: top left; } } .fd-mp-overlay { height: 0; left: 50%; margin: 0 0 0 -50%; position: absolute; top: 65px; width: 100%; } .fd-mp-headerbox { background: #ddd; background: rgba(255, 255, 255, 0.9); display: inline-block; padding: 2em; font-..."
Tags: Mobile edit Mobile web edit
 
Sunilbutolia changed the content model of the page Template:Main Page/Header new/styles.css from "CSS" to "Sanitized CSS"
Tags: content model change Mobile edit Mobile web edit
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 01:54, 12 October 2024

.fd-mp-header {
	overflow: hidden;
	position: relative;
	text-align: center;
	margin-bottom: 10px;
	color: #404040;
}
@supports (object-fit:cover) {
	.fd-mp-headerimage {
		width: 100%;
		object-fit: cover;
		object-position: top left;
	}
}
.fd-mp-overlay {
	height: 0;
	left: 50%;
	margin: 0 0 0 -50%;
	position: absolute;
	top: 65px;
	width: 100%;
}

.fd-mp-headerbox {
	background: #ddd;
	background: rgba(255, 255, 255, 0.9);
	display: inline-block;
	padding: 2em;
	font-size: 1.2em;
	line-height: 2em;
}

.fd-mp-subheader {
	margin-top:10px;
}
.fd-mp-subheader > div {
	overflow: hidden;
	position: relative;
	background-color:white;
	display: inline-block;
	width: auto;
	margin: 0 auto;
	padding-left: 1em;
	padding-right: 1em;
	text-align: center;
	box-sizing: border-box;
}