Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:Hr with image/styles.css: Difference between revisions

Template page
Content deleted Content added
No edit summary
No edit summary
Line 19: Line 19:
background: var(--color-amaranth-legacy-scope);
background: var(--color-amaranth-legacy-scope);
flex: 0 0 25%;
flex: 0 0 25%;
}

.hr-with-image::before {
margin-right: auto;
}

.hr-with-image::after {
margin-left: auto;
}
}

Revision as of 16:25, April 2, 2025

.hr-with-image {
	/* make this a flexbox */
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-md);
	/* typography for header */
	text-align: center;
	font-weight: bold;
	/* only shrink */
	flex: 0 1 auto;
}

.hr-with-image::before,
.hr-with-image::after {
	content: '';
	height: 1px;
	background: var(--color-amaranth-legacy-scope);
	flex: 0 0 25%;
}