MediaWiki:Common.css: Difference between revisions

From MI2wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 8: Line 8:
/* Character table stuff fixed up by Dan! */
/* Character table stuff fixed up by Dan! */
table.chartable {
table.chartable {
         border-spacing:0px; font-size:90%; border-collapse: collapse; border: 1px #636363 solid;
         border-spacing:0px; font-size:90%; border-collapse: collapse; border: 1px #4b4b4b solid;
}
}
table.chartable th {
table.chartable th {
         padding: 2px;
         padding: 2px;
         border-collapse: collapse; border: 1px #636363 solid;
         border-collapse: collapse; border: 1px #4b4b4b solid;
         color: white; background: #865ab7; font-weight: bold;
         color: white; background: #865ab7; font-weight: bold;
         text-align:center; vertical-align:text-top;
         text-align:center; vertical-align:text-top;
Line 18: Line 18:
table.chartable td {
table.chartable td {
         padding: 2px;
         padding: 2px;
         border-collapse: collapse; border: 1px #636363 solid;
         border-collapse: collapse; border: 1px #4b4b4b solid;
         color: black; background: #dbd1f7;
         color: black; background: #dbd1f7;
         vertical-align:text-top;
         vertical-align:text-top;

Revision as of 12:55, 30 January 2013

/* Original Character Table Stuff */

.CHARa { color: white; background:#865ab7 }
.CHARb { color: black; background:#dbd1f7 }
.seriesa{ color: white; background:#234432 }
.seriesb{ color: black; background:#B0C4DE }

/* Character table stuff fixed up by Dan! */
table.chartable {
        border-spacing:0px; font-size:90%; border-collapse: collapse; border: 1px #4b4b4b solid;
}
table.chartable th {
        padding: 2px;
        border-collapse: collapse; border: 1px #4b4b4b solid;
        color: white; background: #865ab7; font-weight: bold;
        text-align:center; vertical-align:text-top;
}
table.chartable td {
        padding: 2px;
        border-collapse: collapse; border: 1px #4b4b4b solid;
        color: black; background: #dbd1f7;
        vertical-align:text-top;
}

/* Organization table stuff fixed up by Dan! */
table.orgtable {
        border-spacing:0px; font-size:90%; border-collapse: collapse; border: 1px #4b4b4b solid;
}
table.orgtable th {
        padding: 2px;
        border-collapse: collapse; border: 1px #4b4b4b solid;
        color: white; background: #234432; font-weight: bold;
        text-align:center; vertical-align:text-top;
}
table.orgtable td {
        padding: 2px;
        border-collapse: collapse; border: 1px #4b4b4b solid;
        color: black; background: #B0C4DE;
        vertical-align:text-top;
}

/* wikitable/prettytable class for skinning normal tables (standard wikitable code)*/

table.wikitable, table.prettytable {
        margin: 1px 1px 1px 0;
        background: #f9f9f9;
        border: 1px #4b4b4b solid;
        border-collapse: collapse;
}

table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td {
        border: 1px #4b4b4b solid;
        padding: 2px;
}

table.wikitable th, table.prettytable th {
        background: #f2f2f2;
        text-align: center;
}

table.wikitable caption, table.prettytable caption {
        margin-left: inherit;
        margin-right: inherit;
}



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