Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProleWiki:Main page/Header/styles.css: Difference between revisions

From ProleWiki, the proletarian encyclopedia
More languages
m (Removed "wd" class name in favour of "pw")
m (Improving Main page with border-radius smooth stuff)
Line 9: Line 9:
.pw-mp-headerimage {
.pw-mp-headerimage {
width: 100%;
width: 100%;
object-fit: contain;
border-radius:50px;
object-position: center;
}
}



Revision as of 17:50, 17 November 2021

.pw-mp-header {
	overflow: hidden;
	position: relative;
	text-align: center;
	margin-bottom: 10px;
	color: #484848;
}

.pw-mp-headerimage {
	width: 100%;
	border-radius:50px;
}

.pw-mp-overlay {
	height: 0;
	left: 50%;
	margin: 0 0 0 -50%;
	position: absolute;
	top: 65px;
	width: 100%;
}

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

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