Skip to content

Instantly share code, notes, and snippets.

@solarce
Created December 10, 2010 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save solarce/88f35f1481932ef9a269 to your computer and use it in GitHub Desktop.
Save solarce/88f35f1481932ef9a269 to your computer and use it in GitHub Desktop.
Improved CSS for Mediawiki Tables, assumes the daddio theme is installed and you've edited skins/Daddio.php and added the snippet below
<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/tables.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";
table
{ text-align: center;
font-family: Verdana;
font-weight: normal;
font-size: 11px;
color: #404040;
padding: 10px;
background-color: #BEC8D1;
border: 1px #6699CC solid;
border-collapse: collapse;
border-spacing: 0px; }
td.helpHed
{ border-bottom: 2px solid #6699CC;
border-left: 1px solid #6699CC;
background-color: #BEC8D1;
text-align: left;
text-indent: 5px;
font-family: Verdana;
font-weight: bold;
font-size: 11px;
padding-left: 20px;
padding-right: 20px;
color: #404040; }
td
{ border-bottom: 1px solid #9CF;
border-top: 0px;
border-left: 1px solid #9CF;
border-right: 0px;
text-align: left;
padding-left: 20px;
padding-right: 20px;
font-family: Verdana, sans-serif, Arial;
font-weight: normal;
font-size: 11px;
color: #404040;
background-color: #fafafa; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment