Template:Page or Section/Styles.css: Difference between revisions
Jump to navigation
Jump to search
PhantomCaleb (talk | contribs) (Created page with "→[[Category:Template Styles]]: .zw-pageorsection__section-text { display: none; } →.mw-heading2 selector is in anticipation of upcoming HTML changes in MediaWiki 1.43 https://www.mediawiki.org/wiki/Heading_HTML_changes: h2 ~ .zw-pageorsection__section-text, .mw-heading2 ~ .zw-pageorsection__section-text { display: inline; } h2 ~ .zw-pageorsection__lede-text, .mw-heading2 ~ .zw-pageorsection__lede-text { display: none; }") |
PhantomCaleb (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
/* .mw-heading2 selector is in anticipation of upcoming HTML changes in MediaWiki 1.43 https://www.mediawiki.org/wiki/Heading_HTML_changes */ | /* .mw-heading2 selector is in anticipation of upcoming HTML changes in MediaWiki 1.43 https://www.mediawiki.org/wiki/Heading_HTML_changes */ | ||
h2 ~ .zw-pageorsection__section-text, | h2 ~ * .zw-pageorsection__section-text, | ||
.mw-heading2 ~ .zw-pageorsection__section-text { | .mw-heading2 ~ .zw-pageorsection__section-text { | ||
display: inline; | display: inline; | ||
} | } | ||
h2 ~ .zw-pageorsection__lede-text, | h2 ~ * .zw-pageorsection__lede-text, | ||
.mw-heading2 ~ .zw-pageorsection__lede-text { | .mw-heading2 ~ .zw-pageorsection__lede-text { | ||
display: none; | display: none; | ||
} | } |
Latest revision as of 13:34, 23 May 2024
/* [[Category:Template Styles]] */
.zw-pageorsection__section-text {
display: none;
}
/* .mw-heading2 selector is in anticipation of upcoming HTML changes in MediaWiki 1.43 https://www.mediawiki.org/wiki/Heading_HTML_changes */
h2 ~ * .zw-pageorsection__section-text,
.mw-heading2 ~ .zw-pageorsection__section-text {
display: inline;
}
h2 ~ * .zw-pageorsection__lede-text,
.mw-heading2 ~ .zw-pageorsection__lede-text {
display: none;
}