Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 6: Line 6:
   max-width: 30em;
   max-width: 30em;
   border-collapse: collapse;
   border-collapse: collapse;
  float: right;
  clear: right;
}
}
.infobox tbody tr {
.infobox tbody tr {

Revision as of 14:44, 12 November 2023

.infobox {
  margin-bottom: var( --space-md );
  background: var( --color-surface-2 );
  border-radius: var( --border-radius--medium );
  display: block;
  max-width: 30em;
  border-collapse: collapse;
  float: right;
  clear: right;
}
.infobox tbody tr {
  border-top: 1px solid var(--border-color-base);
}
.infobox tbody tr:nth-child(1) { border: none; }
.infobox tbody tr * {
  vertical-align: middle;
  padding: var(--space-sm) 0;
}
.infobox tbody tr th {
  width: 40%;
}

.infobox tbody tr td {
  width: 60%;
}