Template:Portal banner/style.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 4: Line 4:
margin:0;
margin:0;
overflow:hidden;
overflow:hidden;
border-radius:7px;
}
}


Line 9: Line 10:
.portal-banner-image{
.portal-banner-image{
width:100%;
width:100%;
height:400px;
display: flex;
align-items: center;
justify-content: center;
}
}


.portal-banner img{
.portal-banner img{
width:100%;
height:inherit;
z-index:1;
position:relative;
filter:blur(3px) brightness(0.7);
}
}


/*text container*/
/*text container*/
.portal-banner-content{
.portal-banner-content{
margin-top:-400px;
width:100%;
height:400px;
display:flex;
align-items:center;
justify-content:flex-start;
padding-left:15px;
}
}


.portal-title{
.portal-title{
font-size:4rem;
font-weight:100;
text-shadow:4px 4px 9px black;
position:relative;
z-index:10;
user-select:none;
line-height:1;
}
}

Latest revision as of 18:50, 4 November 2023

/*parent container*/
.portal-banner{
	width:100%;
	margin:0;
	overflow:hidden;
	border-radius:7px;
}

/*image container*/
.portal-banner-image{
	width:100%;
	height:400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.portal-banner img{
	width:100%;
	height:inherit;
	z-index:1;
	position:relative;
	filter:blur(3px) brightness(0.7);
}

/*text container*/
.portal-banner-content{
	margin-top:-400px;
	width:100%;
	height:400px;
	display:flex;
	align-items:center;
	justify-content:flex-start;
	padding-left:15px;
}

.portal-title{
	font-size:4rem;
	font-weight:100;
	text-shadow:4px 4px 9px black;
	position:relative;
	z-index:10;
	user-select:none;
	line-height:1;
}