(fit to width for all columns except notes. Less combo wrapping) |
No edit summary |
||
Line 1: | Line 1: | ||
@media not screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { | @media not screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { | ||
table.sf6-combotable td:not(:nth-of-type( | table.sf6-combotable td:not(:nth-last-of-type(1)) { | ||
width: 1%; | width: 1%; | ||
white-space: nowrap; | white-space: nowrap; |
Revision as of 17:07, 7 December 2023
@media not screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { table.sf6-combotable td:not(:nth-last-of-type(1)) { width: 1%; white-space: nowrap; } } @media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { table.sf6-combotable, table.sf6-combotable td, table.sf6-combotable tbody, table.sf6-combotable th, table.sf6-combotable td, table.sf6-combotable tr { display: block; } .sf6-combotable-header { position: absolute; top: -9999px; left: -9999px; } table.sf6-combotable tr { margin: 0; } table.sf6-combotable tr:nth-child(even) { background: #00008B !important; } table.sf6-combotable td { border: none; border-bottom: 1px solid #eee; position: relative; padding: 0.2rem 6.4rem !important; } table.sf6-combotable td:before { position: absolute; top: 0; left: 6px; width: 45%; padding-right: 20px; white-space: nowrap; } table.sf6-combotable td:empty::after{content:'\00a0';visibility:hidden} table.sf6-combotable td:nth-of-type(1):before { content: "Combo"; } table.sf6-combotable td:nth-of-type(2):before { content: "Position"; } table.sf6-combotable td:nth-of-type(3):before { content: "Damage"; } table.sf6-combotable td:nth-of-type(4):before { content: "Drive Gauge"; } table.sf6-combotable td:nth-of-type(5):before { content: "Super Gauge"; } table.sf6-combotable td:nth-of-type(6):before { content: "Difficulty"; } table.sf6-combotable td:nth-of-type(7):before { content: "Notes"; } table.sf6-combotable td:nth-of-type(8):before { content: "Video"; } }