MediaWiki:Gadget-Synovial-joints-table.css: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
width: 260px; | width: 260px; | ||
order: 0; | order: 0; | ||
} | |||
#synovial-joints thead .sorting { | |||
background-position: 0 50%; | |||
} | } | ||
#synovial-joints thead tr { | #synovial-joints thead tr { |
Revision as of 19:08, 1 May 2022
#synovial-joints {
display: flex;
}
#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;
}
#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;
}
#synovial-joints td:empty {
display: none;
}
#synovial-joints tr td:not(:first-of-type) b {
flex-basis: 120px;
min-width: 120px;
}