MediaWiki:Common.css

From GRFSpecs
Revision as of 21:22, 27 August 2011 by Planetmaker (talk | contribs) (separate style templates for <pre> tag: example, pseudo and small (=max height 200px))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to 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 / Edge: 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 */

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

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

code {
    color: darkgreen;
}

pre {
    color: black;
    white-space: pre-wrap
}
pre.example {
    color: darkblue;
}
pre.pseudo {
    color: black;
}
pre.small {
   max-height: 200px; 
   overflow:scroll;
}


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