Template:Centered headers/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| Line 30: | Line 30: | ||
h2 .mw-headline::before, |
h2 .mw-headline::before, |
||
| ⚫ | |||
content: ''; |
|||
| ⚫ | |||
flex: 1 1 100px; |
|||
} |
|||
h3 .mw-headline::before, |
h3 .mw-headline::before, |
||
| ⚫ | |||
h3 .mw-headline::after { |
h3 .mw-headline::after { |
||
content: ''; |
content: ''; |
||
border-top: 1px dashed var(--color-base--emphasized); |
|||
height: 1px; |
|||
flex: 1 1 100px; |
flex: 1 1 100px; |
||
| ⚫ | |||
} |
} |
||
Revision as of 00:33, December 3, 2024
h2,
h3 {
flex: 0 1 auto;
padding: 0 15px 0 15px;
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;
}