Szablon:Spis treści/styles.css

Z POCO56
Wersja z dnia 16:42, 17 maj 2025 autorstwa Kzcjgrowikidomn (dyskusja | edycje) (Utworzono nową stronę "→‎Style dla wariantów "left" i "right"; "none" to stan domyślny: .template-toc-container.left { float: left; clear: left; margin: 0 1em 1em 0; padding: 0.5em 1.4em 0.8em 0; } .template-toc-container.right { float: right; clear: right; margin: 0 0 1em 1em; padding: 0.5em 0 0.8em 1.4em; } →‎Wyświetlanie fragmentów spisu treści: .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimi…")
(różn.) ← poprzednia wersja | przejdź do aktualnej wersji (różn.) | następna wersja → (różn.)

/* Style dla wariantów "left" i "right"; "none" to stan domyślny */ .template-toc-container.left { float: left; clear: left; margin: 0 1em 1em 0; padding: 0.5em 1.4em 0.8em 0; }

.template-toc-container.right { float: right; clear: right; margin: 0 0 1em 1em; padding: 0.5em 0 0.8em 1.4em; }

/* Wyświetlanie fragmentów spisu treści */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; }

/*

Ukryj kontener spisu treści w sytuacjach, kiedy będzie pusty.
Wektor 2022 wyświetla spis zawsze z lewej strony, poza szpaltą.
W Minervie spis pokazywany jest tylko, jeśli szerokość ekranu >= 720px.
  • /

body.skin-vector-2022 .template-toc-container {display:none;} @media screen and (max-width:719px) { body.skin-minerva .template-toc-container {display:none;} }