Snippets/Page Table of contents Top-right

Description
This small css code moves the page table of contents (TOC) "top-right" instead of (the default) "top-left".

Frequently the page table of contents takes up a large vertical size of the screen while more than half of the (right) screen width remains blank. Page content is needlessly shifted down with subsequent required scrolling. Moving the TOC to top-right makes better use of the available screen space and produces a better visual presentation. Frequently leading sections do not contain too much text, so it perfectly aligns with the TOC.

Visual Example
This page!

Usage
It should work for all types and versions of MediaWiki.
 * Copy the below code to your Special:MyPage/common.css.
 * You can activate it centrally for all the sister projects on m:Special:MyPage/global.css

Code
TOC top-right

Template
Use can use to simulate.