MediaWiki:Common.css: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
m (try another idea)
m (remove nowiki tags)
Line 1: Line 1:
/** CSS placed here will be applied to all skins */
/** CSS placed here will be applied to all skins */


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


Line 32: Line 32:
}
}


</nowiki></pre>
</pre>

Revision as of 19:46, 2 July 2007

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

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

  table.wikitable,
  table.prettytable {
      cellspacing:0 !important;
      margin:1em 1em 1em 0;
      background:#00FF00;
      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;
      }

</pre>