From WikiTemp, the GBAtemp wiki
m (Experimenting - this should enable text within <pre> tags to wrap if need be)
Line 7: Line 7:
 
table.wikitable,
 
table.wikitable,
 
table.prettytable {
 
table.prettytable {
  margin: 1em 1em 1em 0;
+
    margin: 1em 1em 1em 0;
  background: #f9f9f9;
+
    background: #f9f9f9;
  border: 1px #aaa solid;
+
    border: 1px #aaa solid;
  border-collapse: collapse;
+
    border-collapse: collapse;
 
}
 
}
 
+
 
table.wikitable th, table.wikitable td,
 
table.wikitable th, table.wikitable td,
 
table.prettytable th, table.prettytable td {
 
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
+
    border: 1px #aaa solid;
  padding: 0.2em;
+
    padding: 0.2em;
 
}
 
}
 
+
 
table.wikitable th,
 
table.wikitable th,
 
table.prettytable th {
 
table.prettytable th {
  background: #f2f2f2;
+
    background: #f2f2f2;
  text-align: center;
+
    text-align: center;
 
}
 
}
 
+
 
table.wikitable caption,
 
table.wikitable caption,
 
table.prettytable caption {
 
table.prettytable caption {
  margin-left: inherit;
+
    margin-left: inherit;
  margin-right: inherit;
+
    margin-right: inherit;
  font-weight: bold;
+
    font-weight: bold;
 
}
 
}
 +
 +
table.prettytable code,
 +
table.wikitable code {
 +
    background-color: transparent;
 +
}
 +
  
 
/*****
 
/*****

Revision as of 02:55, 1 March 2008

/*<pre>*/
/** CSS placed here will be applied to all skins */
 
/*****
** Wikitable table class
*****/
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
    border: 1px #aaa 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;
    font-weight: bold;
}
 
table.prettytable code,
table.wikitable code {
    background-color: transparent;
}
 
 
/*****
** Compatibility list table class
*****/
table.compatibilitytable,
table.compattable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px black solid;
}
 
table.compatibilitytable th, table.compatibilitytable td,
table.compattable th, table.compattable td {
  padding: 0.1em;
}
 
table.compatibilitytable th,
table.compattable th {
  border: 1px #aaa solid;
  background: #f2f2f2;
  text-align: center;
}
 
/*****
** Experimental browser specific styles to make preformatted text wrap
*****/
pre { 
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
 
/*</pre>*/