Last modified on August 20, 2007, at 20:11

MediaWiki:Common.css

This is an old revision of this page, as edited by Ymmotrojam (Talk | contribs) at 20:11, August 20, 2007. It may differ significantly from current revision.

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>
*/

/* Don't display some stuff on the main page */
body.page-Main_Page #lastmod, 
body.page-Main_Page #siteSub, 
body.page-Main_Page #contentSub, 
body.page-Main_Page h1.firstHeading {
    display: none !important;
}

body {background: #f7f7f7}

/*****
** Table formatting
*****/
   table.wikitable,
   table.prettytable {
      margin:1em 1em 1em 0;
      background:#F9F9F9;
      border:1px #AAA solid;
      border-collapse:collapse;
      }

   table.wikitable th, table.wikitable td,
   table.prettytable th, table.prettytable td {
      border:1px #AAA solid;
      padding:0.2em;
      }

   table.wikitable th,
   table.prettytable th {
      background:#F2F2F2;
      text-align:center;
      }

   table.wikitable caption,
   table.prettytable caption {
      margin-left:inherit;
      margin-right:inherit;
      }

/* Coloured watchlist numbers */
.mw-plusminus-pos {
  color:darkgreen;
}

/* .mw-plusminus-null currently at developer default */

.mw-plusminus-neg {
  color:darkred;
}

.dablink {
  font-style:italic;
  padding-left:2em;
}

/* make the list of references look smaller */
ol.references {
   font-size: 100%;
}
 
.references-small { font-size: 90%;}
 
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
  font-size: 90%;
  -moz-column-count:2;
  -webkit-column-count:2;
  column-count:2;
}
 
.same-bg { background: none }
 
/* Highlight clicked reference in blue to help navigation */
 
ol.references > li:target {
 background-color: #DEF;
}
 
sup.reference:target { 
  background-color: #DEF;
}
 
/* Styling for Citations */
 
cite {
    font-style: normal;
}
 
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
 
cite:target { 
  background-color: #DEF;
}

/* Style for horizontal UL lists */
.horizontal ul {
  padding: 0;
  margin: 0;
}
 
.horizontal li { 
  padding: 0 0.6em 0 0.4em;
  display: inline;
  border-right: 1px solid;
}
 
.horizontal li:last-child {
  border-right: none;
  padding-right: 0;
}

/*****

/*
</pre>
*/