Difference between revisions of "MediaWiki:Common.css"

From Transport Empire
Jump to: navigation, search
(Created, table with 1px borders inserted.)
 
("prettytable" class fixed.)
 
Line 7: Line 7:
 
       border:1px #AAA solid;
 
       border:1px #AAA solid;
 
       border-collapse:collapse;
 
       border-collapse:collapse;
 +
      }
 +
table.prettytable th, table.prettytable td {
 +
      border:1px #AAA solid;
 +
      padding:0.2em;
 +
      }
 +
table.prettytable th {
 +
      background:#F2F2F2;
 +
      text-align:center;
 +
      }
 +
table.prettytable caption {
 +
      margin-left:inherit;
 +
      margin-right:inherit;
 
       }
 
       }

Latest revision as of 12:35, 4 May 2009

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

/* Table with 1px borders */
table.prettytable {
      margin:1em 1em 1em 0;
      background:#F9F9F9;
      border:1px #AAA solid;
      border-collapse:collapse;
      }
table.prettytable th, table.prettytable td {
      border:1px #AAA solid;
      padding:0.2em;
      }
table.prettytable th {
      background:#F2F2F2;
      text-align:center;
      }
table.prettytable caption {
      margin-left:inherit;
      margin-right:inherit;
      }