Jump to content

MediaWiki:Common.css: Difference between revisions

From Corroborators
Created page with "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: 1..."
 
No edit summary
Line 33: Line 33:
   white-space: nowrap;
   white-space: nowrap;
   width: 35%;
   width: 35%;
}
.infobox code {
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
  max-width: 180px;
}
}

Revision as of 23:44, 4 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: 180px;
}