MediaWiki:Common.css

From AmiaWiki
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
/** CSS placed here will be applied to all skins */
/*****
** Wikitable table class
*****/
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;
  font-weight: bold;
}

/*****
** Compatibility list table class
*****/
table.compatibilitytable,
table.compattable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px black solid;
}

table.compatibilitytable th, table.compatibilitytable td,
table.compattable th, table.compattable td {
  padding: 0.1em;
}

table.compatibilitytable th,
table.compattable th {
  border: 1px #aaa solid;
  background: #f2f2f2;
  text-align: center;
}

/*</pre>*/

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