MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
MDElliottMD (talk | contribs) Move .pcp-pendell rules into Common.css so PendellsCorner styles load on every page (not only on pages that use effect/interaction/etc. parser tags) |
MDElliottMD (talk | contribs) Scope category auto-list hide to MedCategory pages only via :has() on the Category:MedCategory marker |
||
| Line 64: | Line 64: | ||
} | } | ||
/* ===== End Pendell's corner ===== */ | /* ===== End Pendell's corner ===== */ | ||
/* ===== Hide MediaWiki's auto-generated category member listing on | |||
MedCategory pages only. Those pages render a manual prose "Members" | |||
section instead. Scoping uses :has() to match the [[Category:MedCategory]] | |||
marker rendered in the catlinks block, so any current or future page | |||
tagged [[Category:MedCategory]] gets the hide automatically and no | |||
other category pages are affected. Category membership, navigation, | |||
and the API listing are unaffected — this is display-only. ===== */ | |||
body:has(#mw-normal-catlinks a[title="Category:MedCategory"]) .mw-category-generated { display: none; } | |||