MediaWiki:Common.css: Difference between revisions

Content deleted Content added
Simplify Main Page wording, restore navigation buttons and fix search sizing and sticky header
Improve Main Page browsing, article search, featured article links and independent-wiki information
 
Line 141:
}
.mw-parser-output :is(.navbox, .navbox-subgroup) .navbox-list > ul > li + li::before {
content: ' •• '; color: var(--elite-muted);
}
.mw-parser-output :is(.navbox, .navbox-subgroup) .navbox-footer {
Line 168:
/* Imported navboxes: format directly nested list items inline. */
.mw-parser-output :is(.navbox, .navbox-subgroup) .navbox-list > li { display: inline; list-style: none; margin: 0; padding: 0; }
.mw-parser-output :is(.navbox, .navbox-subgroup) .navbox-list > li + li::before { content: " •• "; color: var(--elite-muted); }
 
/* Keep sorting indicators clear of imported table headings. */
Line 346:
.elite-video-gallery .embedvideo { box-sizing: border-box; }
.elite-video-gallery .embedvideo iframe { max-width: 100%; }
 
/* BEGIN Elite Main Page shell 20261101: scoped to the home page only. */
body.page-Main_Page.skin-vector-2022 .mw-body-header { display:none; }
Line 360 ⟶ 361:
body.page-Main_Page.skin-vector-2022 { height:auto; min-height:100vh; }
 
/* BEGIN Elite Main Page components 20261101 */
/* Main Page only. Theme-aware panels, local media and no client-side carousel. */
html body .mw-parser-output .elite-home-v2 { --ed-panel:var(--elite-panel,var(--elite-surface,#fff)); --ed-text:var(--elite-text,var(--elite-ink,#202122)); --ed-line:var(--elite-line,var(--elite-border,#a2a9b1)); --ed-accent:var(--elite-hud,var(--elite-accent,#a54400)); color:var(--ed-text); }
Line 431 ⟶ 432:
html body .mw-parser-output .elite-home-v2 .ed-feature-copy>p:not(.ed-kicker) { min-height:3.1em; }
@media(max-width:600px) { html body .mw-parser-output .elite-home-v2 .ed-home-hero { padding:1.25rem; } html body .mw-parser-output .elite-home-v2 .ed-feature-copy>p:not(.ed-kicker) { min-height:0; } }
/* Reader improvements: restrained controls, local subject images and compact facts. */
html body .mw-parser-output .elite-home-v2 .ed-home-intro {color:#e0e5eb!important;line-height:1.6;background:transparent!important;}
html body .mw-parser-output .elite-home-v2 .ed-home-stats {display:flex;flex-wrap:wrap;gap:.35rem .65rem;margin-top:1.2rem;font-size:.85rem;color:#b8c4d1!important;}
html body .mw-parser-output .elite-home-v2 .ed-home-stats a {color:#d9e2ed!important;text-decoration:underline;text-underline-offset:3px;}
html body .mw-parser-output .elite-home-v2 .ed-topic-heading {display:flex;align-items:center;gap:.8rem;margin-bottom:1rem;}
html body .mw-parser-output .elite-home-v2 .ed-topic-heading h3 {margin:0;font-size:1.25rem;}
html body .mw-parser-output .elite-home-v2 .ed-topic-image {display:flex;align-items:center;justify-content:center;width:64px;height:54px;flex:0 0 64px;overflow:hidden;}
html body .mw-parser-output .elite-home-v2 .ed-topic-image img {max-width:64px;max-height:54px;width:auto;height:auto;object-fit:contain;}
html body .mw-parser-output .elite-home-v2 .ed-bottom-links a {background:var(--ed-panel)!important;color:var(--ed-text)!important;border-color:var(--ed-line)!important;font-weight:500;}
html body .mw-parser-output .elite-home-v2 .ed-bottom-links a:hover {border-color:var(--ed-accent)!important;text-decoration:underline;}
html body .mw-parser-output .elite-home-v2 .ed-new-players {padding:1rem 0;border-bottom:1px solid var(--ed-line);}
html body .mw-parser-output .elite-home-v2 .ed-new-players h2 {margin:0;font-size:1.2rem;border:0;}
html body .mw-parser-output .elite-home-v2 .ed-new-players .ed-bottom-links {margin-top:.65rem;}
html body .mw-parser-output .elite-home-v2 .ed-feature-facts {display:grid;grid-template-columns:auto 1fr;gap:.3rem .8rem;margin:1rem 0 0;font-size:.85rem;line-height:1.4;}
html body .mw-parser-output .elite-home-v2 .ed-feature-facts dt {font-weight:500;opacity:.75;}
html body .mw-parser-output .elite-home-v2 .ed-feature-facts dd {margin:0;}
html body .mw-parser-output .elite-home-v2 .ed-feature-footer {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem;margin-top:1rem;}
html body .mw-parser-output .elite-home-v2 .ed-feature-footer .ed-read {margin:0;}
html body .mw-parser-output .elite-home-v2 .ed-image-credit {font-size:.75rem;}
html body .mw-parser-output .elite-home-v2 .ed-bottom-grid>div {border-left:0;border-top:1px solid var(--ed-line);}
html body .mw-parser-output .elite-home-v2 .ed-stats-note {font-size:.85rem;margin-top:.75rem;}
body.page-Main_Page .ed-home-suggestions {z-index:110;background:var(--elite-panel,var(--elite-surface,#fff));color:var(--elite-text,var(--elite-ink,#202122));border:1px solid var(--elite-line,var(--elite-border,#a2a9b1));border-radius:3px;box-shadow:0 6px 16px #0004;}
body.page-Main_Page .ed-home-suggestions .suggestions-results {border:0;background:transparent;}
body.page-Main_Page .ed-home-suggestions .suggestions-result {padding:.65rem .9rem;color:var(--elite-text,var(--elite-ink,#202122));background:transparent;}
body.page-Main_Page .ed-home-suggestions .suggestions-result-current {background:var(--elite-accent-bg,#eaf3ff);}
body.page-Main_Page .ed-home-suggestions a {color:inherit;}
@media print { html body .mw-parser-output .elite-home-v2 .ed-home-intro,html body .mw-parser-output .elite-home-v2 .ed-home-stats a {color:#000!important;} }
 
/* END Elite Main Page components 20261101 */