MediaWiki:Common.css

From Twinsuniverse
Revision as of 13:39, 4 July 2007 by Morshem (Talk)

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: Clear the cache in Tools → Preferences
<pre>/** CSS placed here will be applied to all skins */

table.diff
{
    padding: 0.5em;
}
td.diff-addedline
{
    background-color: #D8E4F6; 
}
td.diff-addedline span.diffchange
{
    background-color: #B0C0F0;
    color: #001040;
    font-weight: bold;
}
td.diff-deletedline
{
    background-color: #E4F6D8;
}
td.diff-deletedline span.diffchange
{
    background-color: #B0E897;
    color: #104000;
    font-weight: bold;
}


  /* Colour of pseudo NS Special (light grey) */
 
 .ns--2 #content, .ns--2 #p-cactions li, .ns--2 #p-cactions li a { background: #f4f4f4; }
 .ns--2 div.thumb { border-color: #f4f4f4; } 
 
 /* Colour of NS Project + Project_talk (light sky blue) */
 
 .ns-4 #content, .ns-4 #p-cactions li, .ns-4 #p-cactions li a { background: #f8fcff; }
 .ns-4 div.thumb { border-color: #f8fcff; } 
 
 .ns-5 #content, .ns-5 #p-cactions li, .ns-5 #p-cactions li a { background: #f8fcff; }
 .ns-5 div.thumb { border-color: #f8fcff; }
 
 /* Colour of NS MediaWiki + MediaWiki_talk (light grey) */
 
 .ns-8 #content, .ns-8 #p-cactions li, .ns-8 #p-cactions li a { background: #f4f4f4; }
 .ns-8 div.thumb { border-color: #f4f4f4; } 
 
 .ns-9 #content, .ns-9 #p-cactions li, .ns-9 #p-cactions li a { background: #f4f4f4; }
 .ns-9 div.thumb { border-color: #f4f4f4; }
 
 /* Blue border for Public Domain namespaces.  This is currently NS Help (but NOT Help_talk) */
 
 .ns-12 #content { 
    border: 2px solid #0000CC; border-right: none; 
 
    background-image: url(http://upload.wikimedia.org/wikipedia/mediawiki/b/b8/PD-banner.png);
    background-repeat: no-repeat;
    background-position: right top;
  }
 
  .ns-12 #bodyContent {
    background-image: url(http://upload.wikimedia.org/wikipedia/mediawiki/6/67/PD-icon-faded.png);
    background-repeat: no-repeat;
    background-position: right 5em;
  }
 
 /* Colour of NS Manual + Manual_talk (light bluish violet) */
 
 .ns-100 #content, .ns-100 #p-cactions li, .ns-100 #p-cactions li a { background: #f3f3ff; }
 .ns-100 div.thumb { border-color: #f3f3ff; } 
 
 .ns-101 #content, .ns-101 #p-cactions li, .ns-101 #p-cactions li a { background: #f3f3ff; }
 .ns-101 div.thumb { border-color: #f3f3ff; }
 
 /***** BACKGROUND AND BORDER COLORS FOR CONTENT  *****/
 
 /* Border colors */
 
 .borderc1 { border-color: #e9e9e9; border-width:thin; }  /* light grey */
 
 .borderc2 { border-color: #aaaaaa; border-width:thin; }  /* grey (as toc) */
 
 .borderc3 { border-color: #777777; border-width:thin; }  /* dark grey */
 
 .borderc4 { border-color: #000000; border-width:thin; }  /* black */
 
 .borderc5 { border-color: #c00000; border-width:thin; }  /* red */
 
 .borderc6 { border-color: #025e9d; border-width:thin; }  /* blue */
 
 .borderc7 { border-color: #008040; border-width:thin; }  /* green */
 
 .borderc8 { border-color: #ffcc00; border-width:thin; }  /* yellow */
 
 /* Background colors */
 
 .backgroundc1 { background-color: #ffffff; }  /* white */
 
 .backgroundc2 { background-color: #f9f9f9; }  /* light grey (as toc)  */
 
 .backgroundc3 { background-color: #eeeeee; }  /* light grey (headers) */ 
 
 .backgroundc4 { background-color: #e0e0e0; }  /* more grey */
 
 .backgroundc5 { background-color: #d2d2d2; }  /* more grey */
 
 .backgroundc6 { background-color: #b7b7b7; }  /* more grey */
 
 .backgroundc7 { background-color: #a3a3a3; }  /* darker grey */
</pre>