Difference between revisions of "MediaWiki:Common.css"

From Disobiki
Jump to navigation Jump to search
Line 15: Line 15:
 
table.wikitable th,
 
table.wikitable th,
 
table.sortable th {
 
table.sortable th {
  background: #e9e9e9;
+
  background: #d9d9d9;
 
  border: 1px solid rgb(196,196,196);
 
  border: 1px solid rgb(196,196,196);
 
  padding: 0.2em;
 
  padding: 0.2em;
 
  text-align: center;
 
  text-align: center;
 
  vertical-align: top;
 
  vertical-align: top;
 +
}
 +
 +
table.wikitable tr:nth-child(odd) {
 +
background: #e3e3e3;
 +
}
 +
 +
table.wikitable tr:nth-child(even) {
 +
background: #f2f2f2;
 
}
 
}
  

Revision as of 11:54, 26 June 2014

/* CSS placed here will be applied to all skins */

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

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: #d9d9d9;
 border: 1px solid rgb(196,196,196);
 padding: 0.2em;
 text-align: center;
 vertical-align: top;
}

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

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

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

table#death-sleaze-index td {
  padding: 0.4em;
}

table#death-sleaze-index img {
  border: 1px solid #000;
}

table#death-sleaze-index .indexed {
  color: green;
  text-align: right;
}

table#death-sleaze-index .unindexed {
  color: red;
  text-align: right;
}

.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 .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;
}

.infobox.game.horizontal {
  float: none;
  font-size: 1.4em;
  margin: auto;
  margin-bottom: 0.8em;
  text-align: center;
  width: 96%;
}

.infobox.game.horizontal ul {
  display: inline;
}

.infobox.game.horizontal li {
  display: inline;
  padding-right: 0.8em;
}

.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;
}