User:Wint7/vector-2022.css

/* vector 2022 */
 * root

{	--main-width: 24cm; --read-width: 16cm; --side-width: 0cm; --max-width: 36cm; }

body > .mw-page-container, body > .mw-page-container > .mw-page-container-inner, body > .mw-page-container > .mw-page-container-inner > header.mw-header, body > .mw-page-container > .mw-page-container-inner > .mw-workspace-container, {	max-inline-size: var(--max-width); }
 * 1) mw-navigation

.mw-content-container, {	max-inline-size: var(--main-width); margin-inline-start: var(--side-width); }
 * 1) siteNotice,
 * 2) content > nav > .mw-article-toolbar-container

main, {	margin-inline-start: 0; }
 * 1) content

{	font-size: 1rem; }
 * 1) bodyContent

{	max-inline-size: var(--main-width); margin-inline: unset; }
 * 1) p-search,
 * 2) mw-content-text > .mw-parser-output,
 * 3) mw-content-text > .mw-parser-output > .nomobile,
 * 4) mw-content-text > .mw-parser-output > #mf-section-0

{	margin-inline-start: 1cm; }
 * 1) p-search

{	max-inline-size: var(--read-width); }
 * 1) mw-content-text > .mw-parser-output > *,
 * 2) mw-content-text > .mw-parser-output > #mf-section-0 > *,
 * 3) mw-content-text > .mw-parser-output > .nomobile > *

/* link: back to the old */ {	visibility: hidden; display: none; }
 * 1) mw-panel > .mw-sidebar-action > a.mw-sidebar-action-link:first-child,
 * 2) mw-panel > .mw-sidebar-action > .mw-sidebar-action-item > .mw-sidebar-action-content > a

{	inline-size: clamp(400px, 20cm, 90vw); inline-size: fit-content; max-inline-size: max-content; }
 * 1) mw-content-text > .mw-parser-output > table.wikitable,
 * 2) mw-content-text > .mw-parser-output > .documentation-container,
 * 3) mw-content-text > .mw-parser-output table.clade,
 * 4) mw-content-text > .mw-parser-output .navbox

blockquote {	overflow: unset; inline-size: fit-content; }

/* revision diff page */ {	inline-size: fit-content; max-inline-size: max-content; }
 * 1) mw-content-text table.diff

/* fix template */ {	clear: both; }
 * 1) coordinates

/* script pages */ {	min-inline-size: 40em; }
 * 1) mw-content-text > .mw-parser-output > .mw-highlight.mw-highlight-lang-lua.mw-content-ltr.mw-highlight-lines > pre

/* language selector */ body > .grid.uls-menu.uls-wide, body > .grid.uls-menu.uls-wide > .row.uls-search, body > .grid.uls-menu.uls-wide > .row.uls-language-list.uls-lcd, {	min-width: unset; }
 * 1) search,
 * 1) uls-settings-block

body > .grid.uls-menu.uls-wide > .row.uls-language-list.uls-lcd ul.three.columns {	width: unset; float: unset; padding: unset; }

{	min-inline-size: 7cm; }
 * 1) search

/* TOC */ .vector-toc-enabled .sidebar-toc, body > .mw-page-container > .mw-page-container-inner > .mw-workspace-container > .mw-table-of-contents-container.mw-sticky-header-element > nav {	margin-block-start: 1cm; }
 * 1) mw-panel-toc,