User:Surjection/minitocwithetyms.css

/* minimal TOC that hopefully keeps numbered Etymology sections at least somewhat; full of hacks */ /* should only activate for root namespace pages now */ /* Import with: @import url("//en.wiktionary.org/w/index.php?title=User:Surjection/minitocwithetyms.css&action=raw&ctype=text/css"); /* you can now disable by adding the class x-show-full-toc to the body element */

body.ns-0:not(.x-show-full-toc) .toc .tocnumber { display: none; } body.ns-0:not(.x-show-full-toc) .toclevel-3, .toclevel-4, .toclevel-5, .toclevel-6, .toclevel-7 { display: none; } body.ns-0:not(.x-show-full-toc) .toclevel-2 a { display: none; } body.ns-0:not(.x-show-full-toc) li.toclevel-2 { text-align: right; } body.ns-0:not(.x-show-full-toc) .toclevel-2 ul { margin-left: 0 !important; } body.ns-0:not(.x-show-full-toc) .toclevel-2 .toctext { display: inline; max-width: 3ch; overflow: hidden; } body.ns-0:not(.x-show-full-toc) .toclevel-2 { overflow: hidden; display: table-cell; } body.ns-0:not(.x-show-full-toc) .toclevel-2 a[href*="#Etymology_"] {display: inline-block!important; font-family: monospace; font-size: 125%; overflow-x: hidden; text-indent: -10ch; margin-left: 0.5ch; max-width: 2ch; overflow-y: hidden; float: right; z-index: 200; max-height: 3.6ch; } body.ns-0:not(.x-show-full-toc) .toclevel-1 > ul { display: inline; z-index: -100; float: right; margin-left: 3em; } body.ns-0:not(.x-show-full-toc) .toclevel-1 { line-height: 4.5ch; } body.ns-0:not(.x-show-full-toc) .toc li { margin-bottom: -0.4em !important; clear: right; } body.ns-0:not(.x-show-full-toc) .toctitle h2 { font-size: 1%!important; visibility: hidden; } body.ns-0:not(.x-show-full-toc) .toctitle h2::after { content: "Languages"; font-size: 10000% !important; visibility: visible; }