Difference between revisions of "MediaWiki:Common.css"

From Disobiki
Jump to navigation Jump to search
Line 171: Line 171:
 
div.achievement .achievement-points {
 
div.achievement .achievement-points {
 
  float: right;
 
  float: right;
font-size: 200%;
 
 
  font-weight: bold;
 
  font-weight: bold;
 
}
 
}

Revision as of 07:57, 11 February 2012

/* 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.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),
div.achievement:nth-child(odd) {
 background: #e3e3e3;
}

table.wikitable tr:nth-child(even),
div.achievement: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;
}

table#game-center-achievements td {
 text-align: center;
}

table#game-center-achievements .name {
 text-align: left;
}

table#game-center-achievements .link {
 width: 50px;
}

table#game-center-achievements .count {
 width: 115px;
}

table#game-center-achievements .points {
 width: 70px;
}

table#game-center-achievements .rating {
 width: 115px;
}

.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: 150%;
  margin: auto;
  text-align: center;
  width: 96%;
}

div.achievement {
 border: 1px solid rgb(235,235,235);
 margin: 0.2em 1.5em;
 padding: 0.4em;
}

div.achievement .achievement-row {
 clear: both;
}

div.achievement .achievement-name {
 float: left;
 font-weight: bold;
}

div.achievement .achievement-points {
 float: right;
 font-weight: bold;
}

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