MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 99: Line 99:
/* Big Tables */
/* Big Tables */
.bigtable {
.bigtable {
  border: 1px solid #aaa;
   color: black;
   color: black;
   margin-bottom: 0.5em;
   margin-bottom: 0.5em;
Line 108: Line 107:
   background-color: #f9f9f9;
   background-color: #f9f9f9;
   font-size: 14px;
   font-size: 14px;
  vertical-align: top;
}
}
.bigtable td,
.bigtable td {
.bigtable th {
   vertical-align: top;
   vertical-align: top;
  margin: 0 10px;
}
}

Revision as of 22:17, 7 May 2007

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

/* wikitable/prettytable class for skinning normal tables <pre>*/

table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
  vertical-align:top;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
  vertical-align:top;
}

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

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

/* Messagebox templates */

.messagebox {
   border: 1px solid #aaa;
   background-color: #f9f9f9;
   width: 80%;
   margin: 0 auto 1em auto;
   padding: .2em;
}
.messagebox.merge {
   border: 1px solid #c0b8cc;
   background-color: #f0e5ff;
   text-align: center;
}
.messagebox.cleanup {
   border: 1px solid #9f9fff;
   background-color: #efefff;
   text-align: center;
}
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
}
.messagebox.nested-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
   width: 100%;
   margin: 2px 4px 2px 4px;
}


/* Infobox template style */

.infobox {
   border: 1px solid #aaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
   font-size: 11px;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/* Big Tables */
.bigtable {
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
}
.bigtable th {
   background-color: #f9f9f9;
   font-size: 14px;
   vertical-align: top;
}
.bigtable td {
   vertical-align: top;
   margin: 0 10px;
}