Difference between revisions of "MediaWiki:Common.css"

From Prince Vault
Jump to: navigation, search
Line 80: Line 80:
  
 
#ca-talk { display:none!important; }
 
#ca-talk { display:none!important; }
 +
 +
/* This removes borders in wikitable collapsible */
 +
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
 +
    border: 0;
 +
}

Revision as of 14:19, 26 June 2016

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

/** Princevault special CSS**********************************************************
 *
 * These are the changes from the original mediawiki monobook CSS that are specific to Princevault.
 * 
 * Do not alter if you're not familiar with CSS coding
 *
 * Maintainers: BLR
 */

/* This line disables the display of the wiki page name on main page + other pages in the wiki*/
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
 
h1.firstHeading  { display: none; }

/* This is the code for all titles color, spaces etc */
h1, h2, h3, h4, h5, h6 {
    border-bottom: 1px solid #aaa;
    color: black;
    font-weight: bold;
    margin: 0;
    padding-bottom: 0.17em;
    padding-top: 0.5em;
}

h1 {
    font-size:2.5em;
    color:#795290;
}

h2 {
    font-size:2em;
    color:#DE8300;
    padding-top:0.2em;
}

h3 {
    color:#AB3E00;
}

/* This turns the menu box titles white */
.portlet h3 {
    color: white;
}

/* This turns the personal bar top right titles white */
#p-personal li a {
    color: #fff;
}

/* This turns the borders of page menu round */
#p-cactions li a {
    border: medium none;
    border-radius: 3px 3px 0 0;
    padding: 0 0.8em 0.3em;
}

#ca-nstab-main, #ca-nstab-mediawiki, #ca-talk, #ca-edit, #ca-history, #ca-delete, #ca-move, #ca-protect, #ca-unprotect, #ca-unwatch, #ca-watch {
    border-radius: 3px 3px 0 0;
}

/* This removes all talk pages from the wiki: do not remove. Talk pages are considered non secured, and can be used by bots to insert unwanted text and links */

#ca-talk { display:none!important; }

/* This removes borders in wikitable collapsible */
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
    border: 0;
}