From Wiki
Revision as of 06:24, 2 August 2012 by Deoren (talk | contribs) (Testing some CSS rules found at
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

 * Using images included with MediaWiki installation, but
 * using some ideas gained from

 * Selector chaining tip from
 * specifically,

.callout {
    padding: 1em 1em 1em 3em;
    min-height: 28px;
    display: inline-block;
    color: black;
    margin: 1em;
    font: normal bold larger sans-serif;
} {
    background: #F0F0E7  url(/skins/common/images/info-32.png) no-repeat 0.5em 1em;

.callout.warning {
    background: #F0CF69  url(/skins/common/images/warning-32.png) no-repeat 0.5em 1em;

.callout.error {
    background: black url(/skins/common/images/critical-32.png) no-repeat 0.5em 1em;
    color: white;

 * Trying to merge this rule with the existing one to prevent the font from being so small
 */ {
    font-size: 1.2em;

/* Borrowing some rules from */

#bodycontent .directive-ref-table {
    font-size: 95%;
    margin: 0em 1em 1em 1em;
    border-color: #ccc;
    border-width: 5px 0px;

#bodycontent .directive-ref-table td {
    padding: 0.5em 1em;
    border: none;

#bodycontent .directive-ref-table .drt-td2 {
    text-align: left;
    width: 500px;

#bodycontent .modules-index-table {
    font-size: 95%;
    margin: 1em;
    border-color: #ddd;
    border-width: 5px 0px;

#bodycontent .modules-index-table td {
    padding: 4px;