MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 638: Line 638:
.cdx-menu-item__icon svg,
.cdx-menu-item__icon svg,
.cdx-menu-item__icon path { fill: #202124 !important; filter: none !important; }
.cdx-menu-item__icon path { fill: #202124 !important; filter: none !important; }
/* ── Show inline TOC box ─────────────────────────────────────── */
.toc {
  display: block !important;
  background: #fffdf5;
  border: 1px solid #e8c88a;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 0 24px 0;
  width: fit-content;
  min-width: 220px;
  max-width: 400px;
  font-size: 0.82em;
  line-height: 1.9;
}
.toc h2,
.toc .toctitle {
  font-size: 0.9em !important;
  font-weight: 600 !important;
  color: #5a3a00 !important;
  border: none !important;
  border-bottom: none !important;
  width: auto !important;
  margin: 0 0 6px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.toc ul {
  margin: 0 !important;
  padding-left: 1.2em !important;
  list-style: none !important;
}
.toc li { margin: 0; padding: 0; }
.toc a {
  color: #7a4a10 !important;
  text-decoration: none !important;
}
.toc a:hover { color: #f57c00 !important; }
.toc .toclevel-1 > a { font-weight: 600; color: #5a3a00 !important; }
.toc .toclevel-2 > a { color: #7a4a10 !important; }
.toc .toclevel-3 > a { color: #9a6020 !important; font-size: 0.95em; }
.tocnumber { color: #aaa; margin-right: 4px; font-size: 0.85em; }