Difference between revisions of "MediaWiki:Common.css"

From Disobiki
Jump to navigation Jump to search
Line 76: Line 76:
 
   text-align: center;
 
   text-align: center;
 
   width: 235px;
 
   width: 235px;
 +
}
 +
 +
.infobox .floatright {
 +
  margin: 0;
 
}
 
}
  

Revision as of 19:37, 16 September 2010

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

.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: #f9f9f9;
}

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: 90%;
}

#footer {
  height: 26px;
}

#footer ul {
  margin-top: 0.8em;
}

#footer img {
  margin-top: 4px;
}