Difference between revisions of "MediaWiki:Common.css"

From den4b Wiki
Jump to navigation Jump to search
Line 29: Line 29:
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 
     background-color: #ffe;
 
     background-color: #ffe;
 +
}
 +
 +
.ambox td {
 +
    padding: 0.2em;
 
}
 
}

Revision as of 13:16, 26 May 2009

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

/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th,
.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption,
.prettytable caption {
    font-weight: bold;
}

/*ambox*/
.ambox {
    border: 1px #aaa solid;
    border-collapse: collapse;
    background-color: #ffe;
}

.ambox td {
    padding: 0.2em;
}