-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/tables.css?<?php echo $GLOBALS['wgStyleVersion'] ?>"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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