Difference between revisions of "MediaWiki:Common.css"

From TTWiki
Jump to navigationJump to search
(Add AdSense)
(add colours to default code and pre tags)
Line 13: Line 13:
 
border: 1px solid #CCCCCC;
 
border: 1px solid #CCCCCC;
 
padding: 0px 5px;
 
padding: 0px 5px;
  +
}
  +
  +
code {
  +
color: darkgreen;
  +
}
  +
  +
pre {
  +
color: darkblue;
 
}
 
}
   

Revision as of 20:03, 27 August 2011

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

table.wikitable td, th {
    border: 1px solid #CCCCCC;
    padding: 0;
}
table {
    border-collapse: collapse;
    empty-cells: show;
}

td, th {
    border:  1px solid #CCCCCC;
    padding: 0px 5px;
}

code {
    color: darkgreen;
}

pre {
    color: darkblue;
}

/* Pad Google AdSense box in portlet in sidebar */
#p-googleadsense .pBody {
    padding-top: 5px;
    text-align:  center;
}