MediaWiki:Common.css

From Disobiki
Revision as of 20:19, 24 September 2010 by Morbus Iff (talk | contribs)
Jump to navigation Jump 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: 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 */

#content, #firstHeading {
  padding-top: 0.4em; /* google ads buffer */
}

.page-Main_Page #firstHeading {
  display: none;
}

table.gallery {
  border: 0;
  width: 100%;
}

table.gallery td .gallerybox {
  margin: auto;
}

table.wikitable,
table.sortable {
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
  margin: 1em 1em 1em 0;
}

table.wikitable th,
table.sortable th {
  background: #e9e9e9;
  border: 1px solid rgb(196,196,196);
  padding: 0.2em;
  text-align: center;
  vertical-align: top;
}

table.wikitable tr:nth-child(odd),
table.sortable tr:nth-child(odd) {
  background: #f1f1f1;
}

table.wikitable tr:nth-child(even),
table.sortable tr:nth-child(even) {
  background: #cc9999;
}

table.wikitable tr.secret:nth-child(odd),
table.sortable tr.secret:nth-child(odd) {
  background: #ffcccc;
}

table.wikitable tr.secret:nth-child(even),
table.sortable tr.secret:nth-child(even) {
  background: #ff9999;
}

table.wikitable tr, table.wikitable td,
table.sortable tr, table.sortable td {
  border: 1px solid rgb(235,235,235);
  padding: 0.2em;
  vertical-align: top;
}

table.wikitable caption,
table.sortable caption {
  font-weight: bold;
  margin-left: inherit;
  margin-right: inherit;
}

table.wikitable code,
table.sortable code {
  background-color: transparent;
}

.collapseButton {
  float: right;
  font-weight: normal;
  text-align: right;
  width: auto;
}

.infobox {
  background: #eff0ff;
  border: 1px solid #b5b7cf;
  clear: none;
  float: right;
  margin: 0 1em 1em 1em;
  padding: 0.8em;
  text-align: center;
  width: 235px;
}

.infobox .floatright {
  margin: 0;
}

.infobox .title {
  font-size: 125%;
  font-weight: bold;
  margin: auto;
}

.infobox table {
  background: transparent;
  font-size: 90%;
  width: 100%;
}

.infobox table .section {
  background: #ccf;
}

.infobox table .section th {
  text-align: center !important;
}

.infobox table th {
  text-align: left;
  vertical-align: top;
  width: 100px;
}

.infobox table td {
  text-align: left;
  vertical-align: top;
}

.pageflipper {
  margin-top: 2em;
  text-align: center;
}

.pageflipper .glyph {
  font-size: 4em;
}

.pageflipper .glyph a:hover {
  text-decoration: none;
}

.pageflipper .prev {
  float: left;
}

.pageflipper .next {
  float: right;
}

.references-small {
 font-size: 75%;
}

.spoiler {
 display: inline;
}

.spoiler-data {
 display: none;
 font-style: italic;
}

.spoiler-click {
 color: #002BB8;
 cursor: pointer;
}

#footer-icon-poweredby {
 display: none;
}