MediaWiki:Common.css: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(Added collapsible tables)
 
No edit summary
Line 17: Line 17:
         text-align: right;
         text-align: right;
         width: auto;
         width: auto;
}
/* Webkit Fix */
code, pre, tt, samp {
        font-family: Consolas, fixed-width, monospace;
        font-size:100%;
}
}

Revision as of 01:58, 16 August 2012

/* CSS placed here will be applied to all skins */

/** Collapsible tables *********************************************************
 *
 *  Description: Allows tables to be collapsed, showing only the header. See
 *                         http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
 *  Maintainers: [[en:User:R. Koot]]
 */
 
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;
}

/* Webkit Fix */
code, pre, tt, samp {
        font-family: Consolas, fixed-width, monospace;
        font-size:100%;
}