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

Template page
No edit summary
No edit summary
Line 10: Line 10:
width:100%;
width:100%;
height:400px;
height:400px;
position:absolute;
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
z-index:1;
}
}


Line 24: Line 26:
width:100%;
width:100%;
height:400px;
height:400px;
position:absolute;
display:flex;
display:flex;
align-items:flex-start;
align-items:flex-start;
justify-content:center;
justify-content:center;
padding-left:2rem;
padding-left:2rem;
z-index:10;
}
}



Revision as of 13:30, 3 November 2023

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

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

.portal-banner img{
	width:100%;
	height:inherit;
}

/*text container*/
.portal-banner-content{
	width:100%;
	height:400px;
	position:absolute;
	display:flex;
	align-items:flex-start;
	justify-content:center;
	padding-left:2rem;
	z-index:10;
}

.portal-title{
	
}