MediaWiki:Common.css

From CUSF Wiki
Revision as of 15:57, 29 April 2021 by EllieClifford (talk | contribs) (Created page with "// The following code is from the ArchWiki, and is available under the GNU Free Documentation License 1.3 or later // https://wiki.archlinux.org/index.php?title=MediaWiki:Comm...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// The following code is from the ArchWiki, and is available under the GNU Free Documentation License 1.3 or later
// https://wiki.archlinux.org/index.php?title=MediaWiki:Common.css

/*
 * Main Page columns
 * Keep coherent with https://github.com/archlinux/archwiki/search?q=deviceWidthTablet
 */

@media screen and ( min-width: 721px ) {
    div.archwiki-main-page-columns {
        column-count: 2; }
        div.archwiki-main-page-columns > * {
            page-break-inside: avoid;
            /* fix alignment of list items in multi-column layout, see https://stackoverflow.com/a/42349512/4180822 */
            display: inline-block;
            width: 100%; }
}