MediaWiki:Gadget-Synovial-joints-table.css

From WikiMSK

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.
#synovial-joints {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
#synovial-joints thead {
  width: 260px;
  order: 0;
}
#synovial-joints thead .sorting {
  background-position: 0 50%;
}
#synovial-joints thead tr {
  display: flex;
  flex-direction: column;
}
#synovial-joints thead tr th {
	border: 0 !important;
}
#synovial-joints tbody {
  display: flex;
  flex-direction: column;
  width: calc(100% - 260px);
  order: 1;
}
@media only screen and (max-width: 1000px) {
  #synovial-joints tbody {
    width: 100%;
  }
}

#synovial-joints tbody tr {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
  border: 1px solid #aaa;
  padding: 6px;
  margin-bottom: 1rem;
}
#synovial-joints td {
  padding: 4px 1rem;
  display: flex;
  gap: 2px;
}
#synovial-joints td:empty {
  display: none;
}
#synovial-joints tr td:not(:first-of-type) b {
  flex-basis: 120px;
  min-width: 120px;
}