Jump to content

MediaWiki:Common.css: Difference between revisions

From Corroborators
No edit summary
No edit summary
Line 39: Line 39:
   overflow: hidden;
   overflow: hidden;
   display: block;
   display: block;
   max-width: 180px;
   max-width: 140px;
}
}

Revision as of 00:01, 5 February 2026

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

.infobox {
  float: right;
  clear: right;
  width: 320px;
  margin: 0 0 1em 1em;
  border: 1px solid #a2a9b1;
  background: #f8f9fa;
  font-size: 0.9em;
}

.infobox-title {
  padding: 0.5em 0.75em;
  font-weight: 700;
  border-bottom: 1px solid #a2a9b1;
}

.infobox-table {
  width: 100%;
  border-collapse: collapse;
}

.infobox-table th,
.infobox-table td {
  padding: 0.4em 0.6em;
  vertical-align: top;
  border-top: 1px solid #eaecf0;
}

.infobox-table th {
  text-align: left;
  white-space: nowrap;
  width: 35%;
}

.infobox code {
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
  max-width: 140px;
}