Jump to content

MediaWiki:Common.css

From Corroborators
Revision as of 01:13, 5 February 2026 by Embedding-shapes (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;
}

/* email styling */

.email {
  margin: 0.75em 0;
}

.email + .email {
  margin-top: 1.0em;
  padding-top: 1.0em;
  border-top: 1px solid #e5e7eb;
}

.email-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  overflow: hidden;
}

.email-header td {
  padding: 0.6em 0.8em;
  vertical-align: top;
  border-bottom: 1px solid #e5e7eb;
}

.email-hcell {
  width: 33.33%;
}

.email-label {
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.2em;
}

.email-value {
  font-size: 0.95em;
  color: #111827;
  word-break: break-word;
}

.email-body {
  padding: 0.9em 0.8em;
  background: #ffffff;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}