MediaWiki:Common.css: Difference between revisions

From Step Mods | Change The Game
m (Text replace - "http://" to "https://")
mNo edit summary
Line 11: Line 11:
  *  Maintainers: [[en:User:R. Koot]]
  *  Maintainers: [[en:User:R. Koot]]
  */
  */
 
a:link {text-decoration:none;}
a:visited {text-decoration:none;}
 
table.collapsed tr.collapsible {
table.collapsed tr.collapsible {
         display: none;
         display: none;

Revision as of 04:59, November 26, 2020

<source lang="css" line>
/* CSS placed here will be applied to all skins */

/* Hides the Main Page's title */
body.page-Main_Page h1.firstHeading { display:none; }

/** Collapsible tables *********************************************************
 *
 *  Description: Allows tables to be collapsed, showing only the header. See
 *                         https://www.mediawiki.org/wiki/Manual:Collapsible_tables.
 *  Maintainers: [[en:User:R. Koot]]
 */

a:link {text-decoration:none;}
a:visited {text-decoration:none;}

table.collapsed tr.collapsible {
        display: none;
}
 
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the             */
        float: right;           /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;    /* are styled here so they can be customised.             */
        text-align: right;
        width: auto;
        margin: 0px 5px;
}

/* When <div class="nonumtoc"> is used on the table of contents,
   the ToC will display without numbers */
.nonumtoc .tocnumber { display: none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none;
    margin: .3em 0 0;
    padding: 0;
}
.nonumtoc #toc ul ul, 
.nonumtoc .toc ul ul { 
    margin: 0 0 0 2em; 
}
</source>