No edit summary |
(Fix fields not using entire width on mobile) |
||
Line 31: | Line 31: | ||
border-bottom: 1px solid #eee; | border-bottom: 1px solid #eee; | ||
position: relative; | position: relative; | ||
padding: 0.2rem 6.4rem !important; | padding: 0.2rem 0.2rem 0.2rem 6.4rem !important; | ||
} | } | ||
Latest revision as of 11:20, 21 January 2025
@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(2)) { 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 0.2rem 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: "Stocks"; } table.sf6-combotable td:nth-last-of-type(5):before { content: "Drive Gauge"; } table.sf6-combotable td:nth-last-of-type(4):before { content: "Super Gauge"; } table.sf6-combotable td:nth-last-of-type(3):before { content: "Difficulty"; } table.sf6-combotable td:nth-last-of-type(2):before { content: "Notes"; } table.sf6-combotable td:nth-last-of-type(1):before { content: "Video"; } }