MediaWiki:Common.css: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
add shorted class name for hiddenStructure: .if {display: none}, for convenience, uniformity and comparison
copied from talk page per request of omegatron
Line 2: Line 2:


.if {display: none}
.if {display: none}


/* wikitable/prettytable class for skinning normal tables */

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

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}

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

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

Revision as of 16:35, 6 February 2006

.hiddenStructure {display: none}

.if {display: none}


/* wikitable/prettytable class for skinning normal tables */

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

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

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

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