Difference between revisions of "MediaWiki:Common.css"

From den4b Wiki
Jump to navigation Jump to search
(adjusted table paddings)
(adjusted table paddings)
Line 12: Line 12:
 
.prettytable th, .prettytable td {
 
.prettytable th, .prettytable td {
 
     border: 1px #aaa solid;
 
     border: 1px #aaa solid;
     padding: 0.2em;
+
     padding: 0.2em 0.4em 0.2em 0.4em;
 
}
 
}
 
.wikitable th,
 
.wikitable th,
Line 31: Line 31:
 
}
 
}
 
.ambox td {
 
.ambox td {
     padding: 0.3em 0.5em 0.3em 0.5em;
+
     padding: 0.3em;
 
     border: none;
 
     border: none;
 
}
 
}

Revision as of 15:47, 16 June 2009

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

/* wikitable/prettytable */
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 0.4em 0.2em 0.4em;
}
.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.3em;
    border: none;
}