Difference between revisions of "MediaWiki:Common.css"

From CUSF Wiki
Jump to navigation Jump to search
(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...")
 
m
 
Line 1: Line 1:
// 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
* 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
*/


/*
/*

Latest revision as of 16:51, 29 April 2021

/*
 * 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%; }
}