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

Template:Centered headers/styles.css: Difference between revisions

Template page
Content deleted Content added
No edit summary
No edit summary
Line 2: Line 2:
h3 {
h3 {
flex: 0 1 auto;
flex: 0 1 auto;
padding: 0 15px 0 15px;
text-align: center;
text-align: center;
}
}

Revision as of 00:36, December 3, 2024

h2,
h3 {
	flex: 0 1 auto;
	text-align: center;
}

h2 {
	font-size: var(--font-size-xxx-large);
}

h3 {
	font-size: var(--font-size-x-large);
}

h2 .mw-headline,
h3 .mw-headline {
	font-weight: bold;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	gap: var(--space-md);
}

h2 .mw-editsection,
h3 .mw-editsection {
	display: none;
}

h2 .mw-headline::before,
h2 .mw-headline::after {
	content: '';
	border-top: 1px solid var(--color-base--emphasized);
	flex: 1 1 100px;
}

h3 .mw-headline::before,
h3 .mw-headline::after {
	content: '';
	border-top: 1px dashed var(--color-base--emphasized);
	flex: 1 1 100px;
}