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) Restore css content model clobbered by maintenance edit.php |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 64: | Line 64: | ||
} | } | ||
/* ===== End Pendell's corner ===== */ | /* ===== End Pendell's corner ===== */ | ||
/* Hide MediaWiki's auto-generated category member listing on category | |||
pages that supply their own curated, prose-led member index. Two | |||
marker tags trigger the hide: | |||
Category:MedCategoryFull MedCategory class pages | |||
Category:CuratedCategoryPage canonical category pages (home-claude | |||
category-page structure, 2026-05-20) | |||
Scoping uses :has() on the marker link in the catlinks block, so any | |||
page carrying either marker is hidden automatically. Category | |||
membership, navigation, and the API listing are unaffected: this is | |||
display-only. | |||
This rule is intentionally SKIN-INDEPENDENT and must keep working | |||
under every skin (pharma default, plants overlay, any future skin). | |||
display: none is set !important and the selector carries id-level | |||
specificity, so a skin stylesheet cannot quietly re-show the | |||
auto-list. Future skin authors: do not override this. The curated | |||
index is the intended member listing on these pages. */ | |||
body:has(#mw-normal-catlinks a[title="Category:MedCategoryFull"]) .mw-category-generated, | |||
body:has(#mw-normal-catlinks a[title="Category:CuratedCategoryPage"]) .mw-category-generated { display: none !important; } | |||