Jump to content
Gov  ·  Market  ·  Community  ·  Policies  ·  Funding  ·  Open Calls  ·  Get started

MediaWiki:Mobile.css: Difference between revisions

Mobile styling: ApprovedRevs yellow notice + force TOC expanded
 
Force mobile sections always expanded (no tap-to-open), hide collapse arrows
Line 20: Line 20:
.toc .toctitle + ul, #toc ul { display: block !important; }
.toc .toctitle + ul, #toc ul { display: block !important; }
.toggle-list__list { display: block !important; }
.toggle-list__list { display: block !important; }
/* --- Sections always expanded on mobile (no tap-to-open) ---
  MobileFrontend (Minerva) wraps each section in a collapsible block and
  collapses it by default. WikiDeal wants every paragraph readable without
  tapping, like a fully expanded desktop article. Force all blocks open. */
.collapsible-block,
.collapsible-block-js,
section.mf-section-1,
section.mf-section-2,
section.mf-section-3 {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
}
/* Hide the open/close arrow indicator so headings look like plain titles. */
.collapsible-heading .indicator,
.section-heading .indicator,
.mw-ui-icon-mf-expand,
.mw-ui-icon-mf-collapse { display: none !important; }