Difference between revisions of "MediaWiki:Common.css"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
Line 81: Line 81:
  
 
.MainPageBox-shiftimage img {
 
.MainPageBox-shiftimage img {
   transform: translateY(-50%);
+
   transform: translateY(-25%);
 
}
 
}

Revision as of 09:04, 26 June 2018

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

@import url('https://fonts.googleapis.com/css?family=Podkova:400,700&subset=latin-ext');

div#footer #footer-icons li {
  margin-left: 0;
}

div#footer #footer-icons li a {
  margin-left: 0.5em;
}

.infobox {
  background: #eee;
  border: 1px solid #aaa;
  float: right;
  margin: 0 0 1em 1em;
  padding: 1em;
  width: 300px;
}
.infobox-title {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}
.infobox-image {
  text-align: center;
}
.infobox th {
  text-align: right;
  vertical-align: top;
  width: 120px;
}
.infobox td {
  vertical-align: top;
}

table.ambox {
  border: 1px solid #a2a9b1;
  border-left: 10px solid #ff8319;
  background: #fbfbfb
}
table.ambox-content {
  border-left: 10px solid #f28500;
}
.mbox-small-left {
  margin: 4px 1em 4px 0;
  box-sizing: border-box;
  overflow: hidden;
  width: 238px;
  border-collapse: collapse;
  font-size: 88%;
  line-height: 1.25em;
}
.ambox th.mbox-text,
.ambox td.mbox-text {
  padding: 0.25em 0.5em;
  width: 100%;
  border: none;
}

/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS).
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
  display: none;
}


.MainPageBox-link a {
  color: #fff !important;
}

.MainPageBox-shiftimage img {
  transform: translateY(-25%);
}