Template:Main Page social link/styles.css: Difference between revisions

Template page
Content added Content deleted
mNo edit summary
m (ChaoticShadow moved page Template:Main Page/Social link/styles.css to Template:Main Page social link/styles.css without leaving a redirect)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
.mp-social-link {
.mp-social-link {
display: inline-grid;
grid-gap: 5px 15px;
grid-template-columns: 48px auto;
grid-template-rows: auto;
grid-template-areas:
grid-template-areas:
"icon name"
"icon name"
"icon caption";
"icon caption";
align-items: center;
align-items: center;
padding: 15px 20px;
}
}



Latest revision as of 05:00, 22 July 2022

.mp-social-link {
	grid-template-areas:
	"icon name"
	"icon caption";
	align-items: center;
}

.mp-social-icon {
	grid-area: icon;
}

.mp-social-name {
	grid-area: name;
}

.mp-social-caption {
	grid-area: caption;
	font-size: 0.9em;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.