MediaWiki:Common.css

MediaWiki interface page
Revision as of 04:48, 20 January 2024 by Lionir (talk | contribs) (Collapseable infobox thanks to https://radcare.ca/index.php?title=User:TheEvilSkeleton)

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
.infobox {
  border-radius:var(--border-radius--medium);
  background-color:var(--color-surface-2);
  padding: 20px
}
.infobox-title {
  color:var(--color-base--emphasized);
  font-weight:var(--font-weight-semibold);
  font-size:calc(var(--font-size-h3)*1.5);
  text-align:center
}
.infobox-image {
  max-width:100%;
  height:auto
}

.infobox-table td {
  padding-block:3px;
}
.infobox-table th {
  color:var(--color-base--subtle);
  font-weight:var(--font-weight-semibold);
  text-align:left;
  padding-right: 15px
}

.citizen-section-collapsible {
  margin-top: 1em;
  display: grid;
  gap: 0 1em;
}

@media screen and (min-width:720px) {
  .citizen-section-collapsible {
    grid-auto-flow: column;
  }

  .citizen-section-collapsible > :last-child {
    order: -1;
  }
}