Difference between revisions of "MediaWiki:Common.css"

From Disobiki
Jump to: navigation, search
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 
#content, #firstHeading {
 
padding-top: 0.4em; /* google ads buffer */
 
}
 
  
 
.page-Main_Page #firstHeading {
 
.page-Main_Page #firstHeading {
Line 26: Line 22:
 
}
 
}
  
table.wikitable tr:nth-child(odd),
+
table.wikitable tr:nth-child(odd) {
div.achievement:nth-child(odd) {
+
 
  background: #e3e3e3;
 
  background: #e3e3e3;
 
}
 
}
  
table.wikitable tr:nth-child(even),
+
table.wikitable tr:nth-child(even) {
div.achievement:nth-child(even) {
+
 
  background: #f2f2f2;
 
  background: #f2f2f2;
 
}
 
}
Line 129: Line 123:
 
   text-align: center;
 
   text-align: center;
 
   width: 96%;
 
   width: 96%;
 +
}
 +
 +
.infobox.game.horizontal img {
 +
  float: left;
 +
  vertical-align: middle;
 
}
 
}
  
Line 138: Line 137:
 
   display: inline;
 
   display: inline;
 
   padding-right: 0.8em;
 
   padding-right: 0.8em;
}
 
 
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;
 
 
}
 
}
  

Revision as of 10:08, 16 October 2013

/* 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 img {
  float: left;
  vertical-align: middle;
}

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