MediaWiki:Common.css: Difference between revisions
Appearance
MDElliottMD (talk | contribs) Created page with "body.page-Main_Page h1.firstHeading { display: none; } body.page-Main_Page #siteSub { display: none; }" |
MDElliottMD (talk | contribs) Restore css content model clobbered by maintenance edit.php |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* ===== Pendell's corner — literary pull-quote callout ===== */ | |||
body. | .pcp-pendell { | ||
margin: 1.4em 0; | |||
padding: 1.1em 1.4em 0.9em 1.4em; | |||
background: var(--background-color-neutral, #f8fafc); | |||
border: 2px solid #7c3aed; | |||
border-left: 6px solid #7c3aed; | |||
border-radius: 6px; | |||
color: #fff; | |||
font-family: Georgia, "Times New Roman", serif; | |||
position: relative; | |||
max-width: 38em; | |||
} | |||
.pcp-pendell-header { | |||
line-height: 1; | |||
margin-bottom: 0.55em; | |||
display: flex; | |||
align-items: baseline; | |||
gap: 0.25em; | |||
} | |||
.pcp-pendell-mark { | |||
font-family: Georgia, serif; | |||
font-size: 2.8em; | |||
line-height: 0.45; | |||
color: #7c3aed; | |||
-webkit-text-stroke: 0; | |||
display: inline-block; | |||
transform: translateY(0.18em); | |||
} | |||
.pcp-pendell-title { | |||
font-size: 0.92em; | |||
font-weight: 700; | |||
letter-spacing: 0.14em; | |||
text-transform: uppercase; | |||
color: #fff; | |||
-webkit-text-stroke: 0.4px #7c3aed; | |||
paint-order: stroke fill; | |||
} | |||
.pcp-pendell-quote { | |||
font-size: 1.06em; | |||
line-height: 1.55; | |||
font-style: italic; | |||
margin: 0.2em 0 0.8em 0; | |||
-webkit-text-stroke: 0.3px #7c3aed; | |||
paint-order: stroke fill; | |||
} | |||
.pcp-pendell-quote p { margin: 0.5em 0; } | |||
.pcp-pendell-attr { | |||
text-align: right; | |||
font-size: 0.88em; | |||
color: #c4b5fd; | |||
font-style: normal; | |||
-webkit-text-stroke: 0; | |||
letter-spacing: 0.02em; | |||
} | |||
.pcp-pendell-attr i, .pcp-pendell-attr em { color: #ddd6fe; } | |||
.pcp-pendell-voice { | |||
display: inline-block; | |||
margin-top: 0.2em; | |||
font-size: 0.82em; | |||
font-style: italic; | |||
color: #a78bfa; | |||
letter-spacing: 0.06em; | |||
} | |||
/* ===== 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; } | |||
Latest revision as of 00:10, 20 May 2026
/* ===== Pendell's corner — literary pull-quote callout ===== */
.pcp-pendell {
margin: 1.4em 0;
padding: 1.1em 1.4em 0.9em 1.4em;
background: var(--background-color-neutral, #f8fafc);
border: 2px solid #7c3aed;
border-left: 6px solid #7c3aed;
border-radius: 6px;
color: #fff;
font-family: Georgia, "Times New Roman", serif;
position: relative;
max-width: 38em;
}
.pcp-pendell-header {
line-height: 1;
margin-bottom: 0.55em;
display: flex;
align-items: baseline;
gap: 0.25em;
}
.pcp-pendell-mark {
font-family: Georgia, serif;
font-size: 2.8em;
line-height: 0.45;
color: #7c3aed;
-webkit-text-stroke: 0;
display: inline-block;
transform: translateY(0.18em);
}
.pcp-pendell-title {
font-size: 0.92em;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: #fff;
-webkit-text-stroke: 0.4px #7c3aed;
paint-order: stroke fill;
}
.pcp-pendell-quote {
font-size: 1.06em;
line-height: 1.55;
font-style: italic;
margin: 0.2em 0 0.8em 0;
-webkit-text-stroke: 0.3px #7c3aed;
paint-order: stroke fill;
}
.pcp-pendell-quote p { margin: 0.5em 0; }
.pcp-pendell-attr {
text-align: right;
font-size: 0.88em;
color: #c4b5fd;
font-style: normal;
-webkit-text-stroke: 0;
letter-spacing: 0.02em;
}
.pcp-pendell-attr i, .pcp-pendell-attr em { color: #ddd6fe; }
.pcp-pendell-voice {
display: inline-block;
margin-top: 0.2em;
font-size: 0.82em;
font-style: italic;
color: #a78bfa;
letter-spacing: 0.06em;
}
/* ===== 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; }