Difference between revisions of "MediaWiki:Common.css"

From Fritipedia
Jump to navigationJump to search
(Undo revision 379 by Dickie (Talk))
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
+
/* wikitable/prettytable class for skinning normal tables */
/***** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS *****/
 
 
/* Wikitable (Prettytable) class for skinning normal tables */
 
 
table.wikitable,
 
table.wikitable,
 
table.prettytable {
 
table.prettytable {
  margin: 1em 1em 1em 0;
+
    margin: 1em 1em 1em 0;
  background: #f9f9f9;
+
    background: #f9f9f9;
  border: 1px #aaaaaa solid;
+
    border: 1px #aaa solid;
  border-collapse: collapse;
+
    border-collapse: collapse;
  empty-cells:show;
 
 
}
 
}
table.wikitable th, table.wikitable td,
+
.wikitable th, .wikitable td,
table.prettytable th, table.prettytable td {
+
.prettytable th, .prettytable td {
  border: 1px #aaaaaa solid;
+
    border: 1px #aaa solid;
  padding: 0.2em 0.4em;
+
    padding: 0.2em;
 
}
 
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
+
.wikitable th,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
+
.prettytable th {
  background: #8da7d6;
+
    background: #f2f2f2;
  text-align: center;
+
    text-align: center;
 
}
 
}
table.wikitable td.hl1, table.wikitable th.hl1,
+
.wikitable caption,
table.prettytable td.hl1, table.wikitable th.hl1 {
+
.prettytable caption {
  background: #c5d8fc;
+
    margin-left: inherit;
  text-align: center;
+
    margin-right: inherit;
}
+
    font-weight: bold;
table.wikitable td.hl2, table.wikitable th.hl2,
 
table.prettytable td.hl2, table.wikitable th.hl2 {
 
  background: #a7c1f2;
 
  text-align: center;
 
}
 
table.wikitable caption,
 
table.prettytable caption {
 
  margin-left: inherit;
 
  margin-right: inherit;
 
  font-weight: bold;
 
 
}
 
}

Revision as of 18:05, 14 November 2008

/* 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 {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}